I hereby claim:
- I am mduvall on github.
- I am mduvall (https://keybase.io/mduvall) on keybase.
- I have a public key whose fingerprint is 054F A416 1AAB 622D DA04 FC2F B234 444B 6346 2A97
To claim this, I am signing this object:
| A gist |
| go test ./... -p=1 | |
| ok github.com/stripe/stripe-go 0.009s | |
| ok github.com/stripe/stripe-go/account 13.484s | |
| ok github.com/stripe/stripe-go/balance 1.082s | |
| ok github.com/stripe/stripe-go/bankaccount 1.315s | |
| ok github.com/stripe/stripe-go/bitcoinreceiver 3.678s | |
| ok github.com/stripe/stripe-go/bitcointransaction 0.919s | |
| ok github.com/stripe/stripe-go/card 9.035s | |
| ok github.com/stripe/stripe-go/charge 15.264s | |
| 2016/04/12 08:37:55 Requesting POST api.stripe.com/v1/charges |
I hereby claim:
To claim this, I am signing this object:
| # Configuration options | |
| config defaultToCurrentScreen true | |
| config modalEscapeKey esc | |
| config nudgePercentOf screenSize | |
| config resizePercentOf screenSize | |
| config windowHintsShowIcons true | |
| config windowHintsIgnoreHiddenWindows false | |
| config windowHintsSpread true | |
| config windowHintsSpreadSearchWidth 200 | |
| config windowHintsSpreadSearchHeight 200 |
| go get -d -v ./... | |
| echo | xargs -n1 go get -d | |
| go list ./... | xargs -n1 go test | |
| ok github.com/hashicorp/consul 0.019s | |
| ok github.com/hashicorp/consul/command 1.582s | |
| ok github.com/hashicorp/consul/command/agent 6.709s | |
| 2014/04/17 11:14:10 [INFO] raft: Node at 127.0.0.1:15000 [Follower] entering Follower state | |
| 2014/04/17 11:14:10 [INFO] serf: EventMemberJoin: Node 15000 127.0.0.1 | |
| 2014/04/17 11:14:10 [INFO] serf: EventMemberJoin: Node 15000 127.0.0.1 | |
| 2014/04/17 11:14:10 [INFO] consul: adding server for datacenter: dc1, addr: 127.0.0.1:15000 |
| // Assume the following variables... | |
| // r [][]string | |
| // s string | |
| // p []string | |
| // | |
| // Problem: append to r the []string x where x is p[1:] + [s] + p[:1] | |
| // 1. Do crazy appends | |
| r = append(r, append(append(append(make([]string, 0), p[:i]...), s), p[i:]...)) | |
| package main | |
| import ( | |
| "fasta" | |
| "fmt" | |
| "strings" | |
| ) | |
| func main() { | |
| fastaFile := fasta.NewFastaFileWithPath("orf.txt") |
| package main | |
| import ( | |
| "fasta" | |
| "fmt" | |
| ) | |
| func main() { | |
| fastaFile := fasta.NewFastaFile("cons.txt") |
| { type: 'Program', | |
| body: | |
| [ { type: 'VariableDeclaration', | |
| declarations: | |
| [ { type: 'VariableDeclarator', | |
| id: { type: 'Identifier', name: 'obj', range: [ 4, 7 ] }, | |
| init: | |
| { type: 'ObjectExpression', | |
| properties: | |
| [ { type: 'Property', |
| import sublime, sublime_plugin | |
| import os | |
| import tempfile | |
| import subprocess | |
| class SCPOnSave(sublime_plugin.EventListener): | |
| def on_post_save(self, view): | |
| folder_name, file_name = os.path.split(view.file_name()) | |
| file_path = folder_name + '/' + file_name | |
| command = 'scp ' + file_path + ' <URL HERE>:' + file_path + ' > /dev/null' |