Articles

Reset the Remote Repo to match your local repo after a bad merge

If you have merged in code from a Fork and wanted to undo the merge. Please follow the following steps. Reset your local repo ( this will rollback the head by 2 commits) git reset
Read More

Credit card testing numbers

Can be used when application or module is in testing mode. Credit Card Type Credit Card Number American Express 378282246310005 American Express 371449635398431 American Express
Read More

Functions used on Blog post (home.php) pages

Post title <?php the_title(); ?> Post content <?php the_content(); ?> Post excerpt <?php the_exerpt(); ?> Post Category <?php the_category(', '); ?> The
Read More

Git Revert

Revert the changes specified by the fourth last commit in HEAD and create a new commit with the reverted changes. git revert
Read More

Create a directory

Use the following code to create a directory in
Read More

Remove or delete a file or directory

remove a file $ rm filename.txt remove a directory or folder $ rm -rf folder
Read More