C : Control key
M : Meta key
C-g - Exit command
| #!/bin/bash | |
| # | |
| # Download and install a particular version of Go. | |
| # | |
| # Assumes versions are installed at ~/.go/versions/ | |
| # | |
| # Author : Scott Barr | |
| # Date : 23 Apr 2016 | |
| # |
| # Add Go related config here so you can source this file from ~/.bashrc | |
| export GOPATH=$HOME/p/go | |
| export PATH=$PATH:$GOPATH/bin | |
| export GOROOT=~/.go/versions/go1.7beta1 | |
| export PATH=$GOROOT/bin:$PATH |
| package main | |
| import ( | |
| "encoding/json" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" | |
| "strings" | |
| "time" |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "io/ioutil" | |
| "log" | |
| "net/http" |
| # add this to the ~/.ssh/config | |
| Host * | |
| ServerAliveInterval 60 |
| server { | |
| listen *:80; | |
| root /u/apps/...; | |
| passenger_enabled on; | |
| passenger_ruby /usr/local/rvm/gems/ruby-2.2.0/wrappers/ruby; | |
| rails_env staging; | |
| client_max_body_size 20M; |
| -----BEGIN PGP MESSAGE----- | |
| Version: GnuPG v1.4.7 (Darwin) | |
| hQEMA71fr7dIWMeCAQgAscR1GbQPUWDPRPm/W9vaxlANRsXEWELRO/OTbgQZ0P0R | |
| Y93db6vB+Jr419w2pRnoOGEzJbIGY/njvYJGyA73Izz+r1Tr38VQbfX3/AnFFj8G | |
| lXbZL12lLy4NoGl88JvhfnF9oqNkbceKwR31hMFk/PYmdhOj7Zd8diRKygE7h/x6 | |
| 8AvneUkMYiWsB5/rShuwwRsjePKl7FLI52u1jQM2cuyMifXFkbx+VpZPNnHe5sTA | |
| J3FuWV/zOYhGWBgACDEoMF8EfnkpQIJvXzWT2ZLZqrYk/rddZXK3bLhkXhKwESx0 | |
| 3Nx1mLSA2AsKFSsbU8A6wiTfyqdGxa3S5nkrcb+6doUBDgM9iImS797nMhAD/A1Y | |
| vlKzb+UC5BmML/aXNcvcYJ6oxErE22hupMimivkmUaWvtG9W9cbZvDPMgpTADFFp |
I hereby claim:
To claim this, I am signing this object:
| Anyone know why the value of "volume" goes up and down over time in the Bitstamp ticker? | |
| 2014-03-26 01:29:55 +1030 : {"last"=>578.27, "timestamp"=>1395759587, "volume"=>13123.56315962} | |
| 2014-03-26 01:30:06 +1030 : {"last"=>578.27, "timestamp"=>1395759597, "volume"=>13122.76327669} | |
| 2014-03-26 01:30:32 +1030 : {"last"=>575.0, "timestamp"=>1395759619, "volume"=>13140.92418922} | |
| 2014-03-26 01:30:42 +1030 : {"last"=>575.0, "timestamp"=>1395759631, "volume"=>13137.05772951} | |
| 2014-03-26 01:31:14 +1030 : {"last"=>575.0, "timestamp"=>1395759662, "volume"=>13141.85942981} | |
| 2014-03-26 01:31:30 +1030 : {"last"=>575.0, "timestamp"=>1395759675, "volume"=>13142.02797010} | |
| 2014-03-26 01:31:51 +1030 : {"last"=>575.0, "timestamp"=>1395759697, "volume"=>13141.92324196} | |
| 2014-03-26 01:33:31 +1030 : {"last"=>575.0, "timestamp"=>1395759793, "volume"=>13140.05760184} |