Skip to content

Instantly share code, notes, and snippets.

i’m fine

Josef Friedrich Josef-Friedrich

i’m fine
Block or report user

Report or block Josef-Friedrich

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
from PIL import Image
import random, math
import tkinter as tk
def diff( num1 , num2 ):
return max( num1 , num2 ) - min( num1 , num2 )
#create a class to store the HAMA bead colors
class Color:
View Sway-on-Ubuntu-1804.txt
sudo apt-get install libgles2-mesa-dev libdrm2 libdrm-dev libegl1-mesa-dev xwayland
sudo apt-get install meson cmake build-essential libinput10 libinput-dev libxkbcommon0 libxkbcommon-dev libudev-dev libxcb-image0 libxcb-image0-dev libxcb-composite0 libxcb-composite0-dev libxcb-xkb1 libxcb-xkb-dev libgbm1 libgbm-dev libdbus-1-dev libsystemd-dev zlib1g-dev libpixman-1-dev libxcb-ewmh-dev wayland-protocols git
git clone
# meson >= 0.47.1
sudo pip3 install meson
meson build
# error need wayland-protocols >= 1.17
#! /bin/sh
# Short URL:
# Run with: wget -O - | sh
echo lol
View project.sublime-project
"path": "/home/user/project"
"folder_exclude_patterns": [".git", ".settings"],
"file_exclude_patterns": ["*.tmLanguage", ".tmTheme"]
Josef-Friedrich / .githook_pre-commit
Last active Feb 14, 2018
pre-commit hook to clean up tex, latex repository
View .githook_pre-commit
#! /bin/sh
# Extensions:
EXT="aux fdb_latexmk log out pdf synctex.gz"
# Symlink to .git/hooks/pre-commit
# cd .git/hook
# ln -s ../../.githook_pre-commit pre-commit
_remove() {

Keybase proof

I hereby claim:

  • I am josef-friedrich on github.
  • I am joseffriedrich ( on keybase.
  • I have a public key whose fingerprint is C079 6BE1 F501 396F 3639 B135 5C58 51CB 88EA C1AC

To claim this, I am signing this object:

You can’t perform that action at this time.