I hereby claim:
- I am walm on github.
- I am walm (https://keybase.io/walm) on keybase.
- I have a public key ASD8wyxTFZJesCUccx3W7f6f_0s6nB8YW0VgXSpzcwIHfwo
To claim this, I am signing this object:
package main | |
import ( | |
"io" | |
"strconv" | |
"time" | |
"github.com/gin-gonic/gin" | |
) |
package main | |
import ( | |
"bytes" | |
"code.google.com/p/go.crypto/openpgp" | |
"encoding/base64" | |
"io/ioutil" | |
"log" | |
"os" | |
) |
# Generator for valid Swedish personnummer: http://en.wikipedia.org/wiki/Personal_identity_number_(Sweden) | |
# By Henrik Nyh <http://henrik.nyh.se> 2009-01-29 under the MIT license. | |
require 'date' | |
module Personnummer | |
def self.generate(date=nil, serial=nil) | |
date ||= Date.new(1900+rand(100), 1+rand(12), 1+rand(28)) | |
serial = serial ? serial.to_s : format("%03d", 1+rand(999)) # 001-999 |
I hereby claim:
To claim this, I am signing this object:
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
"regexp" | |
"time" | |
) |
package main | |
import ( | |
"fmt" | |
"log" | |
"strconv" | |
"github.com/miekg/dns" | |
) |
gs -q -sPAPERSIZE=a4 -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=output.pdf file1.pdf file2.pdf file3.pdf [...] lastfile.pdf |
go test -v ./... | \ | |
sed ''/PASS/s//$$(printf "\033[32mPASS\033[0m")/'' | \ | |
sed ''/SKIP/s//$$(printf "\033[34mSKIP\033[0m")/'' | \ | |
sed ''/FAIL/s//$$(printf "\033[31mFAIL\033[0m")/'' |
// A small SSH daemon providing bash sessions | |
// | |
// Server: | |
// cd my/new/dir/ | |
// #generate server keypair | |
// ssh-keygen -t rsa | |
// go get -v . | |
// go run sshd.go | |
// | |
// Client: |