Thunkify rethinkdb
To be used with co and/or koa.
So that we can do something like:
var r = require('rethunkdb') // not a typo, might use other name if too close :)
/* | |
* This is a simple HTTP data generator for testing. | |
* | |
*/ | |
var http = require('http'); | |
var counter = 0; | |
http.createServer(function (req, res) { | |
var start = new Date(); |
Host github.com | |
User git | |
Hostname github.com | |
PreferredAuthentications publickey | |
IdentityFile /home/user/.ssh/id_rsa |
continue | |
dir=/var/www/downloads | |
file-allocation=trunc | |
max-connection-per-server=4 | |
max-concurrent-downloads=2 | |
max-overall-download-limit=0 | |
min-split-size=25M |
UPDATE (March 2020, thanks @ic): I don't know the exact AMI version but yum install docker
now works on the latest Amazon Linux 2. The instructions below may still be relevant depending on the vintage AMI you are using.
Amazon changed the install in Linux 2. One no-longer using 'yum' See: https://aws.amazon.com/amazon-linux-2/release-notes/
sudo amazon-linux-extras install docker
sudo service docker start
#!/bin/bash | |
# Chrome Repo | |
sudo apt-get install fonts-liberation xdg-utils libxss1 libappindicator1 libindicator7 | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i google-chrome*.deb | |
sudo apt-get update | |
# Download |