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
-- Persistent Data
local multiRefObjects = {
} -- multiRefObjects
local obj1 = {
["arcade"] = {
};
["session"] = {
["last_level_score"] = 0;
["sequence"] = "arcade";
;; A
(defadvice org-capture-finalize (around org-capture-finalize-around)
"Delete frame after finalizing capture."
ad-do-it
(delete-frame))
;; B
(defadvice org-capture-finalize (around org-capture-finalize-around)
"Delete frame after finalizing capture."
(ad-do-it
magician_action-l-00-00.png
magician_action-l-00-01.png
magician_action-l-00-02.png
magician_action-l-00-03.png
magician_action-l-00-04.png
magician_action-l-00-05.png
magician_action-l-00-06.png
magician_action-l-00-07.png
magician_action-l-01-00.png
magician_action-l-01-01.png
@legumbre
legumbre / gist:3816096
Created October 2, 2012 04:02
foo foo
#!/bin/bash
echo foo bar
# foo bar baz
echo baz
(setq jka-compr-compression-info-list
(mapcar (lambda (v)
(if (equal (aref v 0) "\\.g?z\\'")
(vconcat ["\\.gz\\'"] (remove "\\.g?z\\'" v))
v))
jka-compr-compression-info-list))
(jka-compr-update)
;;; touch ~/.z
;;; C-x C-f attempts to gunzip ~/.z
;;; initial value of auto-mode-alist
Value: (("\\.pde\\'" . java-mode)
("\\.md" . markdown-mode)
("\\.\\([pP]\\([Llm]\\|erl\\|od\\)\\|al\\)\\'" . cperl-mode)
("\\.lua$" . lua-mode)
("\\.clj$" . clojure-mode)
("\\.gpg\\(~\\|\\.~[0-9]+~\\)?\\'" nil epa-file)
@legumbre
legumbre / fluxbox_tips.txt
Created September 21, 2012 23:51
fluxbox configuration tips for btv
# enable fluxbox-remote
# add session.screen0.allowRemoteActions: true to ~/.fluxbox/init
# fluxbox-remote commands
fluxbox-remote 'MoveTo 0 0'
fluxbox-remote 'ToggleDeco'
@legumbre
legumbre / apps.txt
Created September 21, 2012 23:45
btv fluxbox config
# fluxbox config for btv booth
[app] (class=ffplay)
[Deco] {NONE}
[Position] {0 0}
[end]
@legumbre
legumbre / dropbox
Created September 21, 2012 21:12
/etc/initd./dropbox
# chkconfig: 345 85 15
# description: Startup script for dropbox daemon
# stolen from http://blog.justin.kelly.org.au/running-dropbox-on-centos-in-a-headlessvps-se/
#
# processname: dropboxd
# pidfile: /var/run/dropbox.pid
#
# Source function library.
. /etc/rc.d/init.d/functions
;;; flymake configuration for lua
;;; assumes luac is in $PATH
;;; Install:
;; copy flymake-lua.el somewhere in your load-path
;;
;; in ~/.emacs:
;; (eval-after-load 'lua-mode '(add-hook 'lua-mode-hook 'flymake-lua-setup))
;; (autoload #'flymake-lua-setup "flymake-lua" nil t)