While working on this site I decided to not only have a tag cloud widget but also build out a page that included nothing but a list of all the tags marked for each article. This way someone could click on the tag page I wanted to list all the tags in alphabetical order and look for a specific tag. The WordPress documentation page is awesome so it was fairly easy to find though I had to search the documentation rather than typing in my question on a search engine and locating the answer quickly.
There are a couple settings that may need to be changed when uploading zip files via the NextGen Gallery admin interface within WordPress. The actual plugin notes that php.ini should have the following setting changed from the default of 2M to 20M like below.
It is possible to run into an issue with ar_sendmail if you are calling it from a Ruby application and using its verbose output. You may be calling it similar to the below:
arsendmail = ActionMailer::ARSendmail.new(:Once => true, :Verbose => true)
The below code snipet was created to check the number of rows in a PostgreSQL database, log the output to a file, and warn if the number of rows is over a certain number. There are numerous variables in the code snipet below that will need to be modified for it to work properly including message, notify, dbuser, and logfile. This code was created on CentOS some other items could be different including the location of the date command.
This script can be run as follows: checkrows $host $database
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…