Hardware and Software development. 

Git - Access denied fatal: Authentication failed for ..

If you receive this error message when tryinf to push / pull / clone, chances are the remote repository is private. In order to overcome this, use the following command; ​$ git clone -b dev https://This email address is being protected from spambots. You need JavaScript enabled to view it./remoteGitAddress/project.git .​ In the code above: -b means clone from the branch named 'dev' . at the end means extract the fold...
Continue reading
  2999 Hits

Git Push Error - 401 Unauthorized While Accessing...

If you have an existing folder that you want to push, the instructions on GitLab are as follows cd 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 master However I was receiving the following error; error: The requested URL r...
Continue reading
  6307 Hits

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-name Thanks to ...
Continue reading
  1181 Hits

JQuery Validate Single Input on Toggle

In order to validate a single input, use the following function; $("#inputName").valid(); Be sure to add this inside your change.() event, otherwise it won't work. $(function() { $('#toggleButton').change(function() { if ($(this).prop('checked') == true) { $("#inputName").valid(); } });})
  882 Hits

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; //HTML<input type="text" name="test[]"><input type="text" nam...
Continue reading
  1034 Hits

Server Side Events with MySQL and PHP

​I wanted to build an application that would display a 'real time' feed of data on my web page. I had access to a MySQL database that contained a 'transactions' table, this table received numerous events every second. I needed to display the transactions in real time (or close enough).  Not only did I need to display the live data, but I also ...
Continue reading
  4003 Hits

Latest Comments

Guest - Susan Hermiston Virtual Hosts
October 7, 2015
Wow 747 just blew me away. Sorry not a tech person at all!! But I still love you!! Rock on!!?
Guest - Johmny Invisible Mouse Cursor Ubuntu & Synergy
September 2, 2015
Glad I was ble to help!
Guest - Kristian Falk Invisible Mouse Cursor Ubuntu & Synergy
September 1, 2015
Thank you for this! Had the exact same problem. I almost went crazy.

Popular Blogs

Blog
Development
This is how to get rid of that popup appearing every time you create your own local extension in Chrome. Create a .bat file and name it `DevWarningPatch.bat`. Save this to the desktop. Add the content...
Blog
Development
​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...
Blog
If you are receiving this error while tryng to import a CSV file, make sure that the number of columns in your CSV matches that of your existing database table. I had an existing table with 10 co...