Skip to content

Instantly share code, notes, and snippets.

View Kattjakt's full-sized avatar

Leo Sandström Kattjakt

View GitHub Profile
@Kattjakt
Kattjakt / test.svg
Last active December 30, 2020 11:58
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Kattjakt
Kattjakt / cv.tex
Created November 13, 2014 21:40
cv
\documentclass[10pt,a4paper]{article} % Font size (10-12pt) and paper size (a4paper, letterpaper, legalpaper, etc)
\include{structure} % Include structure.tex which contains packages and document layout definitions
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[swedish]{babel}
\hyphenation{Some-long-word} % Specify custom hyphenation points in words with dashes where you would like hyphenation to occur, or alternatively, don't put any dashes in a word to stop hyphenation altogether
.xinitrc:
exec ~/.config/bspwm/init
init:
xsetroot -cursor_name left_ptr&
exec bspwm -c ~/.config/bspwm/bspwmrc
bspwmrc:
bspc monitor -d 1 2 3 4 5
bspc config top_padding 16
@Kattjakt
Kattjakt / pi.c
Created August 19, 2014 01:40
Pi-calculator in 80 bytes
f,i=1;main(){for(double p=0,d=4;;i+=2){printf("%.20f\n",p+=f%2?-d/i:d/i);f=!f;}}