Skip to content

Instantly share code, notes, and snippets.

Avatar

Jannis Teunissen jannisteunissen

View GitHub Profile
View gnuplot_pdflatex.sh
#!/usr/bin/env bash
if [ $# -lt 2 ]; then
echo "Number of arguments should at least be 2."
echo "$0 \"gnuplot commands\" \"pdf_file\" [\"xsize\"] [\"ysize\"]"
exit 1
fi
tmpdir=`mktemp -d 2>/dev/null || mktemp -d -t 'mytmpdir'`
filename=$tmpdir/$2
@jannisteunissen
jannisteunissen / global_instructions.md
Last active Dec 24, 2015
GNU Global for other languages [Fortran] on Debian
View global_instructions.md

Install exuberant tags

apt-get install exuberant-ctags

Download & compile GNU global source from

http://www.gnu.org/software/global/download.html

Compile & install global

View nameses.el
;;; Nameses enables named sessions.
;; Nameses is largely based on my-desktop.el by Scott Frazer
;; Modification by Jannis Teunissen
;; Version 0.02 - 21 Nov 2014 (added extra check)
;;; *** Usage ***
;; Note: if 'name' is not given, you'll be asked for a name
;;
;; (nameses-load prefix &optional name) -> without prefix: load session
;; (nameses-load prefix &optional name) -> with prefix: save session
You can’t perform that action at this time.