Skip to content

Instantly share code, notes, and snippets.

@andreoss
andreoss / fib
Created June 26, 2020 02:25
tail recursive and cached
#!/bin/sh
_() { echo $(awk 'END{x=$2;$2=$3;$3=x+$2;print}' < "$0")| tee -a "$0" ; }
: 0 1 | _
@andreoss
andreoss / .editorconfig
Last active October 23, 2020 17:21
Qulice-compliant .editorconfig
[*]
charset = utf-8
end_of_line = lf
tab_width = 4
indent_size = 4
indent_style = space
insert_final_newline = false
max_line_length = 80
ij_visual_guides = 80
ij_wrap_on_typing = true