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

Bootstrap Toggle Adding Dynamic Elements

If you are adding elements to your page dynamically you will may run into issues with Bootstrap Toggle.I was adding toggles, each with uniquie ids.Hopefully this will help;
Rate this blog entry:
Continue reading
83 Hits
0 Comments

MySQL Check All Tables in Database

If you need to check (not repair) all your tables at once , run the following command in your shell;You will be prompted to enter the password.-A means check all databases -c means Click here to view how to repair all tables.
Rate this blog entry:
Continue reading
93 Hits
0 Comments

Why So Small Input Boxes?

Building a website recently I noticed that if I have 'php_flag display_errors on' then all the input boxes on the website appear much smaller. It's almost as if the CSS was broken.. still haven't found a reason why this happens...

Just comment out the .htaccess like below;

#php_flag display_errors on

Rate this blog entry:
Continue reading
104 Hits
0 Comments

PhpMyAdmin Invalid Column Count in CSV input on line 1

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 columns, the first column was `id` an auto-increment field. I omitted this from my CSV file presuming it would be auto geberated but it's not.number of c...
Rate this blog entry:
Continue reading
1575 Hits
0 Comments