-
The Paradigm Shift to Accompany The Advent of Cheap Computing
Today, it came to my attention that a LINUX computer, priced between $25-35, is now available. This computer is called the Raspberry Pi. It sure looks like computing is going to take on a whole new dimension in the coming years. No longer are there going to be significant financial barriers to acquisition, meaning they…
-
When a List of Files is Too Long for a Typical “rm” Command
I was on a client’s reporting server and noticed that an “ls” of their report logs took about 10 minutes. The directory had a log for every report run since June 2010, which is around 1.3 million files! Here’s a transcript of the error: [root@morpheus log]# pwd /home/morpheus/tools/birt-runtime-2_0_1/Report Engine/log You have new mail in /var/spool/mail/root…
-
Using MySQL Queries to Dump/Format Data to Delimited Files
It is often useful to utilize MySQL queries, to export data from tables then write this data into files. MySQL offers the ability to customize many of the details of these exports, which should cover most situations. In this example, we are selecting data from a table, applying some formatting and writing it to a…
-
RSYNC a File Through a Remote Firewall
One of my recent tasks was to set-up a new automatic backup script, which dumps out the MySQL database on the remote host at a regular time, at a later time, it is RSYNC’d from the backup server through a remote firewall. I must say that I was a little surprised, to discover that the…
-
Quick and Easy Regular Expression Command/Script to Run on Files in the Bash Shell
I often find it necessary to run regular expressions on, not just one file; but instead a range of files. There are perhaps dozens of ways this can be done, with varying levels of understanding necessary to do this. The simplest way I have encountered utilizes the following syntax: perl -pi -e “s///g” Here is…
-
Something You Should Know About Batteries
Batteries can swell and deform with time. This is a lesson I learned by chance just yesterday, when taking my laptop in for a repair. I had been having problems with my Macbook Pro for the past week or so. The touchpad would be clicking on just about everything, even as I was typing; causing…
-
How to Get Started Freelancing on the Web
If you are a creative, self-motivated, critical, detail oriented individual, who wants to learn how to make a living designing/developing websites and/or web applications, then this video is a good starting place for you! You don’t need a whole lot of money to get started and you don’t necessarily even need a degree from the…
-
Syncing a Forked git Repository With a Master Repository’s Changes
One task which is virtually impossible to do properly through the GIT Version Control web interface, is syncing a forked repository. Fortunately, there is a fairly straightforward way to automatically merge the changes via the command line interface. Let’s say for example, a few days back we created a fork called chriscase/friendika off of the…
-
How To Execute a Script After a Running Process Completes
Most people who are familiar with Linux, realize that there are ways of chaining processes to run one after another. Typically this is done by writing a script, or using && to daisy chain additional commands on command line. There is, however, another way to do this; if you’ve already issued a command and want…
-
Using Scroogle as Your Default Search on Opera 11
A simple step you can take to protect your privacy is to use scrapers like the Scroogle, the Google Scraper. With this search tool, you are able to search the Google database without divulging your search patterns to them; protecting your privacy, so your personal information is not sold to Google’s customers. By default Scroogle…