One thing that can be really helpful for Linux administrators is sending mail attachments via the Linux command line. It is fairly widely known that you can inject text files into email by piping the outputs of those files to the mail command however something that is less known is attaching files to an email sent via mail. The information below describes how to send mail from a Linux shell using the mail command.
Earlier today I was troubleshooting some resource issues on a PostgreSQL server and needed to test some various SELECT statements to see if any of them were causing problems. I also wanted to verify the amount of resources a SELECT statement made using PGAdmin versus the amount of resources the same SELECT statement used running it directly on the Postgres server itself. Below is information on how to run a SELECT statement from a Linux shell. In this example the server is running CentOS Linux and PostgreSQL 8.4.4.
If you happen to jailbreak your iPhone or iPod Touch it is likely you will end up with Cydia installed on the iDevice. Cydia is a front end to the dpkg package management system and allows you to easily install packages on your iPhone. Cydia uses some files with a PLIST file ending which cannot be opened on Windows by default. Use the information below to read .plist files on Windows 7.
One thing that has come up numerous times for me while jailbreaking iDevices is to make sure the device can be jailbroken and unlocked. There is a simple little application from iH8sn0w called f0recast that I recommend running before you attempt to jailbreak your iPhone. Use the information below to download and run f0recast on Windows 7.
The other day Martin and I were changing some things around on the computer shop’s network and we needed to modify the IP address of the credit card machine so it would operate properly on our new setup. While changing the Internet Protocol address isn’t very hard the issue we ran into was figuring out how to type a period after each octet of the IP. After some fooling around we figured it out and we have explained all of the steps below to modify the IP address of a Vx570 CC machine.