Skip to content

Instantly share code, notes, and snippets.

718 - I am not a teapot

Thiemo thiemok

718 - I am not a teapot
  • Someplace, Germany
Block or report user

Report or block thiemok

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
thiemok /
Created Mar 14, 2018
Auto launch tmux, add this to your .bashrc or similar
[[ $- != *i* ]] && return
if [[ -z "$TMUX" ]] ;then
ID="`tmux ls | grep -vm1 attached | cut -d: -f1`" # get the id of a deattached session
if [[ -z "$ID" ]] ;then # if not available create a new one
tmux new-session
tmux attach-session -t "$ID" # if available attach to it
thiemok / pocketchip.kmp
Created Mar 11, 2018
Pocketchip keymap for headless boot - fixed for zsh
View pocketchip.kmp
keymaps 0-2,4-5,8,12
altgr keycode 2 = F1
altgr keycode 3 = F2
altgr keycode 4 = F3
altgr keycode 5 = F4
altgr keycode 6 = F5
altgr keycode 7 = F6
altgr keycode 8 = F7
altgr keycode 9 = F8
altgr keycode 10 = F9
thiemok / blinks-chip.zsh-theme
Last active Mar 11, 2018
zsh Theme for the fantastic pocketCHIP, will display battery level and charging indicator
View blinks-chip.zsh-theme
#!/usr/bin/env sh
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/' ~/.config/chromium/'Local State'
sed -i 's/"exited_cleanly":false/"exited_cleanly":true/; s/"exit_type":"[^"]\+"/"exit_type":"Normal"/' ~/.config/chromium/Default/Preferences
chromium-browser --kiosk --fast --fast-start --enable-low-res-tiling --disable-infobars
thiemok /
Last active May 28, 2018
Gogs nginx ssl reverse proxy config
server {

    listen 443;
    server_name sub.domain.tld;

    ssl_certificate           /etc/nginx/server.crt;
    ssl_certificate_key       /etc/nginx/server.key;

    ssl on;
thiemok /
Last active Nov 30, 2016
Twitch live channels Widget for Dashing

The MIT License (MIT)

Copyright (c) 2016 Thiemo Krause

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:


Keybase proof

I hereby claim:

  • I am thiemok on github.
  • I am thiemok ( on keybase.
  • I have a public key whose fingerprint is F73D 351F 74F3 CFFA BF0D 952B 7385 6990 779B 60ED

To claim this, I am signing this object:

You can’t perform that action at this time.