Skip to content

Instantly share code, notes, and snippets.

View badosu's full-sized avatar

Amadeus Folego badosu

View GitHub Profile
#!/usr/bin/env ruby
require 'rubygems'
require 'termios'
require 'github_api'
puts 'Github login:'
user = gets.chomp
oldt = Termios.tcgetattr($stdin)
@badosu
badosu / gist:1142264
Created August 12, 2011 15:16
.vimrc for integration with TFS
function! TFSetBin(binpath)
let g:tfvim_bin = a:binpath
endfunction
function! TFget(...)
let rec = 0
let all = 0
let prev = 0
let files = ""
for i in range(1, a:0)