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
function interpret(form, env, k){ | |
if(form instanceof Array){ | |
switch(form[0]){ | |
case 'lambda': { | |
var params = form[1]; | |
var body = form[2]; | |
return k(function(k){ return function() { | |
var e = Object.create(env); | |
for(var j = 0; j < params.length; j++) | |
e[params[j]] = arguments[j]; |
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
@import url(http://fonts.googleapis.com/css?family=Open+Sans:300); | |
@-webkit-keyframes animatedBackground { | |
from { | |
background-position: 0 0; | |
} | |
to { | |
background-position: 100% 0; | |
} | |
} |
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
;; ... | |
;; Use mmm-mode to enable EJS (http://embeddedjs.com) Template highlighting in html-mode | |
;; Turn on mmm-mode | |
(require 'mmm-mode) | |
(setq mmm-global-mode 'maybe) | |
;; mmm-mode class for EJS Templates | |
(mmm-add-classes |
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
// Copyright (c) 2013, smilekzs. (MIT Licensed) | |
// ==UserScript== | |
// @name renren-markdown | |
// @namespace http://github.com/smilekzs | |
// @version 1.0.0 | |
// @description Powerful markdown-based editor for blog.renren.com | |
// @grant GM_xmlhttpRequest | |
// @match *://blog.renren.com/blog/*Blog* | |
// @match *://blog.renren.com/blog/*edit* | |
// @match *://blog.renren.com/*Entry* |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
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
{ | |
"Taipei,Taiwan": "TW", | |
"Vancouver": "CA", | |
"SF,/,BOS,/,NYC,/,LA": "BO", | |
"Omaha,NE": "NE", | |
"China,Canton,Guangzhou": "CN", | |
"Arkansas": "US", | |
"Beijing,China": "CN", | |
"Waco,TX": "US", | |
"Ancona,Italy": "IT", |
-
Navigate to http://nodejs.org/download/ and on the Linux Binaries (.tar.gz) row click to download the 64-bit version of the current latest release.
-
Say you've downloaded
node-v0.10.7-linux-x64.tar.gz
into theDownloads
directory. Then, open the terminal and type the following:
$ cd ~/Downloads
$ mkdir -p ~/local/node
$ tar xzf node-v0.10.7-linux-x64.tar.gz -C ~/local/node --strip-components=1
$ echo '# Node Enviroment Setup' >> ~/.bashrc
$ echo 'export PATH=$HOME/local/node/bin:$PATH' >> ~/.bashrc