Skip to content

Instantly share code, notes, and snippets.

#!/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 December 24, 2015 18:01
GNU Global for other languages [Fortran] on Debian

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

;;; 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