create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
| deb http://binaries.erlang-solutions.com/debian precise contrib | |
| wget -O - http://binaries.erlang-solutions.com/debian/erlang_solutions.asc | sudo apt-key add - | |
| sudo apt-get update | |
| sudo apt-get install esl-erlang |
| erlang$1:::*-function-entry | |
| { | |
| self->funcall_entry_ts[copyinstr(arg1)] = vtimestamp; | |
| } | |
| erlang$1:::function-return | |
| /self->funcall_entry_ts[copyinstr(arg1)]/ | |
| { | |
| @time[copyinstr(arg1)] = quantize((vtimestamp - self->funcall_entry_ts[copyinstr(arg1)] ) / 1000); | |
| } |
| 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. |
This is a purely in-browser demo of Riak 2.0's sets datatype. The application code uses React.js and jquery.
To get started, make a 5-node devrel cluster of the 2.0 preview using these instructions. After your cluster is built, make a bucket-type for sets:
cd dev/dev1
bin/riak-admin bucket-type create sets '{"props":{"datatype":"set","allow_mult":true}}'
bin/riak-admin bucket-type activate setsumask 022 for system-shared librarieswx:demo() on OS X 10.9.2 with wxWidgets 3.0.0 is still unstable, though observer:start() is more stable.brew install wxmac --disable-monolithic will do. See http://erlang.org/pipermail/erlang-questions/2014-February/077952.html.| var redisScan = require('redisscan'); | |
| var redis = require('redis'); | |
| var riak = require('riakpbc'); | |
| var async = require('async'); | |
| var args = require('optimist') | |
| .usage('--import or --export Redis archives in Riak\nUsage: $0') | |
| .boolean('import') | |
| .boolean('export') | |
| .boolean('debug') | |
| .describe('import', "Import from Riak to Redis") |
| -module(helpers). | |
| is_pid_alive(Pid) when node(Pid) =:= node() -> | |
| is_process_alive(Pid); | |
| is_pid_alive(Pid) -> | |
| lists:member(node(Pid), nodes()) andalso | |
| (rpc:call(node(Pid), erlang, is_process_alive, [Pid]) =:= true). | |
| get_current_time() -> | |
| Now = calendar:local_time(), |
| # Erlang R16B HiPE with Rebar | |
| # | |
| # VERSION 0.0.1 | |
| FROM base | |
| MAINTAINER Son Tran-Nguyen "sntran@inhuman.io" | |
| RUN apt-get update | |
| RUN apt-get install -y git build-essential libncurses5-dev openssl libssl-dev curl | |
| # For HiPE, requires M4 |