php mysql update variable

December 4, 2012

Goal: Update wordpress post with PHP cli < ?php $con = mysql_connect("localhost","root","[redacted]"); if (!$con) { echo […]

sed delete all lines after

October 26, 2012

Objective: Prep dev httpd.conf for production Tasks: Remove jenkins virtual host entry (which starts with a […]

mysql insert cdn sync tool

September 19, 2012

To manually update the CDN Sync Tool table (for wordpress plugin CDN Sync Tool) try this […]

redhat add multiple users

September 13, 2012

useradd script to add multiple users to a system and force them to change their password […]

linux unwrap text file

September 13, 2012

I spent forever trying to figure out how to unwrap an apache access_log that was splitting […]

Bash Server Backup Script

July 13, 2012

I’ve created a Bash Server Backup Script that will backup your MySQL databases (each database separately […]

Reset mysql root password

June 27, 2012

To reset the mysql root password follow these steps 1. Stop running mysql instances # service […]

multiple reverse proxy host broken

April 13, 2012

Nathan Bridgewater explained how to configure multiple reverse proxies properly with apache and IIS (without losing […]

copy teamsite user

April 2, 2012

To copy teamsite user permissions i’ve written a python script. You’ll need to replace the path […]