Skip to content

Instantly share code, notes, and snippets.

View xerp's full-sized avatar
🎯
Focusing

Santiago de Pedro xerp

🎯
Focusing
  • Dominican Republic
View GitHub Profile
@xerp
xerp / ns-cheatsheet.clj
Created April 9, 2018 21:45 — forked from ghoseb/ns-cheatsheet.clj
Clojure ns syntax cheat-sheet
;;
;; NS CHEATSHEET
;;
;; * :require makes functions available with a namespace prefix
;; and optionally can refer functions to the current ns.
;;
;; * :import refers Java classes to the current namespace.
;;
;; * :refer-clojure affects availability of built-in (clojure.core)
;; functions.
@xerp
xerp / watch.sh
Last active October 12, 2015 08:10 — forked from mikesmullin/watch.sh
watch is a linux bash script to monitor file modification recursively and execute bash commands as changes occur
#!/usr/bin/env bash
# script: watch
# authors: Mike Smullin <[email protected]>, Santiago de Pedro <[email protected]>
# license: GPLv3
# description:
# watches the given path for changes
# and executes a given command when changes occur
# usage:
# watch <path> <cmd...>
#