Praj BasnetGit 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.1 min read·Nov 26, 2020----
Praj BasnetRemove multiple deleted files in gitSometimes when you are committing changes in git you’ll find that a number of files have been deleted.1 min read·Nov 26, 2020----
Praj BasnetBatch undo git modificationsThe following command can be used to find and checkout (undo) all files with modifications.1 min read·Nov 26, 2020----
Praj BasnetPHP 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.1 min read·Nov 26, 2020----
Praj BasnetMySQL Group Concat FunctionThe group_concat() function concatenates all rows that match your group by statement into a single, comma separated string.1 min read·Nov 26, 2020----
Praj BasnetMySQL / MariaDB Storage EngineCommands to determine the storage engine being used in MySQL and MariaDB.1 min read·Nov 25, 2020----
Praj BasnetAllow PHP in HTML files to executeAllow PHP to execute in HTML files using .htaccess config on Apache servers.1 min read·Nov 25, 2020----
Praj BasnetFind 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.1 min read·Nov 24, 2020----
Praj BasnetMake 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.2 min read·Nov 22, 2020----
Praj BasnetPut 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.1 min read·Nov 22, 2020----