I hereby claim:
- I am raphaelm on github.
- I am raphaelm (https://keybase.io/raphaelm) on keybase.
- I have a public key whose fingerprint is 6654 0831 7895 7043 9A44 C80D 4F70 B444 E1C6 8BA1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Blog post moved to my new blog.
<?php | |
ob_start(); | |
$start = microtime(1); | |
for($i = 0; $i < 1000000; $i++){ | |
echo "abc", "def", "ghi", "jkl", "mno", "pqr"; | |
} | |
$end = microtime(1); | |
ob_end_clean(); | |
echo "Kommas: ".(($end-$start)/1000000)."\n"; |
program unbenannt; | |
{$mode objfpc}{$H+} | |
uses sysutils; | |
var i, nums: integer; | |
var a, b, now: real; | |
BEGIN |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from mpd import (MPDClient, CommandError) | |
import sys | |
import datetime | |
import Skype4Py | |
from time import sleep | |
if len(sys.argv) < 2: |
#!/bin/sh | |
urxvt -bg black -fg green -e ssh -D 2323 HOST & | |
pkill google-chrome | |
killall google-chrome | |
google-chrome --proxy-server=socks4://localhost:2323& |
#!/bin/bash | |
i3status | while : | |
do | |
read line | |
if [[ "$line" == *"full_text"* ]] ; then | |
if ! amixer sget 'Capture',0 | grep '\[on\]' > /dev/null 2>&1 ; then | |
if [[ "$line" == ","* ]]; then | |
echo -n "," | |
fi | |
echo $line | sed s/^,//g | jshon -n object -i 0 -e 0 -s "name" -i "micmute" -s "mic muted" -i "full_text" -p | tr '\n' ' ' |
#!/usr/bin/env python | |
# | |
# elements.py | |
# | |
# Checks whether it is possible to compose a given name out of chemical | |
# element symbols, like Caroline out of Carbon (C), Argon (Ar), Oxygen (O) | |
# Lithium (Li) and Neon (Ne). | |
# | |
# The implementation consists of a simple backtracking algorithm. | |
# |
#!/usr/bin/env python | |
""" | |
From https://github.com/docker/docker/issues/6354#issuecomment-60817733 | |
All credit goes to https://github.com/adamhadani | |
Check all existing Docker containers for their mapped paths, and then purge any | |
zombie directories in docker's volumes directory which don't correspond to an | |
existing container. | |
""" |