Output of a shell command can be written to a file by using > but if you don’t want to overwrite the contents of the file then you can use >> to write to the end of the file. The below will write the date to a file in /var/log: date > /var/log/currenttime The below…Details
The question is often raised of how to provide a redundant network solution when connecting your leased cabinet or cage to your colocation’s network. This goal can be achieved in numerous ways but most solutions are fairly expensive. Below I list an entry level option to provide network redundancy when connecting to your colo. One…Details
Frequently it is convenient, when testing and debugging (or even just when browsing normally), to purge all of the cookies for a particular site. Although it is possible to do so through FireFox’s cookie manager (accessible through Preferences, Privacy, “Show Cookies”), it is much easier and quicker to use the aptly named [Remove Cookies for…Details
Another item to note is the latest version of WordPress has a bug with the PHP ul function as noted by Michael Visser. This causes the following error to show up:
After installing the wp-forum plugin you may notice that the layout looks out of wack. This could be for numerous issues but one I came across was the fact that after unpacking the plugin on the server the main directory permissions were incorrect. If you chown 775 wp-forum in <web-root>/wp-content/wp-plugins/wp-forum this should resolve your issue.
Checking the number of rows in a PostgreSQL table is very easy. First connect to the database by using pgsql. psql -U postgres -d “database-name” Next use the following command to see the number of rows in a certain table. select count(*) from tablenameDetails
The below explains the steps necessary to redirect all Litespeed HTTP (port 80) traffic to HTTPS (port 443).
I just installed FiveRuns TuneUp it’s great! A small header shows up on all your apps (see attachment). I run it locally only It’s drop dead easy to install: To add TuneUp to your Rails application, install the gem: sudo gem install fiveruns_tuneup Then, for a Rails 2.0.x app, run: fiveruns_tuneup /path/to/rails/app For a Rails…Details
I was unable to import my blogger.com blog into a new WordPress blog. The problem was my Blogger blog was being published off of blogspot.com to my own web server. When trying to import the WordPress admin was telling me that I had already imported my blog. All that needs to be done to correct…Details