I hereby claim:
- I am dsprenkels on github.
- I am dsprenkels (https://keybase.io/dsprenkels) on keybase.
- I have a public key whose fingerprint is 951D 6F6E C19E 5D87 1A61 A7F4 1445 C075 FFD5 68CD
To claim this, I am signing this object:
#!/bin/sh | |
VERSION="1.3.1" | |
git clone https://github.com/texane/stlink.git | |
cd stlink | |
git checkout $VERSION | |
sudo apt-get install cmake libgtk-3-dev libusb-1.0-0-dev | |
cd build | |
cmake -DCMAKE_BUILD_TYPE=Release .. |
#!/usr/bin/env python3 | |
""" | |
A toy implementation of Shamir's secret sharing scheme in Python | |
Copyright (c) 2017 Daan Sprenkels <hello@dsprenkels.com> | |
*Do not use in production code!* | |
This is a toy implementation. This code is hardened against regular and cache | |
timing attacks. But Python is a high-level language, and thus not suitable for |
#!/bin/sh | |
KEYNAME="$1" | |
SERIAL="$2" | |
openssl genrsa -des3 -out $KEYNAME.key 4096 | |
openssl req -new -key $KEYNAME.key -out $KEYNAME.csr | |
openssl x509 -req -days 365 -in $KEYNAME.csr -CA ca.crt -CAkey ca.key -set_serial $SERIAL -out $KEYNAME.crt | |
openssl pkcs12 -export -clcerts -in $KEYNAME.crt -inkey $KEYNAME.key -out $KEYNAME.p12 |
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import re | |
products = [ | |
(r'(kratten )?bier', 'bier'), | |
(r'flessen rode wijn|rood|rode wijn', 'rood'), | |
(r'(flessen witte wijn )?zoet|zoete witte wijn', 'zoet'), | |
(r'(flessen witte wijn )?droog|droge witte wijn', 'droog'), |
#!/usr/bin/env python3 | |
import getpass | |
import email | |
import imaplib | |
HOST = 'dsprenkels.com' | |
USER = 'hello@dsprenkels.com' | |
PASSWD = getpass.getpass() | |
MAILBOX = 'Voorraadcie.Reserveringen' |
#!/bin/sh | |
set -e | |
WGET="wget --quiet" | |
URL="http://example.com/piwik/index.php" | |
# make sure that these values are correctly url-encoded! | |
MYSQL_DB="piwik" | |
MYSQL_USER="piwik" |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Author: Daan Sprenkels <dsprenkels@science.ru.nl> | |
# Description: script for easy printing to Péage from lilo | |
PROGNAME="peage-print" | |
VERSION="0.1.2 (2016-08-30)" | |
PRINT_SERVER="payprint01.ru.nl" | |
PRINT_QUEUE="RU-Print" | |
SNUMBER_CACHE_FILE="$HOME/.cache/snumber.txt" |
#!/bin/sh | |
# build initially and skip if this build is broken | |
./configure --enable-ccache --enable-debug | |
make -j3 check-stage1-TSUITE || (make clean; rm -rf ./x86_64-unknown-linux-gnu/ dist/ dl/ tmp/; exit 125) | |
# deploy our regression test | |
cp issue-XXX.rs src/test/TESTSUITE/ | |
# run the regression test suite |