View .gitignore
target | |
Cargo.lock |
View gist:275dd64da903482b5f5b
### Keybase proof | |
I hereby claim: | |
* I am dpc on github. | |
* I am dpc (https://keybase.io/dpc) on keybase. | |
* I have a public key whose fingerprint is C99B B634 A0F5 3F7F BDA8 B870 2F6A 8931 F7C9 95D9 | |
To claim this, I am signing this object: |
View Makefile
cbuf: cbuf.h cbuf.c | |
gcc -O3 -std=gnu99 cbuf.c -o cbuf |
View tcp_bench.go
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"sync" | |
"sync/atomic" | |
"time" |
View gist:7c6902f2ca6e25f27f58
Verifying that +dpc is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dpc |
View Makefile
RUSTC ?= rustc | |
#LOG_FLAGS ?= RUST_LOG=rustc::metadata::creader | |
all: glhex | |
run: all | |
./glhex | |
glhex: main.rs *.rs |
View prices.html
<html><head><title>Prices</title> | |
<script type="text/javascript" src="http://btcrate.com/convert.js?from=eur&to=btc"></script> | |
</head><body> | |
<table> | |
<tr> | |
<td>Beer 1</td><td><span id="eur0"></span></td><td><span id="btc0"></span></td> | |
</tr> | |
<tr> | |
<td>Beer 2</td><td><span id="eur1"></span></td><td><span id="btc1"></span></td> |
View gist:3055236
#!/bin/bash | |
# Easy drive encryption script | |
# using LUKS | |
DEVICE="$1" | |
NAME="$2" | |
KEYDIR="/keys" | |
KEYFILE="/keys/$NAME.key" | |
HEADERFILE="/keys/$NAME.luks.header" | |
MOUNTPOINT="/mnt/$NAME" |
View temporary-file
This is just a temporary test file. |