Skip to content

Instantly share code, notes, and snippets.

View Josef-Friedrich's full-sized avatar
🕶️
i’m fine

Josef Friedrich Josef-Friedrich

🕶️
i’m fine
View GitHub Profile
@Josef-Friedrich
Josef-Friedrich / keybase.md
Created September 30, 2014 06:25
keybase

Keybase proof

I hereby claim:

  • I am josef-friedrich on github.
  • I am joseffriedrich (https://keybase.io/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:

@Josef-Friedrich
Josef-Friedrich / project.sublime-project
Last active August 29, 2015 14:25
project.sublime-project
{
"folders":
[
{
"path": "/home/user/project"
"folder_exclude_patterns": [".git", ".settings"],
"file_exclude_patterns": ["*.tmLanguage", ".tmTheme"]
}
],
"settings":
#! /bin/sh
# Short URL: https://git.io/vHXJx
# Run with: wget -O - | sh
echo lol
@Josef-Friedrich
Josef-Friedrich / .githook_pre-commit
Last active February 14, 2018 23:23
pre-commit hook to clean up tex, latex repository
#! /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() {
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 git@github.com:swaywm/wlroots.git
# meson >= 0.47.1
sudo pip3 install meson
meson build
# error need wayland-protocols >= 1.17
# http://kneasle.weebly.com/hama-beads.html
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:
@Josef-Friedrich
Josef-Friedrich / settings.json
Last active January 7, 2023 12:22
Disable whitespace manipulation in VS Code
{
"files.trimTrailingWhitespace": true,
// rintoj.blank-line-organizer
// An empty array has no effect []
"blankLine.languageIds": ["xxx"]
}
<ol>
<li>
Jenö Konrad war eine außergewöhnliche Persönlichkeit. Doch wer war er
überhaupt?
<ol type="a">
<li>Mittelläufer &amp; Spielgestalter - *F*</li>
<li>Maler &amp; Zimmermann - *U*</li>
<li>Theologe &amp; Religionslehrer - *K*</li>
<li>Philosoph &amp; Direktor - *S*</li>