Moved, see VIM Cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Avoid 'console' errors in browsers that lack a console. | |
( function() { | |
var method; | |
var noop = function noop() {}; | |
var methods = [ | |
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error', | |
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log', | |
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd', | |
'timeStamp', 'trace', 'warn' | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Device : Hardware : (-statusbar) : simulated (-statusbar) | |
iPhone : 320 x 480 : 320 x 460 : - | |
iPhone (Retina) : 640 x 960 : 640 x 920 : 320 x 460 | |
iPhone 5 : 640 x 1136 : 640 x 1096 : 320 x 548 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rli 'SignupLightbox' app/controller/website/ | xargs sed -i "" 's/SignupLightbox/SemLightbox/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://media.ccc.de/browse/congress/2014/31c3_-_6459_-_en_-_saal_2_-_201412281900_-_the_invisible_committee_returns_with_fuck_off_google_-_anonymous_member_of_tarnac_solidarity_committee_-_tarnac_nine.html#video&t=2398 | |
Cybernetics | |
an ideology of how the internet constructs a new reality. | |
claude shannon | |
von neumann | |
a world where all forms of politics are controlled by machines, in a | |
network of self-regulating systems. | |
an ontology where all life can be flattened as pure messages of | |
information. |
I hereby claim:
- I am 0xadada on github.
- I am 0xadada (https://keybase.io/0xadada) on keybase.
- I have a public key whose fingerprint is 6989 0464 9D36 B7B8 7E0C 5A48 6BBE 9BB1 1965 6CA4
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Concise | |
var f='Fizz', b='Buzz', i=0, d3, d5; | |
for (i; ++i <= 100; d3 = !(i % 3), d5 = !(i % 5), console.log(d3 ? d5 ? f+b : f : d5 ? b : i)); | |
// Multi-line, commented | |
var /* Declare our variables outside the loop, a performance best-practice */ | |
f='Fizz', /* Variable `f` so we don't repeat 'Fizz' twice - DRY */ | |
b='Buzz', /* Variable `b` so we don't repeat 'Buzz' twice - DRY */ | |
i=0, /* For-loop counter, start at 0 */ | |
d3, /* setup a variable for checking divisibility by 3 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -LOk `curl --silent https://api.github.com/repos/jasmine/jasmine/releases/latest | /usr/bin/awk '/browser_download_url/ { print $2 }' | /usr/bin/sed 's/"//g'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate release notes from last MINOR release tag, crediting each author per commit. | |
git log `git describe --abbrev=0 --tags`.. --pretty=format:"* %s - @%an" | |
# Generate release notes from last MINOR release tag, rollup commits to each author | |
git shortlog `git describe --abbrev=0 --tags`.. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var s = http.createServer( function( request, response ) { | |
response.writeHead(301, { | |
'Content-Type': 'text/plain; charset=utf8', | |
'Location': 'view-source://visual-assault.org/' | |
}); | |
response.write( 'hello world\n' ); | |
console.info( '[INFO]', 'user-agent', request.headers['user-agent'] ); | |
} ); |
OlderNewer