- http://stackoverflow.com/questions/267761/what-does-your-gitconfig-contain
- http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim/1220118#1220118
- http://developer.apple.com/library/safari/#documentation/AudioVideo/Conceptual/HTML-canvas-guide/Translation,Rotation,andScaling/Translation,Rotation,andScaling.html
- http://developers.whatwg.org/
- http://en.wikipedia.org/wiki/Unix_philosophy
- http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs
- http://toroid.org/ams/git-website-howto
- http://www.gizma.com/easing/
- http://codeflow.org/entries/2010/aug/22/html5-canvas-and-the-flying-dots/
- http://ejohn.org/blog/how-javascript-timers-work/
git checkout master; | |
git merge dev; | |
git checkout gh-pages; | |
git merge dev; | |
git push origin dev; | |
git push origin master; | |
git push origin gh-pages; | |
git checkout dev; |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<title>kapi</title> | |
<meta name="generator" content="TextMate http://macromates.com/"> | |
<meta name="author" content="Jeremy Kahn"> | |
<!-- Date: 2010-12-07 --> |
# Disable Spaces animation | |
# /via http://hints.macworld.com/article.php?story=20110214074550501 | |
defaults write com.apple.dock workspaces-swoosh-animation-off -bool YES && killall Dock | |
# ... And re-enable. | |
defaults delete com.apple.dock workspaces-swoosh-animation-off && killall Dock |
syntax enable | |
set number | |
set hlsearch | |
set incsearch | |
set nocp | |
set autoindent | |
set expandtab | |
set shiftwidth=4 | |
set softtabstop=4 | |
cnoreabbr nt NERDTree |
getSpeedySignature: (ofString) -> | |
sum = 0 | |
for i in [0..ofString.length] | |
sum += ofString.charCodeAt(i) | |
sum |
I click a link in Facebook or Twitter, I don't care about the URL. I care about content.
Sure, that link points to a URL, but I don't know what it is, and I'll never remember it. It could even be a really sensible URL, like http://odopod.com/blog/hack-days-2011-coming-november/ — but I still won't remember it. URLs are implementation details for content on the web, not content in themselves.
People want to share. They're probably doing it with Facebook or Twitter. Being able to share a link to content isn't dependent on a native or non-native experience, it's neutral. Even if your native app had a URL bar, you wouldn't want to copy and paste that into a thing and send that thing to someone, you want to press share and press a person.
Look, I love web apps — I even build one for a living! But users consistently appreciate native apps on iPhone (this doesn't apply to Android) because of the constraints of the HIG and the SDK.
global.server = require('http').createServer(function(request, response) { | |
global.twitterFeed = require('https').get({ | |
auth: 'username:password', | |
host: 'stream.twitter.com', | |
path: '/1/statuses/sample.json', | |
}, function(res) { | |
res.setEncoding('utf8'); | |
response.writeHead(200, 'text/plain'); | |
res.on('data', function(chunk) { | |
response.write(chunk); |
<b id=a>X<script>e=document.getElementById('a'),i=0;(function u(){e.style.marginLeft=++i+'px';webkitRequestAnimationFrame(u)})()</script> |