Skip to content

Instantly share code, notes, and snippets.

View vladdu's full-sized avatar

Vlad Dumitrescu vladdu

  • Göteborg, Sweden
View GitHub Profile
title: Little Bard
fields:
-
handle: text
field:
sets:
button:
display: Button
fields:
-
@vladdu
vladdu / emacs-indent-erlang
Last active August 29, 2015 13:56
Scripts to indent Erlang files from the command line
;;; File: emacs-indent-erlang
;;; adapted from http://www.cslab.pepperdine.edu/warford/BatchIndentationEmacs.html
;; this has to be set to the real path on your system
(add-to-list 'load-path "~/.emacs.d/elpa/erlang-20131025.6")
(load-library "erlang")
;; comment out the call to untabify if you want the mixed tabs and spaces
(defun emacs-indent-function ()
@ralfstx
ralfstx / comp-repo.sh
Created June 8, 2012 10:16
Tool to maintain p2 composite repositories
#!/bin/bash
#
# Tool to maintain p2 composite repositories
USAGE="Usage:
`basename "$0"` <repo-dir> [options] operation, operation ...
Options:
--name <repo name>
the repository name
--eclipse <eclipse install dir>