Public Gists by res0nat0r

Gravatar
Tue Nov 10 10:51:03 -0800 2009
1
2
3
#!/usr/bin/ruby
 
require 'rubygems'
gist: 221750 Set screen window title to ...
Gravatar
Thu Oct 29 12:50:16 -0700 2009
1
2
3
#!/bin/bash
# screen_ssh.sh by Chris Jones <cmsj@tenshu.net>
# Released under the GPL v2 licence.
gist: 212225 Convert ASS subs to SRT
Gravatar
Fri Oct 16 20:56:07 -0700 2009
1
2
3
#!/usr/bin/perl
 
use strict qw(subs vars);
Gravatar
Wed Oct 14 22:36:35 -0700 2009

      
Gravatar
Wed Oct 14 22:36:21 -0700 2009

      
gist: 203719 Grab the first imdb result ...
Gravatar
Tue Oct 06 20:56:39 -0700 2009
1
2
3
Dependencies:
============
 
gist: 202342 Simple daemonization
Gravatar
Mon Oct 05 11:56:29 -0700 2009
1
2
3
# taken from http://snippets.dzone.com/posts/show/2265
require 'fileutils'
 
gist: 154565 git bash prompt
Gravatar
Fri Jul 24 14:18:44 -0700 2009
1
2
3
# http://henrik.nyh.se/2008/12/git-dirty-prompt
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/
# username@Machine ~/dev/dir[master]$ # clean working directory
gist: 47248 git bash prompt
Gravatar
Wed Jan 14 19:26:34 -0800 2009
1
2
3
function parse_git_dirty {
  [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*"
}