Skip to content

Instantly share code, notes, and snippets.

View felsenhower's full-sized avatar
☀️

Ruben Felgenhauer felsenhower

☀️
  • Hamburg
View GitHub Profile
@felsenhower
felsenhower / latex-logo.typ
Last active April 12, 2023 16:15
LaTeX-Logo in Typst
// © 2023 Ruben Felgenhauer
// Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.
#let LaTeX = {
let A = (
offset: (
x: -0.33em,
y: -0.3em,
),
size: 0.7em,
@felsenhower
felsenhower / texstudio+latexmk+output-directory.md
Last active May 27, 2021 10:53
Setting up TeXstudio with latexmk and a build directory

Setting up TeXstudio with latexmk and a build directory

It's annoying that LaTeX creates so many auxiliary files and TeXstudio offers no possibility to delete them automatically on program exit.

I also want to use latexmk, since it caches results and therefore builds very quickly, since it doesn't always have to compile everything.

This is a workaround to configure TeXstudio so that latexmk writes to a build directory.

Modpack: https://www.curseforge.com/minecraft/modpacks/valhelsia-3
Installieren: https://aur.archlinux.org/packages/multimc5
Herunterladen: https://www.curseforge.com/minecraft/modpacks/valhelsia-3/files/3165371
- MultiMC starten
- Einstellungen
- Konten
- Minecraft-Konto hinzufügen
@felsenhower
felsenhower / gist:ee64ff35345d6632fb8189d9f28afe85
Created September 7, 2018 09:30
Steam System Information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-4790S CPU @ 3.20GHz
CPU Family: 0x6
@felsenhower
felsenhower / prepare-commit-msg
Last active March 3, 2021 12:24
Prepare your git commit messages with bullshit
#!/bin/sh
# This git hook prepares your commit messages with five lines of technology bullshit in full-width characters to choose from.
# For information about bullshit on Arch Linux:
# See https://github.com/fceschmidt/bullshit-arch
# For information on the full-width character converter:
# See https://gist.github.com/felsenhower/e103a0f6c2354b9d74afd9e6e60c16c5
# For information about how to install a global git hook for all repos:
# See https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook
@felsenhower
felsenhower / full-width
Last active March 3, 2021 11:02
Script to convert letters to their full-width counterparts
#!/bin/perl
# This perl script converts ASCII characters between 0x21 ("!") and 0x7E ("~") to full-width characters.
# https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms
# All other characters will be ignored!
# Examples:
# $ echo 'Lorem ipsum dolor sit amet, consectetur, adipisci velit' | ./full-width
# Lorem ipsum dolor sit amet, consectetur, adipisci velit
# $ echo 'Hello, Mr. Schrödinger! What does "ħ" mean?' | ./full-width
# Hello, Mr. Schrödinger! What does "ħ" mean?