Instructions for Ubuntu 12.04 LTS:
For QT see: http://b.agilob.net/compile-bitcoin-qt-from-sources/
sudo apt-get update
sudo apt-get upgrade| var child_process = require('child_process'); | |
| exports.handler = function(event, context) { | |
| var proc = spawn('./test', [ JSON.stringify(event) ], { stdio: 'inherit' }); | |
| proc.on('close', function(code){ | |
| if(code !== 0) { | |
| return context.done(new Error("Process exited with non-zero status code")); | |
| } |
| {lager, [ | |
| {handlers, [ | |
| {lager_console_backend, notice}, | |
| {lager_file_backend, [{file, "log/error.log"}, {level, error}]}, | |
| {lager_file_backend, [{file, "log/console.log"}, {level, info}]} | |
| ]}, | |
| {crash_log, "log/crash.log"}, | |
| {colored, true}, | |
| {colors, [ | |
| {debug, "\e[0;38m" }, |
Instructions for Ubuntu 12.04 LTS:
For QT see: http://b.agilob.net/compile-bitcoin-qt-from-sources/
sudo apt-get update
sudo apt-get upgrade| import urllib2 | |
| import re | |
| from BeautifulSoup import * | |
| from datetime import * | |
| symbols = ['YHOO', 'MU', 'AA', 'CI', 'EOG', 'ZMH', 'G', 'HON', 'IWM', 'WYE', 'JCP', 'OXY', 'AAPL', 'SBUX', 'MO', 'KLAC', 'SIRI', 'GDT', 'WMT', 'LLTC', 'PALM', 'EA', 'SUN', 'CL', 'JAVA', 'SMH', 'NBR', 'JNJ', 'GCI', 'SHLD', 'AMD', 'ORCL', 'ERIC', 'LEH', 'WLP', 'CAH', 'LXK', 'CAR', 'CVX', 'GE', 'DE', 'NTAP', 'BSC', 'VRSN', 'DNA', 'GENZ', 'ASKJ', 'BRCM', 'TGT', 'MCD', 'CMCS', 'KBH', 'SYMC', 'BAC', 'NCC', 'BSX', 'IR', 'UNH', 'F', 'ADBE', 'MDY', 'CCL', 'TASR', 'SCHW', 'GS', 'T', 'ADI', 'MON', 'HOG', 'DIA', 'SEPR', 'BTU', 'X', 'D', 'GILD', 'NEM', 'BUD', 'MET', 'CMX', 'AVP', 'MDT', 'QCOM', 'XLNX', 'XOM', 'AMGN', 'OSTK', 'AXP', 'AET', 'GLW', 'KMG', 'GM', 'MXIM', 'APOL', 'SGP', 'IBM', 'MS', 'SNDK', 'BA', 'KO', 'MER', 'RTH', 'M', 'FDC', 'PD', 'XLE', 'XLF', 'FLEX', 'KRB', 'UTX', 'TZOO', 'FDX', 'NKE', 'NXTL', 'DOW', 'HES', 'KSS', 'BP', 'BIIB', 'BBBY', 'SII', 'DELL', 'AIG', 'HIG', 'BBY', 'EBAY', 'RD', 'GPS', 'MERQE', 'PEP', 'IGT', 'CECO', 'ALL', ' |
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); | |
| } |
| wget http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2 | |
| tar -xvpf qemu-2.0.0.tar.bz2 | |
| cd qemu-2.0.0/ | |
| ./configure --target-list=x86_64-softmmu | |
| make | |
| sudo make install |
| # install capstan first - https://github.com/cloudius-systems/capstan/wiki/Capstan-Installation | |
| $ git clone git@github.com:cloudius-systems/capstan-example-clojure.git | |
| $ cd capstan-example-clojure/ | |
| $ capstan build | |
| Building capstan-example-clojure... | |
| Downloading cloudius/osv-openjdk/index.yaml... | |
| 149 B / 149 B [=========================================================================================] 100.00 % | |
| Downloading cloudius/osv-openjdk/osv-openjdk.qemu.gz... |
| ## @author Zvi Avraham | |
| ## @copyright 2012-2014 ZADATA Ltd. All Rights Reserved. | |
| define :install_R do | |
| # Needed for RCurl CRAN package: | |
| # sudo apt-get install libcurl4-opensll-dev | |
| Packages = %w[ | |
| build-essential libtool m4 autoconf |