Skip to content

Instantly share code, notes, and snippets.

View sbstjn's full-sized avatar
🔥
Barista, Barista! – Antifascista!

Sebastian Müller sbstjn

🔥
Barista, Barista! – Antifascista!
View GitHub Profile
@sbstjn
sbstjn / keybase.md
Last active July 5, 2016 14:13
keybase.md

Keybase proof

I hereby claim:

  • I am sbstjn on github.
  • I am sbstjn (https://keybase.io/sbstjn) on keybase.
  • I have a public key ASCDyo1tK1cnJk-j3zidcRwVER4IEagGaC1s6jGjt0Po0wo

To claim this, I am signing this object:

@sbstjn
sbstjn / app.js
Last active June 30, 2016 08:56
Example usage of `latenz` npm module
const Latenz = require('latenz');
const l = new Latenz();
l.measure('sbstjn.com').then(result => {
console.log(result);
}).catch((e) => {
throw e;
});
<?php
use some\namespace\{ClassA, ClassB, ClassC as C};
use function some\namespace\{fn_a, fn_b, fn_c};
use const some\namespace\{ConstA, ConstB, ConstC};
class Example {
private $logger;
public function __construct() {
@sbstjn
sbstjn / keymap_sbstjn.c
Last active November 28, 2017 16:56
TMK Keyboard Layout
#include "keymap_common.h"
const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KEYMAP(
GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS, EQL, BSPC, ESC, PGUP,
TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC, RBRC, BSLS, DEL, PGDN,
FN0, A, S, D, F, G, H, J, K, L, SCLN, QUOT, ENT,
LSFT, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT, UP,
LCTL, LALT, LGUI, SPC, RGUI, RALT, RCTL, LEFT, DOWN, RGHT
),
@sbstjn
sbstjn / keyboard.md
Last active May 5, 2019 19:52
Shopping List to build a 68% Keyboard with a Sandwich Case

Without the keycaps all items to build the keyboard sum up to around 105 EUR / 125 USD. The aluminium plates for the Sandwich Case and of course the Cherry MX switches are the most expensive components.

[
{
"backcolor": "#b8b8b8",
"name": "68Keys.io",
"author": "Layout for custom 68% Mechanical Keyboard - https://68Keys.io",
"switchMount": "cherry",
"plate": true
},
[
"~\n`",