Git force push to overwrite on remote
git push -f origin myremotebranch git push -f myprivate master:master git push -f
git push -f origin myremotebranch git push -f myprivate master:master git push -f
tail -n +1 filename.txt > filename.txt.new
git reset –hard origin/master
export GIT_SSL_NO_VERIFY=1
<?php dd(\DB::getQueryLog());
<?php error_reporting(-1); ini_set(’display_errors’, ‘On’);
1. Objects should be passed by reference always, arrays and scalars are passed by value. 2. If you are working on a very large array and plan on modifying it inside a function, you actually should use a reference to prevent it from getting copied, which can seriously decrease performance or even exhaust your memory […]
git checkout new-master git branch -m master old-master git branch -m new-master master
php artisan migrate php artisan migrate:rollback
Use convert utility from ImageMagick package /usr/bin/convert *.jpg result.pdf