Date and time is useful. You might want your script to check if it is Monday today, or if the
Postgresql 9.1 BACKUP DUMP BASH script
We wrote an improved postgresql dump bash script for Postgresql version 9.1. This one will save each dump file with
Mysql SQL in bash one-liner
If you just need a quick way to get some data from a mysql database in your shell (bash), you
Machform javascript embed form in wordpress post
If one have a form in Machform, one can add the form in a WordPress Post or Page with a
Remove branch in remote git repo
If you have a remote git repo, and you want to delete a branch there, you can do: [bash] #
Move a local git repo to a remote repo
Challenge: one have a local git repo on a Linux server where a big bunch of commit’s have been done.
Check http headers with wget
If you want to see the http headers from your shell, you can do it with: wget –no-check-certificate –server-response
