Skip to content

Instantly share code, notes, and snippets.

require "twitter"
require "sunlight"
data_pos = DATA.pos
last_id = DATA.read.to_s[/\d+/]
last_id = last_id.to_i if last_id
DATA.reopen(__FILE__, "a+")
Twitter.configure do |config|
@saintjava
saintjava / gm_tw_dash_rt.js
Created December 9, 2011 19:48
Greasemonkey script to make Twitter's dashboard column the right-hand column.
// ==UserScript==
// @name Twitter - Move dashboard to right.
// @namespace com.codebycoffee.greasemonkey
// @description Moves the twitter dashboard to the right, so the timeline is on the left.
// @include https://twitter.com
// @include http://twitter.com
// @include http://twitter.com/*
// @include https://twitter.com/*
// @include http://www.twitter.com/*
// @include https://www.twitter.com/*