Skip to content

Instantly share code, notes, and snippets.

Working from home

Sven Grunewaldt Strayer

Working from home
View GitHub Profile
View i2c.ex
defmodule ExLCD.HD44780.I2C do
@moduledoc """
**ExLCD.HD44780** is the display driver module for Hitachi
HD44780 type parallel LCD display controller managed display modules.
## Hitachi HD44780 Style Controller (including Sitronix ST7066)
The HD44780 is the most ubiquitous character matrix display controller
but not the only one. It supports a number of standard operations like
moving the cursor, displaying characters and scrolling. It is an 8-bit
Strayer / titusz-cryptop.rb
Created Nov 14, 2017
titusz/cryptop Homebrew Formula
View titusz-cryptop.rb
class TituszCryptop < Formula
desc "command line crypto portfolio"
homepage ""
head ""
include Language::Python::Virtualenv
depends_on :python3
resource "certifi" do
Strayer /
Last active Nov 17, 2017
Simple Python script to show BTC to EUR/USD as Alfred workflow result
import sys
from urllib.request import urlopen
import json
from decimal import Decimal
import locale
def format_eur(eur):
locale.setlocale(locale.LC_ALL, "de_DE.UTF-8")
return locale.currency(eur, grouping=True, international=True)

Keybase proof

I hereby claim:

  • I am strayer on github.
  • I am strayer ( on keybase.
  • I have a public key ASDL-9eATKRsw97yAX7vxbrfC3_qs0jfB0yS_cbGm-TqAwo

To claim this, I am signing this object:

Strayer / Dockerfile
Created May 24, 2016
Spigot Dockerfile
View Dockerfile
FROM alpine:3.3
RUN apk add --no-cache --repository tini && rm -rf /var/cache/apk/*
RUN apk add --no-cache openjdk8-jre && rm -rf /var/cache/apk/*
RUN apk add --no-cache --virtual=build-dependencies curl bash git grep && \
mkdir /tmp/minecraft-builder && \
View ynab.desktop
[Desktop Entry]
Path=/home/sgrunewaldt/.wine_YNAB4/drive_c/Program Files (x86)/YNAB 4
StartupWMClass=YNAB 4.exe
Strayer /
Created Jun 21, 2014
Run a secondary instance of Skype on Mac OS X
rm ~/Library/Application\ Support/Skype/
sleep 1
open -n "/Applications/"
Strayer / 0_reuse_code.js
Created Jun 5, 2014
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
Strayer / youtube-dl-dash.bash
Last active Apr 18, 2019
youtube-dl wrapper script to download DASH Video and Audio and combine it with ffmpeg with automatic best format detection and fallback to default youtube-dl behaviour for videos without DASH
View youtube-dl-dash.bash
#!/usr/bin/env bash
set -e
YOUTUBE_FORMATS=$(youtube-dl -F "$1")
if [[ "$YOUTUBE_FORMATS" == *"(DASH Video)"* ]]; then
VIDEO_NAME=$(youtube-dl --get-filename "$1")
echo "Filename: $VIDEO_NAME"
Strayer /
Last active Dec 29, 2015
Lists video page links of a YouTube playlist
You can’t perform that action at this time.