In a previous article, I showed you how to append a string to the end of file. Now I will show you how to insert a string to the beginning of a file in Linux. The solution is not as obvious as the former, but I will show you a quick and easy way using [...]
Click here to read the full post
March 12th, 2013 | Posted in Linux/Unix | 1 Comment
This may go without saying, but backing up your database regularly is important. Hard disks can fail at anytime causing you to lose all your data (We recommend using a RAID configuration when possible for data redundancy!) Often times, we may overlook the database and simply make backups of our /www or /public_html folder that [...]
Click here to read the full post
February 22nd, 2013 | Posted in Databases | No Comments
Shiny Loot is a new digital distribution platform with an Indie-focus and offers no to minimal DRM games. One of the differentiating factors is their extensive trait system that makes it easier for you to find games. For their beta launch, they are offering a number of games for 50% off. Septerra Core – 50% [...]
Click here to read the full post
February 22nd, 2013 | Posted in Deals & Bargains | No Comments
If you are looking for a quick and easily solution to changing your Linux passwd from a script, you have come to the right place. As you already know, the passwd command prompts the user to enter the desired password as well as a confirmation, but I have a solution that will change the password [...]
Click here to read the full post
April 29th, 2012 | Posted in Linux/Unix | 1 Comment
This article will show you how to use the pg_dump utility that is built-in to PostgreSQL to backup or dump the database to a file. This is a utility I use all the time to quickly make periodic backups of my databases. This tool has the ability to create both compressed and uncompressed dumps of [...]
Click here to read the full post
April 29th, 2012 | Posted in Databases | 1 Comment
This article will go through some basic examples on how to list files above or below a certain size in Linux using the find command. There are many use cases for running queries like this, for instance finding small files on your hard drive or finding very large files. So, lets get started with some examples. Using find [...]
Click here to read the full post
April 16th, 2012 | Posted in Linux/Unix | No Comments
I am running Ubuntu 11.04 and was trying to install the Java OpenJDK 6.0 (and 7.0) on my system but I received the following error: Unable to fetch some archives, maybe run apt-get update or try with –fix-missing? I tried installing several different Java packages but all of them failed with the same error. Finally, [...]
Click here to read the full post
January 25th, 2012 | Posted in Linux/Unix | 2 Comments
Finally!! After months of waiting and waiting, LG has released the official Gingerbread 2.3.3 update for the G2x. Go to: http://www.lg.com/us/support/mc-support/mobile-phone-support.jsp Click on the download link and run this Update ool Connect your phone to your PC via USB If Windows does not recognize your phone, click on the Install USB Driver button Disconnect and re-connect [...]
Click here to read the full post
July 21st, 2011 | Posted in Cell Phones | 1 Comment
T-mobile officially released the HTC Sensation on June 15th. There are numerous questions that current and prospective owners might have regarding this phone, so I put together this quick reference guide. This resource guide will attempt to gather pertinent information and links regarding this phone in one central place. If you have anything else to [...]
Click here to read the full post
June 19th, 2011 | Posted in Cell Phones | 1 Comment
Are you attempting to install the mysql gem and you are receiving this error? Fetching: mysql-2.8.1.gem (100%) Building native extensions. This could take a while… ERROR: Error installing mysql: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for mysql_query() in -lmysqlclient… no checking for main() in -lm… yes checking for mysql_query() in -lmysqlclient… [...]
Click here to read the full post
June 14th, 2011 | Posted in Programming - Ruby/Rails | 7 Comments