I hereby claim:
- I am tanema on github.
- I am timanema (https://keybase.io/timanema) on keybase.
- I have a public key ASB-TL0sgWCQjhi74q_peFJTNo2FDEgs3llgDLu6uQr1VAo
To claim this, I am signing this object:
package hershey | |
import ( | |
"fmt" | |
"math" | |
"strings" | |
"sync" | |
"time" | |
) |
#! /bin/bash | |
###################### USAGE ###################################### | |
usage() { | |
echo " | |
Usage: mongotos3 [-t n] mongo_host mongo_collection s3_bucket | |
-t : number of parallel processes to use | |
mongo_host : the host of the mongodb server | |
mongo_collection : the collection to collecthe gridfs data from | |
s3_bucket : the name of the bucket you want to cp the files to | |
" |
require 'localstore' | |
DB.set(key: "value") | |
DB.exists?(:key) # => true | |
DB.get(:key) # => "value" | |
DB.get(:other, "default value") # => default val | |
DB.get(:other) do | |
val = computed_val() | |
DB.set(other: val) | |
val |
package main | |
import ( | |
"fmt" | |
"strconv" | |
"strings" | |
) | |
const ( | |
// These are secret random numbers that are meant to help encrypt and disguise |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"fmt" | |
"flag" | |
"net" | |
"bufio" | |
"os" | |
"time" | |
"strconv" |
git ls-files | perl -pe "s/.*\.(.*?)\n/\.\1\n/" | awk '/\..*/' | sort | uniq | xargs -n1 -E '\n' -I % sh -c 'git ls-files "*%" | xargs cat | echo "$(wc -l) %"' | sort -rn |
ABApp.TriggerableTextField = Ember.TextField.extend(Ember.TargetActionSupport, { | |
insertNewline: function() { | |
this.triggerAction(); | |
} | |
}); |
set nocompatible " use vim defaults | |
set mouse=a " use mouse because I am a noob | |
set ls=2 " allways show status line | |
set tabstop=2 " numbers of spaces of tab character | |
set shiftwidth=2 " numbers of spaces to (auto)indent | |
set scrolloff=3 " keep 3 lines when scrolling | |
set showcmd " display incomplete commands | |
set hlsearch " highlight searches | |
set incsearch " do incremental searching | |
set ruler " show the cursor position all the time |