Posted by alex in Insights
The Taragana Translator Plugin is the best translation software I have found for WordPress . Not only is it easily customizable but for only $30 you can have your entire blog translated into 13 languages in less than 15 minutes. It is however beneficial to customize some of the settings and especially to add a bit to the design. I prefer having the flags appe ar at the top of the center column of a three column WordPress layout. Below I have listed some tips on how to easily customize the display of the flags.
The first thing to do is have display the actual flags. The major holdup I had was the home flag, in my case the English or US flag, was not displaying the correct link. No matter what I did it would display the URL of the translation I was currently using. So if I was viewing a German translation page then the US flag would display / de . I finally figured out that you have to wrap your flag display with text to not translate a section of co de . The text to use for not translating is shown below in an example.
Read the rest of this entry »
Tags:
CSS,
engine,
flag,
image,
PHP,
taragana,
translation,
translator pro,
WordPress,
WordPress plugin
No Comments »
You might see the following when issuing the normal stop command to postgres via pg_ctl.
-bash-3.1$ pg_ctl stop
waiting for server to shut down……………………………………………………… failed
pg_ctl: server does not shut down
Sometimes postgres does not want to shutdown by just issuing a pg_ctl stop as the postgres user. User might feel the need to “kill -9″ the postgres processes however this could be dangerous for PostgreSQL. Instead of trying to kill the PID follow the directions below in an attempt to stop postgres in an organized fashion.
Read the rest of this entry »
Tags:
kill,
pg_ctl,
PID,
postgres,
PostgreSQL,
sql
6 Comments »
Posted by alex in Insights
Its fairly straight forward to monitor a postgresql table’s activity with the wonderful script check_postgres.pl created by Greg Sabino Mullane. This script is useful for so many things I will surely be writing about other ways to use this script with Nagios and Cacti.
- Download Script: Download the check_postgres.pl script here.
Read the rest of this entry »
Tags:
.pgpass,
/etc,
check_postgres.pl,
database,
libexec,
nagios,
perl,
postgres,
PostgreSQL,
table
No Comments »
Posted by alex in Insights
In Linux you can list the contents of a users crontab from root by issuing the below command:
[root@server ~]#crontab -u username -l
How do you list crontabs for all of the users on your Linux server? The easiest way is to list the contents of /var/spool/cron which will provide you a list of all of the users that have cron entries. Then if you need the specific details of a users cron entries you can use the command above and replace username with the username in question to see the details.
Read the rest of this entry »
Tags:
CentOS,
cron,
crontab,
Linux,
root
1 Comment »
Posted by alex in Insights
Its fairly easy to merge Microsoft Excel fields together but you have to be aware of formulas and then with how to pull that data out of the formula to save it on its own. I used this to merge title, first name, and last name together. Follow the directions below and you should have no problems merging Excel fields together.
1. New Column: Add the below formula to a new column.
=CONCATENATE(A1,” “,B1,” “,C1)

Read the rest of this entry »
Tags:
cells,
copy,
Excel,
fields,
formula,
Microsoft Excel,
MS Excel,
paste,
paste special,
spreadsheet
4 Comments »