Skip to content

Instantly share code, notes, and snippets.

@ryansch
ryansch / README.md
Created July 23, 2016 22:24
neovim + yadr
import React, { Navigator } from 'react-native';
import RouterRegistry from './RouterRegistry';
import navigateTo from './routerActions';
const BACK = 'BACK';
const FORWARD = 'FORWARD';
class Router extends React.Component {
@dpfranklin
dpfranklin / s3.thor
Created April 26, 2013 22:05
Thor task for deploying Middleman site to S3.
class Deploy < Thor
default_task :s3
desc "cleanS3test", "delete current
deploy"
def cleanS3test
puts "Deleting current deploy..."
system "s3cmd -r -f del s3://www.example.com/"
puts "Done"
@ttscoff
ttscoff / brettquix.txt
Created May 23, 2012 02:32
Brett's Quix File
@Brett's searches
@Brett's custom searches
go https://duckduckgo.com/?q=%21%20%s Open first result (DuckDuckGo)
b https://duckduckgo.com/?q=%21%s Bang search (DuckDuckGo)
grep https://www.cueup.com/?q=%s&fq=1 Greplin
ss https://duckduckgo.com/site:%d%20%s Current site (DuckDuckGo)
bt https://duckduckgo.com/site:brettterpstra.com%20%s BrettTerpstra.com (DuckDuckGo)
gh http://github.com/search?q=%s&type=Everything&repo=&langOverride=&start_value=1 Search GitHub (everything)
hints http://hints.macworld.com/search.php?query=%s&keyType=all&datestart=&dateend=&topic=0&type=stories&results=50&mode=search Search Mac OS X Hints
mu http://www.macupdate.com/find/mac/%s Search MacUpdate (Software)
@shayarnett
shayarnett / README
Created May 10, 2012 13:13
Snippet generator for RubyMotion ctags
Generate ctags with `rake ctags`
Run snipper.rb
Put resulting ruby.snippets file where your snippet plugin can pick it up. (I'm using snipmate)
@qrush
qrush / Inconsolata-dz-Powerline.otf
Created January 11, 2012 16:50
vim-powerline patched fonts
@lilith
lilith / import.rb
Created August 25, 2011 21:18
Wordpress Importer
# coding: utf-8
#1) Synchronize your blog comments with IntenseDebate
#2) Export an XML file from your existing blog. Leave it running, so that attachments can be downloaded.
#3) Rename the .xml file to 'wordpress.xml' and place in root of the new nesta website.
#4) Run the import
# This does a fast 'offline import'. Use this first to verify there are no errors
# ruby -r './import.rb' -e 'Nesta::WordpressImport.process(true)'
@ericboehs
ericboehs / Fresh-Install.markdown
Last active July 24, 2023 08:16
What I do after a fresh install of Mac OS X
@mojombo
mojombo / vwilight.vim
Created January 26, 2011 03:23
vwilight.vim: A TRUE Twilight color theme for Vim
" Vim color file
" Converted from Textmate theme Twilight using Coloration v0.2.5 (http://github.com/sickill/coloration)
set background=dark
highlight clear
if exists("syntax_on")
syntax reset
endif