I hereby claim:
- I am koenhendriks on github.
- I am koen_hendriks (https://keybase.io/koen_hendriks) on keybase.
- I have a public key whose fingerprint is 0A34 B569 8C26 1565 0805 4973 4850 1615 D891 7C0C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
alias ..="cd .." | |
alias ...="cd ../.." | |
alias routes='artisan route:list' | |
alias h='cd ~' | |
alias c='clear' | |
alias art=artisan | |
alias dump='composer dump-autoload' | |
alias ide='php artisan clear-compiled && php artisan ide-helper:generate && php artisan optimize' | |
alias phpspec='vendor/bin/phpspec' | |
alias phpunit='vendor/bin/phpunit' |
#!/usr/bin/env bash | |
current=`xdotool get_desktop` | |
max=`xdotool get_num_desktops` | |
if [ "$1" = "left" ]; then | |
desktop=`expr $current - 1` | |
elif [ "$1" = "right" ]; then | |
desktop=`expr $current + 1` | |
else |
location / { | |
root {DOCROOT}public | |
if ($scheme != "https") { | |
rewrite ^ https://$http_host$request_uri? permanent; | |
} | |
try_files /public/$uri /public/$uri/ /public/index.php?$query_string; | |
} |
{ | |
"project": "matrix-chat", | |
"services": [ | |
{ | |
"id": "matrix", | |
"apps": [ | |
{ | |
"id": "synapse-server", | |
"image": "matrixdotorg/synapse", | |
"cmd": "./start.py generate && ./start.py run", |
iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE |
IRC #deltion Quotes | |
24 September 2013 | |
10:05 <@Chameleon> morge | |
10:06 <@Chameleon> happy bday corne :D | |
10:06 < corne> ty | |
10:07 <@Chameleon> dus heb je al een highchart voor me gemaakt met goede x en y assen ? | |
10:07 < corne> en hey | |
10:07 < corne> euhm |
/* | |
TempLcd.ino | |
2017 Copyright (c) Koen Hendriks. All right reserved. | |
Connect LCD: | |
VCC : 5v | |
GND : GND | |
SDA : A4 Arduino | |
SCL : A5 Arduino | |
# Extract archives - use: extract <file> | |
# Based on http://dotfiles.org/~pseup/.bashrc | |
function extract() { | |
if [ -f "$1" ] ; then | |
local filename=$(basename "$1") | |
local foldername="${filename%%.*}" | |
local fullpath=`perl -e 'use Cwd "abs_path";print abs_path(shift)' "$1"` | |
local didfolderexist=false | |
if [ -d "$foldername" ]; then | |
didfolderexist=true |
!/bin/sh | |
FILE="$(date +%F_%H-%M-%S)-scrot.png" | |
gnome-screenshot -f $FILE -a && ~/Documents/screenshot.sh ~/$FILE | xclip -selection clipboard && mv ~/$FILE ~/shots/ |