Skip to content

Instantly share code, notes, and snippets.

View daerich's full-sized avatar
👁️
Carefully watching

DaErich daerich

👁️
Carefully watching
  • Lucent Division
  • leaq %rax, Germany(%rip),
View GitHub Profile
@daerich
daerich / daerichs.theme
Created January 18, 2021 15:55
My ZSH theme
#Load promptinit (thanks archers :D)
autoload -Uz promptinit && promptinit
prompt_daerichstheme_setup(){
PS1="%B%F{green}%n%f%F{red}::%f%F{green}%m%f %F{cyan}%~ %#%f%b :"
RPS1="[%F{yellow}%N%f]"
}
# promptsys_init
prompt_themes+=( daerichstheme )
@daerich
daerich / concat.sh
Last active January 14, 2021 12:47
Useful pdf concat using ghostscript
#!/bin/bash
#from https://stackoverflow.com/questions/48136770/merge-pdf-files-by-string-in-filename-using-ubuntu-terminal
#append '-q' switch to silence gs
gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=out.pdf input*.pdf
@daerich
daerich / autoexec.cfg
Last active July 13, 2019 13:31
My autoexec
//launchoptions: -console -novid -language bananagaming/english -tickrate 128 -nojoy +exec autoexec.cfg
//by DaErich
//viewmodel
viewmodel_fov "70"
viewmodel_offset_x "1"
viewmodel_offset_y "2"
viewmodel_offset_z "-1.5"
viewmodel_presetpos "4"
cl_viewmodel_shift_left_amt 0
cl_viewmodel_shift_right_amt 0