Skip to content

Instantly share code, notes, and snippets.

View janstuemmel's full-sized avatar

Jan Stümmel janstuemmel

View GitHub Profile
@janstuemmel
janstuemmel / README.md
Last active January 21, 2018 23:49
OpenWRT on Raspberry PI

OpenWRT on Raspberry PI

Flash Image

  1. Download Image at RasPi OpenWRT Wiki
  2. Flash SDCard sudo dd if=openwrt-brcm2708-bcm270*-sdcard-vfat-ext4.img of=/dev/sdX bs=2M
  3. Put SDCard into your RasPi and start

Configue

@janstuemmel
janstuemmel / rc.xml
Created December 20, 2017 22:46
openbox keyboard media keys
<openbox_config xmlns="http://openbox.org/3.4/rc" xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- config ... -->
<keyboard>
<!-- in section keyboard add following: -->
<keybind key="XF86AudioLowerVolume">
<action name="Execute"><execute>amixer -q sset Master 3%-</execute></action>
</keybind>
<keybind key="XF86AudioRaiseVolume">
<action name="Execute"><execute>amixer -q sset Master 3%+</execute></action>
</keybind>
@janstuemmel
janstuemmel / slides.tex
Created December 14, 2017 17:19
latex beamer boilerplate
\documentclass{beamer}
\usepackage[utf8]{inputenc}
\usetheme{default}
\title{Krypto}
\author{Jon Doe}
\date{\today}
\begin{document}
\maketitle
@janstuemmel
janstuemmel / latex-biber-min.tex
Created October 27, 2017 10:11
Minimal biber latex file
\documentclass{article}
\usepackage[margin=0.7in]{geometry}
\usepackage[parfill]{parskip}
\usepackage[utf8]{inputenc}
\usepackage{amsmath,amssymb,amsfonts,amsthm}
\usepackage[backend=biber,style=authoryear,citestyle=authoryear]{biblatex}
@janstuemmel
janstuemmel / p2p-node.md
Last active September 28, 2017 18:06
List of Peer-to-peer resources, mostly related to nodejs
@janstuemmel
janstuemmel / cache_rsync.sh
Last active August 28, 2017 11:48
tar+cp/rsync speed
#!/bin/bash
mkdir -p caching_speed_rsync &&
cd caching_speed_rsync &&
npm init -y &&
npm install --save lodash express jest react &&
mkdir -p /tmp/test-cache/node_modules &&
@janstuemmel
janstuemmel / README.md
Last active October 26, 2023 15:26
HTML boilerplate (with tailwind)

HTML with tailwind css

npm i -D tailwindcss normalize.css postcss autoprefixer
npx tailwindcss -i ./main.css -o ./dist/output.css --watch
@janstuemmel
janstuemmel / .babelrc
Last active February 26, 2018 17:19 — forked from Sigmus/gulpfile.js
gulpfile.js with browserify, reactify, watchify and gulp-notify.
{
"presets": [ "es2015", "react" ]
}
@janstuemmel
janstuemmel / Caddyfile
Last active March 28, 2017 21:34
Caddy HTTP
foo.example.com:443 {
proxy / 127.0.0.1:1337
}
@janstuemmel
janstuemmel / README.md
Last active May 26, 2020 13:47
Installation script for a portable platformio editor

a simple install script to build a portable version of the [PlatformIO IDE][pioide] based on the atom editor.

referenced to [platformio/platformio-atom-ide/issues/158][ref]

Usage

  • wget https://gist.githubusercontent.com/janstuemmel/5dea680981d443c8d93c9c7e12f08611/raw/install.sh
  • chmod +x install.sh
  • execute: ./install.sh v1.14.4