Task: $ARGUMENTS
- Derive a kebab-case slug from the task description (e.g., "rename an SD" →
rename-sd) - Create and checkout git branch:
{slug}
This script tries to make it easy to test changes in a go project by:
go test on those packagesThis makes it easy to ensure your changes have not broken any compile-time dependencies, and that all existing tests are passing.
(1) FEATURE EXPECTATIONS [5 min]
(1) Use cases
(2) Scenarios that will not be covered
(3) Who will use
(4) How many will use
(5) Usage patterns
I hereby claim:
To claim this, I am signing this object:
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "os" | |
| "time" | |
| "github.com/garyburd/redigo/redis" | |
| ) |
Unfortunately, the Cisco AnyConnect client for Mac conflicts with Pow. And by "conflicts", I mean it causes a grey-screen-of-death kernel panic anytime you connect to the VPN and Pow is installed.
As an alternative, there is OpenConnect, a command-line client for Cisco's AnyConnect SSL VPN.
Here's how to get it set up on Mac OS X:
OpenConnect can be installed via homebrew:
brew update
brew install openconnect
| #!/bin/bash | |
| apt-get install -y curl unzip | |
| mkdir -p /var/lib/consul | |
| mkdir -p /usr/share/consul | |
| mkdir -p /etc/consul/conf.d | |
| export CONSUL_VER=0.6.4 | |
| export CONSUL_FILE=consul_$(CONSUL_VER)_linux_amd64.zip | |
| #eg: https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip |
| Meteor.publish( | |
| 'scores', | |
| function() { | |
| return Scores.find( | |
| {score:{$gt:100}}, | |
| { | |
| fields: {user:1,score:1}, | |
| sort:{score:-1}, | |
| limit:10, | |
| skip:pageNumber*pageSize |
| mrt | |
| Stand back while Meteorite does its thing | |
| Done installing smart packages | |
| Ok, everything's ready. Here comes Meteor! | |
| [[[[[ ~/programming/nodejs/charter-watch/app ]]]]] |