Skip to content

Instantly share code, notes, and snippets.

View mksscert
#!/bin/sh
DOMAIN=$1
if [ "$DOMAIN" = "" ]; then
echo "Please supply domain"
exit
fi
CONFFILE=/tmp/${DOMAIN}-$$.cnf
C=NL
O=${DOMAIN}
View download_maps
#!/bin/bash
URL='http://download.osmand.net/download?standard=yes&file='
for MAP in *.obf; do
MAPFILE=${MAP#./}
MAPNAME=${MAPFILE%.obf}
echo $MAPNAME
DLMAP=${MAPNAME}_2.obf.zip
DLURL=${URL}${DLMAP}
wget $DLURL -O $DLMAP
View download_roads
#!/bin/bash
URL='http://download.osmand.net/download?standard=yes&file='
for MAP in *.obf; do
MAPFILE=${MAP#./}
MAPNAME=${MAPFILE%.road.obf}
echo $MAPNAME
DLMAP=${MAPNAME}_2.road.obf.zip
DLURL=${URL}${DLMAP}
wget $DLURL -O $DLMAP
View id_rsa.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDYWfBxvb7BV3GY3+sFWNwBZvTBEFwmBJQRuMvyqf0anSJdwnGa+gQi9clI8u5TEoS5pKq7v1PAEUd3sepNYuJMuJ2UM1EsCLJkGpZ9Lg5VcKi7pR9r0hBwvX3t7lXvVijb0uyQ+iQygU1fXiRnH5XR1LO1AzFqQYtAzp+88TRbvw48DyfN+H15AUdqfK2itkOi9ipUu0tL/64Pq1udLci6wvYFl6WBU7Mm1tuRY2GCCdDBgcOipnksLCeHBEd5vqO2tk3HCmtMxJ34krd6carlfKlzWifOOinAxdaYbmMwpzx4AGPTBoooOpHpiKAGo7OtVDUvEhl+4Ss0EVCeiaov martin@minivanes
View circadian_lights.py
"""
A Home Assistant (home-assistant.io) service to component lights that accept RGB, XY or MIREDS color commands.
Original Copyright (c) 2017 Alexandre Conde <xlcnd@outlook.com>
https://gist.github.com/xlcnd/01b2d8a28d9d77af901840072360a434
Edited by Martin van Es, October 2018
Licensed under MIT
View keybase.md

Keybase proof

I hereby claim:

  • I am mrvanes on github.
  • I am mrvanes (https://keybase.io/mrvanes) on keybase.
  • I have a public key whose fingerprint is FE4C 2A0D 3AB5 AF03 8347 FC4A 65A5 2289 4EAE 80EF

To claim this, I am signing this object: