Skip to content

Instantly share code, notes, and snippets.

@dekom
dekom / gist:3549472
Created August 31, 2012 05:50
Someone's ZSH Configuration file
####### zsh configuration file ######
### Init ###
autoload -U compinit promptinit
compinit
promptinit
#prompt walters
prompt own
@dekom
dekom / volume.rb
Created October 15, 2012 22:02 — forked from jaspervdj/volume.rb
Set pulseaudio volume from the command line
#!/usr/bin/ruby
# Pulseaudio volume control
class Pulse
attr_reader :volumes, :mutes
# Constructor
def initialize
dump = `pacmd dump`.lines
@volumes = {}