virulent
Also, OP required Redshift. DO does not offer that.
Your Go "project" goes in $GOPATH/src, i.e. your git repo would be in $GOPATH/src/github.com/user/repo
If you have your main pkg in $REPO/service, then you can build like so: go build github.com/user/repo/service (this can be ran from anywhere as it uses $GOPATH)
If you need to add a dependency, use: go get github.com/.... and go get will add it to $GOPATH/src/ which you can then import.
side note, it was fun to see what the max redirects is in Chrome with the redirect loop.
Was that 3-4 mins from first starting to read it to finishing a solution? If so then great, but personally I would've taken 10-15 minutes because I'd be carefully reading it first and wondering why it sounds so simple.
The time limits are quite brutal for some of the problems @ finals, most of them I'd never have a proper optimal solution for.
Also, the fact that Peking understood and solved A in just 5 minutes is crazy. Sure, I could at least do A, but they practice enormously just for these.
This is the same where I live. The crossing buttons do nothing during the day (walk symbols still come on for the same length of time), but at night they need to be used. I don't push it during the day, but of course most people still do :-)
Here's an example: https://jsfiddle.net/k61y5sLo/2/
Pre-callback
Evaluating getCallbackText()
Post-callback
callbackTest => cb("Alice")
Evaluating getCallbackText()
callbackTest => cb("Bob")
Evaluating getCallbackText()
Callback returned: Alice Bob
https://github.com/aldonline/reactivity #define while(x) if(x)
Too bad April 1 is already gone, I'm kind of tempted to try and sneak that in.[1] http://www.cs.earlham.edu/~skylar/humor/Unix/c.language.pran...
With LaTeX I find I make a lot less accidental mistakes. If something goes wrong, I know exactly what caused it (just look at my changes!)
Container linking lets containers connect to each other without exposing ports via docker.
The "linking" is exposed to the container via an /etc/hosts entry, so e.g. --link test-db:db adds "a.b.c.d db" to /etc/hosts which can be used by anything that needs it.
As mentioned by jon-wood, the simple linking approach only works with containers on the same machine unfortunately.