Submitted by charles on Fri, 04/06/2012 - 16:16
Looking for the menu "right-click" manager from Ubuntu?
Just install alacarte:
sudo apt-get install alacarte
More details
here.
Submitted by charles on Fri, 04/06/2012 - 00:13
You will need a JDK setup on your system; I've outlined how to do that
here.
If you don't already have them, install
Ant and
CVS:
sudo apt-get install ant
sudo apt-get install cvs
Download the source of the
CSS Validator with CVS (this may take a few minutes):
cd ~/
mkdir w3c_css_validator
cd w3c_css_validator
Submitted by charles on Thu, 04/05/2012 - 23:24
The JDK can be downloaded by visiting the Oracle website and agreeing to a slew of licensing terms:
http://www.oracle.com/technetwork/java/javase/downloads
These directions are of the 32bit variety, but the same should work for 64bit systems; just swap i386 for amd64 where applicable.
Once downloaded, extract everything to /usr/lib/jvm/:
cd ~/Downloads/
tar xvf jdk-7u3-linux-i586.tar.gz
sudo mv ./jdk1.7.0_03/ /usr/lib/jvm/jdk1.7.0_03
Submitted by charles on Sat, 03/31/2012 - 19:31
- Add a public key for dl-ssl.google.com:
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
- Add the Chrome download site to your list of APT sources:
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
- Refresh APT with the changes made above and install Google Chrome:
sudo apt-get update && sudo apt-get install google-chrome-stable
Submitted by charles on Sat, 03/31/2012 - 00:55
Insall the Date & Time app:
sudo apt-get install system-config-date
Create a cron task:
sudo nano /etc/cron.hourly/ntpdate
Add the lines below in the file:
#!/bin/bash
ntpdate ntp.ubuntu.com time.nist.gov
Make the file executable:
sudo chmod 755 /etc/cron.hourly/ntpdate
This will update time hourly from ‘ntp.ubuntu.com’ and ‘time.nist.gov’.
Submitted by charles on Tue, 03/13/2012 - 20:29
I've been in need of exercise lately, but I always feel a little guilty when I break away from all the things I need to be keeping up on. In attempt to accomplish both at the same time, I've written a little script to pull down my RSS feeds and dump them into an mp3 file that I can throw on my audio player.
To use the script, you will need to install the xml rss perl module using the command below:
Submitted by charles on Thu, 02/09/2012 - 00:08
One of the first real points of frustration a developer encounters with Git is the initial unresolved merge conflict.
Beyond Compare is an excellent file comparison utility and can be configured with Git as a merge and diff tool.
To setup diff on Linux, create a short wrapper script to pass the parameters in the correct order:
vi ~/git-diff-wrapper
#!/bin/sh
# diff is called by git with 7 parameters:
# path old-file old-hex old-mode new-file new-hex new-mode
Submitted by charles on Fri, 02/03/2012 - 15:50
You'll notice that there is no link tag specifying the rss location in the source of a Facebook page. RSS links are however availble using the page ID of the content.
To obtain the page ID, right click on the like icon and copy the link.

Submitted by charles on Thu, 09/29/2011 - 23:26
The chart below shows nations with the highest foreign liabilities as a percentage of GDP above that of the United States.
Submitted by charles on Thu, 09/29/2011 - 11:58
Configuring a box for Drupal development, testing server configurations and PHP debugging.