These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
" Fuck you, help key. | |
set fuoptions=maxvert,maxhorz | |
inoremap <F1> <ESC>:set invfullscreen<CR>a | |
nnoremap <F1> :set invfullscreen<CR> | |
vnoremap <F1> :set invfullscreen<CR> |
announce_party: function(cb_name, info) | |
{ | |
info = this.parse_flash_args(info); | |
var publishHref = window.location.href.split('?')[0]; | |
var chr; | |
if (info.screen != '' && info.screen != undefined) | |
{ | |
if (publishHref.indexOf("?")!=-1) { | |
chr = "&"; | |
} |
window.stainedPaper = function (func) { | |
var canvas = document.createElement('canvas'); | |
document.body.appendChild(canvas); | |
paper.setup(canvas); | |
func.call(paper); | |
}; |
set keymap vi-insert | |
Control-a: beginning-of-line | |
Control-b: backward-char | |
Control-d: delete-char | |
Control-e: end-of-line | |
Control-f: forward-char | |
Control-k: kill-line | |
Control-n: next-history | |
Control-p: previous-history | |
set keymap emacs-ctlx |
archive_github_repo() | |
{ | |
if [ ! -d .git ]; then | |
echo "You must run this from within the root of your git repo." | |
exit 1 | |
fi | |
pwd=`pwd` | |
repo_url=`git config --local --get remote.origin.url` | |
repo_name=`echo $repo_url | awk -F / '{print $2}' | sed -e s/.git//` |
http://www.yourawesomesite.com/index.html?name=<script>alert('You just found a XSS vulnerability')</script> |
#!/usr/bin/env ruby | |
# encoding: UTF-8 | |
require 'rubygems' | |
# https://github.com/jnunemaker/google-weather/ | |
# gem install google-weather | |
require 'google_weather' | |
# usage: outside_temp.rb [City,Province|Postal Code] | |
if ARGV.size == 0 |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
require 'rubygems' | |
require 'jekyll' | |
require 'fileutils' | |
require 'net/http' | |
require 'uri' | |
require "json" | |
module Jekyll | |
module Posterous | |
def self.fetch(uri_str, limit = 10) |