pingdom stats to graphite from the command line

so i have been doing some work with our internal monitoring systems the last couple of days and wanted a way to pull pingdom stats into our graphite server using only a couple of bash commands or just put it together into a little shell script. after going through the pingdom api documentation, i was … Read More

graphite / statsd gone crazy

so i accidentally wild carded a part of the url on a graph, this was the result: click image to enlarge sometimes you get funny results from a fuck up.

gentoo spotify from deb file

this is how i got spotify to work on my install of gentoo. YMMV. grab a copy of the deb from here. just make sure to grab one for your respective build (x86 or amd64). at the time of writing, spotify-client_0.9.1.55.gbdd3b79.203-1_amd64.deb was the version available. now lets uncompress the file : ar x file.deb which … Read More

magic 8 ball bash script

so i got bored a couple of days ago and decided to write a magic 8 ball script. i know, they have been done a million times before, but it was 10 minutes and i wanted to see how centered in the terminal i could get it. you can get it here. here are the … Read More

dreamhost dns updater from bash

so a couple of weeks ago i decided to write a dreamhost dns updater even though ttl is 4 hours. This script uses your dreamhost api key (assuming it has dns access), to either check, delete, list, or update your ip address for a given record in dreamhost. Makes dynamic dns possible with dreamhost except … Read More

rfc-reader from command line

so a couple of weeks ago i decided to write an rfc-reader that is usable from the command line. Here it is. you can search for a bcp, fyi, ien, std, and an rfc. then when you select one to read, a formatted term will pop up with it open. i know there are hundreds … Read More

zshrc and password generator

so i added two different password generator functions into my .zshrc. one for regular: function genpasswd() { if [ -z $1 ]; then echo “need a character count” else tr -dc A-Za-z0-9_ < /dev/urandom | head -c ${1} | xargs fi } and one for strong: function genpasswd_strong() { if [ -z $1 ]; then ... Read More

some gentoo lovin’ (screenshots)

nothing in this post of any relevant value other than to show genoo running both spotify and steam. steam: click image to enlarge spotify: click image to enlarge love me some gentoo….

mutt and pgp

this article will cover using mutt with pgp, it is a work in progress. this is gentoo centric and assumes that you are most likely using a google apps enabled domain or gmail address. at time of writing : mail-client/mutt-1.5.21-r12 app-crypt/gnupg-2.0.19-r2 app-crypt/pinentry-0.8.2 first things first, lets install some software: for non-gentoo systems: install mutt, gnupg, … Read More

shell color code script

so i have forgotten over the years how to add color to text in my terminal. so i wrote this script to show me some color combinations. here is what the output looks like: click image to enlarge