Skip to content

Instantly share code, notes, and snippets.

View gabriel4649's full-sized avatar

Gabriel gabriel4649

View GitHub Profile
@ustun
ustun / eslint-auto.el
Created January 12, 2016 23:59
run eslint --fix on emacs file save
;;; runs eslint --fix on the current file after save
;;; alpha quality -- use at your own risk
(defun eslint-fix-file ()
(interactive)
(message "eslint --fixing the file" (buffer-file-name))
(shell-command (concat "eslint --fix " (buffer-file-name))))
(defun eslint-fix-file-and-revert ()
(interactive)
@facultymatt
facultymatt / Procfile
Created April 12, 2013 16:23
Get Deployd running on Heroku!
web: node server
@mrvdb
mrvdb / gist:3111823
Created July 14, 2012 15:25
Automatic asynchronous org-mobile-push in idle time.
;; Show a notification when a push has been completed
(require 'notifications)
(defun notify-push (result)
(notifications-notify
:title "Push complete"
:body (format "Org-mobile-push: %s" result)
)
)
;; Fork the work of pushing to mobile