Hardware and Software development. 

Git Push Error - 401 Unauthorized While Accessing...

If you have an existing folder that you want to push, the instructions on GitLab are as followscd existing_folder git init git remote add origin https://gitlab.com/username/MyProject.git git add . git commit -m "Initial commit" git push -u origin masterHowever I was receiving the following error;error: The requested URL returned...
Rate this blog entry:
Continue reading
91 Hits
0 Comments

Git Rename Branch Local and Remote Securely

​1. Rename your local branch. If you are on the branch you want to rename: git branch -m new-name 2. Delete the old-name remote branch and push the new-name local branch. git push origin :old-name new-name 3. Reset the upstream branch for the new-name local branch. git push origin -u new-nameThanks to https:/...
Rate this blog entry:
Continue reading
76 Hits
0 Comments

JQuery Validate Single Input on Toggle

In order to validate a single input, use the following function;Be sure to add this inside your change.() event, otherwise it won't work.
Rate this blog entry:
Continue reading
60 Hits
0 Comments

JQuery Validate Multiple Dynamic Inputs

I'm using this great jQuery Validation Plugin to validate my form, and some dynamic inputs that users can add when clicking a button.I add new dynamic inputs and they all share the same name, this is because I want to send these values as an array to PHP. For example;The issue with the validation plugin is that it only validates the first...
Rate this blog entry:
Continue reading
100 Hits
0 Comments

PHP 7.1 with Win 10, XAMPP & SQLSRV Driver

​If you're trying to use XAMPP on Windows and connect to a SQL server using PHP, hopefully the following will help.Firstly download XAMPP for Windows (32 bit). Follower the installer, default options.Then download the Microsoft Drivers 4.3 for PHP for SQL Server.  Extract the contents of this download to your PHP extensions directory...
Rate this blog entry:
Continue reading
7547 Hits
0 Comments