Date and time is useful. You might want your script to check if it is Monday today, or if the
Category: bash
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
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
Finding spam users
We had a lot of spam users in our multisite wordpress system. This was because we had self-registration enabled for
WordPress Brute Force attack spring 2013
For those who are running a WordPress site today at May 2013, you should know about this on-going BruteForce attack
patching two files
I had two files that both contained lines that I needed. The final result I wanted was a file called