Notepad++ has become my favorite editor when coding PHP or XML. It just has so many useful little features. You can have all of the documents you need opened in one window and separated with tabs. You can have a 2nd workspace hidden within the same window, which is great when you [...]
Here is a script I wrote to keep 2 or more web sites in sync. The data files can be anything under the data tree.
The database is MySQL.
The script works by pulling the latest data and database backup from the production server. The script can be placed in a cron.
The DR server user should be [...]
A thread dedicated to those useful Unix commands we all know and love. Ya right.
I need a really tricky find command the other day so I came up with the following. I wanted to save the command some where as it really shows the power of find
Find all files that are not in the [...]
I just helped a friend out with placing a shell variable into a sed command and thought it would be prudent to document it.
This set of commands was to be used to change directory names inside a samba share, hense the directory names of \ and the unix escape needed making a bunch of \\ [...]