Skip to content

Instantly share code, notes, and snippets.

View .finicky.js
module.exports = {
defaultBrowser: "Choosy",
handlers: [
match: /\/j\//,
browser: "us.zoom.xos"
rewrite: [

Keybase proof

I hereby claim:

  • I am takeo on github.
  • I am takeo ( on keybase.
  • I have a public key ASAKmfF7bPjKrkJfqFyZe1fsSuVWDGm6B7Zv0YIf8Acg0go

To claim this, I am signing this object:

takeo / gist:1462151
Created Dec 11, 2011
NewNewTwitter AdBlock settings
View gist:1462151[data-component-term=user_recommendations]
takeo / campfire_emoji.js
Created Jan 26, 2011
all the keys for campfire emoji
View campfire_emoji.js
Emoji: {
'sunny': '2600',
'zap': '26a1',
'leaves': '1f343',
'lipstick': '1f483',
'cop': '1f46c',
'wheelchair': '267f',
'fish': '1f413',
'hammer': '1f52c',
'moneybag': '1f4b0',
View gist:385818
// definition of trackEvent method on a global object
$3N = {
trackEvent : function(category, action, label, value){
if (typeof(pageTracker) == "object") pageTracker._trackEvent(category, action, label, value);
else if(typeof(_gaq) == "object") _gaq.push(['_trackEvent', category, action, label, value]);
View mini.rb
# test/spec/mini 5
def context(*args, &block)
return super unless (name = args.first) && block
require 'test/unit'
klass = ? ActiveSupport::TestCase : Test::Unit::TestCase) do
def self.test(name, &block)
View Move To Archive.applescript
tell application "Mail"
set selectedMessages to the selection
set mailboxMap to {{accountName:"Work", archive:"All Mail"}, {accountName:"Gmail", archive:"All Mail"}}
repeat with mapItem in mailboxMap
set archiveMailbox to the mailbox (archive of mapItem) of account (accountName of mapItem)
set messagesToMove to {}
repeat with msg in selectedMessages
if name of the mailbox of msg is "INBOX" then
if name of the account of the mailbox of msg is (accountName of mapItem) then
View gist:90033
logWork: {
selector: '#issueContent',
finder: function(elements) {
return elements[0]
issueContent: {
selector: '#issueContent',
finder: function(elements){
return elements[0]
View gist:4809
= Gistr
A simple tool to post gists to tumblr.
== The Problem
Tumblr does not have a way to post code snippets simply and the current solutions are lacking.