I hereby claim:
- I am erikdubbelboer on github.
- I am erikdubbelboer (https://keybase.io/erikdubbelboer) on keybase.
- I have a public key whose fingerprint is A88D 9578 C2CB C1D2 9F33 B036 50EB FD5E DAB6 324F
To claim this, I am signing this object:
/* | |
#include <stdlib.h> // free() | |
#include <grp.h> | |
#include <pwd.h> | |
*/ | |
import "C" | |
#!/bin/bash | |
while true; do | |
rsync -v --progress --partial files* example.com::erik | |
if [ "$?" = "0" ]; then | |
echo "rsync completed normally." | |
exit | |
else | |
echo "rsync failure, retrying..." | |
sleep 60 |
var mysql = require('mysql'); // npm install mysql@2.0.0-alpha7 | |
var client = mysql.createConnection({ | |
"host" : "127.0.0.1", | |
"port" : 3306, | |
"user" : "user", | |
"password": "password", | |
"database": "" | |
}); |
I hereby claim:
To claim this, I am signing this object:
import os | |
import csv | |
import json | |
import heapq | |
def sortCSV(infile, column, reverse, cast): | |
outfiles = [] | |
if reverse: |
server { | |
include /etc/nginx/server.conf; | |
listen 80; | |
server_name dubbelboer.com; | |
root /var/www/dubbelboer.com; | |
index index.php index.html; | |
location ~ \.php$ { |
package gziphandler | |
import ( | |
"compress/gzip" | |
"log" | |
"net/http" | |
"strings" | |
"sync" | |
) |
#!/bin/bash | |
renice -n 19 $$ >&2 | |
for tag in `ddfs ls | grep -- -[ico]1- | sort -k 3n -t '-'`; do | |
while true; do | |
if [[ `ps ax | grep python | wc -l` -lt 20 ]]; then | |
break | |
fi | |
sleep 2 |
erik$ go version | |
go version go1.4.1 darwin/amd64 | |
erik$ go test -v usecase_test.go | |
=== RUN TestUseOfClosedNetworkConnection | |
--- PASS: TestUseOfClosedNetworkConnection (0.01s) | |
usecase_test.go:15: request start | |
usecase_test.go:34: timeout | |
usecase_test.go:17: request end | |
PASS | |
ok command-line-arguments 0.019s |
package main | |
import ( | |
"encoding/binary" | |
"log" | |
"net" | |
"time" | |
) | |
func main() { |