Skip to content

Instantly share code, notes, and snippets.

View bluemaex's full-sized avatar

Max Stockner bluemaex

View GitHub Profile
@bluemaex
bluemaex / esphome_deepdeck.yaml
Created February 3, 2026 17:35
DeepDeck ESPHome YAML with Focus/Meeting Mode. The background led of a key represent it's state (on or off) - If the device isn't used for a while the LEDs are dimmed
esphome:
name: deepdeck-ahuyama
esp32:
board: esp32dev
framework:
type: esp-idf
wifi:
ssid: !secret wifi_ssid
@bluemaex
bluemaex / latitude.py
Created December 7, 2012 18:58
Convert a Google Latitude JSON-File to a GPX-File
import os
import simplejson
import subprocess
import datetime
f = open('latitude.json', 'r')
locdata = simplejson.loads(f.read());
fd = open('latitude.gpx', 'w')
fd.write("""# <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
@bluemaex
bluemaex / gist:1043460
Created June 23, 2011 19:51
profileme
alias profileme='history | awk '\''{print $2}'\'' | awk '\''BEGIN{FS="|"}{print $1}'\'' | sort | uniq -c | sort -n | tail -n 20 | sort -nr'