Git pull and automatically detect the current branchHandy little shortcut I use when I run git pull so I don’t have to specify the current branch.Nov 26, 2020Nov 26, 2020
Remove multiple deleted files in gitSometimes when you are committing changes in git you’ll find that a number of files have been deleted.Nov 26, 2020Nov 26, 2020
Batch undo git modificationsThe following command can be used to find and checkout (undo) all files with modifications.Nov 26, 2020Nov 26, 2020
PHP error logging checklistHere’s a list of things you can check if you aren’t getting anything written to the PHP error log on your server.Nov 26, 2020Nov 26, 2020
MySQL Group Concat FunctionThe group_concat() function concatenates all rows that match your group by statement into a single, comma separated string.Nov 26, 2020Nov 26, 2020
MySQL / MariaDB Storage EngineCommands to determine the storage engine being used in MySQL and MariaDB.Nov 25, 2020Nov 25, 2020
Allow PHP in HTML files to executeAllow PHP to execute in HTML files using .htaccess config on Apache servers.Nov 25, 2020Nov 25, 2020
Find and remove specific files via the command line.Find and remove a specific file in all folders/sub-folders via the command line e.g. .DS_Store files.Nov 24, 2020Nov 24, 2020
Make sure your data conversion SQL is easily identifiable/reversibleThink about how you can tag any SQL data changes you make so they are identifiable and reversible.Nov 22, 2020Nov 22, 2020
Put files/folders you delete using rm into your Mac Trash Bin.Script to add to your .bash_profile to put files you delete with rm into your Mac Trash Bin.Nov 22, 2020Nov 22, 2020