View .gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
target | |
Cargo.lock |
View gist:275dd64da903482b5f5b
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### 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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cbuf: cbuf.h cbuf.c | |
gcc -O3 -std=gnu99 cbuf.c -o cbuf |
View tcp_bench.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"fmt" | |
"log" | |
"net" | |
"sync" | |
"sync/atomic" | |
"time" |
View gist:7c6902f2ca6e25f27f58
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verifying that +dpc is my Bitcoin username. You can send me #bitcoin here: https://onename.io/dpc |
View Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RUSTC ?= rustc | |
#LOG_FLAGS ?= RUST_LOG=rustc::metadata::creader | |
all: glhex | |
run: all | |
./glhex | |
glhex: main.rs *.rs |
View prices.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is just a temporary test file. |