Skip to content

Instantly share code, notes, and snippets.

View tadelv's full-sized avatar
💭
🦙

Vid Tadel tadelv

💭
🦙
View GitHub Profile
require "rubygems"
#list through the current folder and call git pull on each repository
home = ARGV[0] == nil ? Dir.pwd : ARGV[0]
home_d = Dir.open(home)
home_count = home_d.count
c_idx = 1
home_d.each do |current|
@tadelv
tadelv / twitteggester.rb
Created April 10, 2010 20:43
a dumb script if you are bored and don't know who to follow on twitter
#!/usr/bin/env ruby
# Analyzes your twitter friends if they are following someone interesting
# akshully it just shows you, who has the most many followers
# usage: ./twitteggester.rb <username> <how many followers to research>
#
# works by reading your twitter page (the span class vcard)
require "rubygems"
require "open-uri"