create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
# Five lines of code that will make your underscore + CoffeeScript use cleaner. | |
# Creates an underscore function for each function in to_reverse with R (short for Reversed) appended to the name. | |
# The R version moves the function argument (first argument in normal underscore) to the end, | |
# so you can write: | |
$(window).scroll _.throttleR 500, -> | |
console.log "This print's at most every 500ms" | |
# Instead of: | |
$(window).scroll _.throttle -> | |
console.log "This prints at most every 500ms too" |
image.gallery <- function(url, ncol = 3L) { | |
## This function reformats the contents of a Craigslist search result URL | |
## into an image gallery, opened into the default browser | |
## | |
## Inputs: | |
## - url: a Craigslist search URL as created by search.url | |
## - ncol: the number of columns for the output image gallery | |
## | |
## Output: none. As a side effect, a browser is opened. |
CREATE TABLE Subman_Publisher | |
( | |
id string AUTO PRIMARY KEY, -- auto-generated, uuid | |
stacks set of string REFERENCES Subman_Stack, -- primary key ref | |
subscription_count int | |
); | |
CREATE TABLE Subman_Stack | |
( |
parse(Text) when is_binary(Text) -> | |
parse(binary_to_list(Text)); | |
parse(Text) when is_list(Text) -> | |
parse(Text, [], 0, []). | |
parse(Text, Env, Line, Acc) -> | |
case erl_scan:tokens([], Text, Line) of | |
{done, {ok, Scanned, NewLine}, Rest} -> | |
{ok, Parsed} = erl_parse:parse_exprs(Scanned), |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
/* See: http://0x10c.com/doc/dcpu-16.txt */ | |
function hex(n) { | |
return '0x' + n.toString(16); | |
} | |
function disassemble (code) { | |
var PC = 0; | |
var operand = function (bits) { |
Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.
{ | |
"AWSTemplateFormatVersion" : "2010-09-09", | |
"Description" : "Create an EC2 instance, set up Apache, and create Route53 A records", | |
"Parameters" : { | |
"KeyName" : { | |
"Description" : "Name of an existing EC2 KeyPair to enable SSH access to the instances", | |
"Type" : "String", |
./redis-benchmark -n 1000000 -P 16 -q | |
PING_INLINE: 672947.56 requests per second | |
PING_BULK: 716845.88 requests per second | |
SET: 309693.41 requests per second | |
GET: 463606.84 requests per second | |
INCR: 357142.88 requests per second | |
LPUSH: 360100.84 requests per second | |
LPOP: 364298.75 requests per second | |
SADD: 340831.62 requests per second | |
SPOP: 461893.78 requests per second |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'json' | |
require 'net/http' | |
require 'uri' | |
require 'mqtt' | |
require 'pp' | |
NOW_NEXT_RADIO_URL = 'http://www.bbc.co.uk/iplayer/ion/multinownext/service_type/radio/format/json' |