Skip to content

Instantly share code, notes, and snippets.

@dekom
dekom / chpwd_update_git_vars.sh
Created April 29, 2012 19:06 — forked from scelis/chpwd_update_git_vars.sh
Add git information to your ZSH prompt.
update_current_git_vars
@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 = {}