I hereby claim:
- I am dasprid on github.
- I am dasprid (https://keybase.io/dasprid) on keybase.
- I have a public key whose fingerprint is D9C9 EBCB 95D3 1CB5 BBE4 08F0 970E 1463 AFB4 67FB
To claim this, I am signing this object:
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import os | |
import hexchat | |
__module_name__ = "MPD Status" | |
__module_version__ = "0.0.1" | |
__module_description__ = "Sends MPD status" |
I hereby claim:
To claim this, I am signing this object:
<?php | |
$routes = []; | |
if ($_SERVER['ENV'] === 'production') { | |
$options = ['hostname' => 'connect.mysite.com', 'secure' => true]; | |
} else { | |
$options = ['hostname' => 'connect.localhost.com']; | |
} |
#!/bin/bash | |
# Timelapse script by Ben Scholzen 'DASPRiD' | |
# Licensed under the Simplified BSD License | |
# http://opensource.org/licenses/BSD-2-Clause | |
FFPROBE=/usr/bin/ffprobe | |
FFMPEG=/usr/bin/ffmpeg | |
SOXI=/usr/bin/soxi | |
SPLASH_LENGTH=5 |
#!/bin/bash | |
CARD_INDEX=0 | |
PROFILE_SPEAKERS='output:iec958-stereo' | |
PROFILE_HEADPHONES='output:analog-stereo' | |
CURRENT_PROFILE=$(LANG=C \ | |
pactl list cards \ | |
| grep -E '^Card #|Active Profile:' \ | |
| sed ':a;N;$!ba;s/\(Card #[0-9]*\)\n/\1: /g' \ |
From 81d9e159d2bd5bffbf573a9c502e96be9df9311a Mon Sep 17 00:00:00 2001 | |
From: Ben Scholzen <[email protected]> | |
Date: Fri, 1 Nov 2013 01:03:12 +0100 | |
Subject: [PATCH] Add chunk decoding (hard-coded for now, should be | |
header-dependent) | |
--- | |
src/Sslurp/MozillaCertData.php | 18 +++++++++++++++++- | |
1 file changed, 17 insertions(+), 1 deletion(-) |
Ben Scholzen @DASPRiD 1 Sep 11 | |
Just had a bike crash with a car :( | |
Ben Scholzen @DASPRiD 1 Sep 11 | |
@cogocogo I were on the bike, yes. Head wound and something on the arm broken | |
Ben Scholzen @DASPRiD 1 Sep 11 | |
@sprunka already in the hospital | |
Ben Scholzen @DASPRiD 1 Sep 11 |
<?php | |
$statusRoute = $routeStack->getRoute('status'); | |
$versionRoute = new Segment('/v:version'); | |
$chainRoute = new Chain(array($versionRoute, $statusRoute), $routeStack->getRoutePluginManager(), null); | |
$routeStack->removeRoute('status'); // Not really required, as addRoute() will override this anyway… just for completeness. | |
$routeStack->addRoute('status', $chainRoute); | |
Used font: http://stuff.dasprids.de/fonts/ubuntumono-powerline.tar.bz2
You can patch any font yourself with the fontpatcher: https://github.com/Lokaltog/vim-powerline/tree/develop/fontpatcher
<?php | |
$locale = 'en-US'; | |
$formatter = new IntlDateFormatter($locale, null, null, null, null, 'MMMM'); | |
$date = new DateTime('1970-01-01'); | |
$monthNames = array(); | |
for ($monthNo = 1; $monthNo <= 12; $monthNo++) { | |
$monthNames[] = $formatter->format($date); | |
$date->modify('+1 month'); |