Wednesday, March 16, 2011
Weather Threshold Monitoring Script
Friday, February 12, 2010
GDM 2 Themes and Backgrounds
gksu -u gdm dbus-launch gnome-appearance-properties
You can set the theme, background, etc just like the appearance
properties in regular GNOME.
Tuesday, August 25, 2009
Firefox 3.5 on Ubuntu
sudo sh -c "echo 'deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main' >> /etc/apt/sources.list"
sudo sh -c "echo 'deb-src http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu jaunty main' >> /etc/apt/sources.list"
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 247510BE
sudo apt-get update && sudo apt-get install firefox-3.5
Tuesday, August 18, 2009
Sending Tweet's From the Command Line
Here is my "sendtweet.sh" script:
------------------------------------------------------
#!/bin/bash
if [ ! $1 ]
then
echo "Send Tweet. Usage:"
echo "$0 message"
echo
echo "This $0 script sends twitter status updates"
echo
echo "Make sure you escape anything but alphanumerics"
echo
exit
fi
curl -u twitter_username:twitter_password -d status="$*" http://twitter.com/statuses/update.xml
------------------------------------------------------
The if look is just to prevent me from doing anything stupid. You have to escape anything but alphanumerics, so usage is like:
sendtweet.sh Cool\, I\'m sending tweets from bash\!\!\!
Thought you all would enjoy that ;)
Sunday, August 16, 2009
Syndaemon Touchpads
http://david.wonderly.com/archives/29
basically its about syndaemon, which can monitor for keyboard activity, and disable the touchpad while until your done typing.
Good bye annoying accidential touches!
Wednesday, August 12, 2009
Chromium on Ubuntu
================================
vim /etc/apt/sources.list
----- add -----
deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/chromium-daily/ppa/ubuntu jaunty main
----- add -----
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4E5E17B5
sudo apt-get update
sudo apt-get install chromium-browser
================================
Start with:
chromium-browser --enable-plugins
to get Flash support, which is a little buggy. Otherwise, its a pretty nice browser, and a decent option for Lean installs
Thursday, August 6, 2009
Force upgrade of PEAR
# pear install HTTP_Request
HTTP error, got response: HTTP/1.1 410 Gone
Didn't receive 200 OK from remote server. (HTTP/1.1 410 Gone)
The solution, was to upgrade PEAR:
pear upgrade --force http://pear.php.net/get/Archive_Tar http://pear.php.net/get/XML_Parser http://pear.php.net/get/Console_Getopt-1.2.2
pear upgrade --force http://pear.php.net/get/PEAR-1.4.3.tar
( OR: pear upgrade --force http://pear.php.net/get/PEAR-1.3.3 _IF_ your existing older than 1.3.3)