Skip to content

Instantly share code, notes, and snippets.

View legumbre's full-sized avatar

Leonardo Etcheverry legumbre

  • GlamST / Ulta
  • Montevideo, Uruguay
View GitHub Profile
@legumbre
legumbre / gist:1140438
Created August 11, 2011 18:57
simplifying units with emacs calc
;; simplifying units with calc, ie 1.23e-10 s -> 123 ps
'1.23e-10s RET ;; algebraic input
s u ;; calc-simplify-units
# set mac volume
sudo osascript -e "set Volume 10"
@legumbre
legumbre / *scratch*
Created July 28, 2011 02:11
Pipes and exit status
# forwarding exit status
(exit 127) | echo foo; (exit ${PIPESTATUS[0]}); echo $?
@legumbre
legumbre / .fetchmailrc
Created June 3, 2011 05:40
my fetchmailrc
set daemon 310
poll pop.gmail.com with proto POP3
user 'user@domain' there with password 'XXXXXXX' is leo here options keep nofetchall ssl sslcertck sslcertpath '/home/leo/.certs/'
mda "/usr/bin/procmail -d %T"
(message "testing gist.el again")
(message "testing gist.el")