Open in app

Sign in

Write

Sign in

Praj Basnet
Praj Basnet

1 follower

Home

About

Git pull and automatically detect the current branch

Handy little shortcut I use when I run git pull so I don’t have to specify the current branch.

Nov 26, 2020
Git pull and automatically detect the current branch
Git pull and automatically detect the current branch
Nov 26, 2020

Remove multiple deleted files in git

Sometimes when you are committing changes in git you’ll find that a number of files have been deleted.

Nov 26, 2020
Remove multiple deleted files in git
Remove multiple deleted files in git
Nov 26, 2020

Batch undo git modifications

The following command can be used to find and checkout (undo) all files with modifications.

Nov 26, 2020
Batch undo git modifications
Batch undo git modifications
Nov 26, 2020

PHP error logging checklist

Here’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, 2020
PHP error logging checklist
PHP error logging checklist
Nov 26, 2020

MySQL Group Concat Function

The group_concat() function concatenates all rows that match your group by statement into a single, comma separated string.

Nov 26, 2020
MySQL Group Concat Function
MySQL Group Concat Function
Nov 26, 2020

MySQL / MariaDB Storage Engine

Commands to determine the storage engine being used in MySQL and MariaDB.

Nov 25, 2020
MySQL / MariaDB Storage Engine
MySQL / MariaDB Storage Engine
Nov 25, 2020

Allow PHP in HTML files to execute

Allow PHP to execute in HTML files using .htaccess config on Apache servers.

Nov 25, 2020
Allow PHP in HTML files to execute
Allow PHP in HTML files to execute
Nov 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, 2020
Find and remove specific files via the command line.
Find and remove specific files via the command line.
Nov 24, 2020

Make sure your data conversion SQL is easily identifiable/reversible

Think about how you can tag any SQL data changes you make so they are identifiable and reversible.

Nov 22, 2020
Make sure your data conversion SQL is easily identifiable/reversible
Make sure your data conversion SQL is easily identifiable/reversible
Nov 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, 2020
Put files/folders you delete using rm into your Mac Trash Bin.
Put files/folders you delete using rm into your Mac Trash Bin.
Nov 22, 2020
Praj Basnet

Praj Basnet

1 follower

Help

Status

About

Careers

Press

Blog

Privacy

Rules

Terms

Text to speech