There may come a time when you need to hide some sensitive data and send it in a email. Although there are better ways to do this with GPG keys, the old hide the code in some thing else trick is still a good one. The program we will use for this is called steghide. The source and more information can be found here.
I needed to clean up a directory on a server that included numerous directories each with numerous files inside each directory. I decided to write a quick shell script that would archive with tar and then compress with bzip2. The shell script requires you pass in a variable which could technically just be “*” to include all directories in the directory you are running the script from. Below is the content of the script followed by an explanation of each line of the script that will archive and compress numerous directories by looping through each directory to create a .tar.bzip2 file.
On a recent installation of PostgreSQL on CentOS Linux I had some issues after making some configuration changes. I have a basic template of changes I make to Postgres after initial installation and then I restart the PostgreSQL server. This time when restarting Postgres it failed as shown below.
Question Defense uses the WPtouch iPhone Theme WordPress plugin for displaying the site in a user friendly format for mobile devices. This plugin is by far the best mobile theme I have used to date. Not only is it actively developed and constantly improving but it has an amazing admin page for customizing the mobile theme in many ways. I highly suggest this plugin for anyone with WordPress installed.
I have multiple sites I manage that run WordPress so I try to stay up to date on all of them. If you stay on op of upgrading WordPress then most of the updates are fairly easy and don’t require changing that many files. Instead of uploading the entire set of files again it is easiest to simply upload the modified files. This will allow you to not have to make all of your custom modifications again if you have made customizations to any core WordPress files. Customizing core WordPress files is something I try to stay away from but there are definitely situations where I have modified core files to accomplish various goals. Anyhow since I haven’t found a site that keeps a consistant list of changed WordPress files I am going to try to start providing a list for each upgrade on Question Defense from now on.