Skip to content

Instantly share code, notes, and snippets.

View krid78's full-sized avatar

Daniel Kriesten krid78

View GitHub Profile
@AndiH
AndiH / .latexmkrc
Created January 25, 2016 14:05
One current .latexmkrc steering configuration file
$ENV{'TEXINPUTS'}=':.//:./__include/theme/juelich2/:'; # set environment variable to steer pdflatex to use also the __include directory
$recorder = 1; # try to use the .fls to notice changed files
$pdf_mode = 1; # generate PDFs, not DVIs
# $bibtex_use = 2; # run BibTeX/biber when appears necessary
$pdflatex = "pdflatex --shell-escape %O %S"; # add shell-escape
$pdf_previewer = "open -a /Applications/Skim.app %O %S"; # actually only important if in continuous preview mode, -pvc
$clean_ext = 'nav snm vrb'; # also clean those extensions when invoking latexmk -c
## The following is for glossaries
# add_cus_dep('glo', 'gls', 0, 'run_makeglossaries');
@bitsgalore
bitsgalore / jpylyzer-menu.reg
Last active March 8, 2022 03:49
Add Windows context menu items
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\jpylyzer]
[HKEY_CLASSES_ROOT\*\shell\jpylyzer\command]
@="\"C:\\jpylyzer\\jpylyzer.exe\" \"%1\" > \"%1.xml\""
@joshdick
joshdick / git_prompt.png
Last active February 12, 2024 04:16
My Git prompt for zsh.
git_prompt.png
@andreyvit
andreyvit / tmux.md
Created June 13, 2012 03:41
tmux cheatsheet

tmux cheat sheet

(C-x means ctrl+x, M-x means alt+x)

Prefix key

The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:

remap prefix to Control + a

<?php
/**
* Gist Command - Easy way to embed a gist in Dokuwiki
* Usage: %gist(gist_id)%
* @license Three Clause BSD
* @author Yuvi Panda (http://yuvi.in)
*/
class CommandPluginExtension_gist extends CommandPluginExtension
{