Skip to content

Instantly share code, notes, and snippets.

@ckalima
ckalima / .less-watch
Created May 15, 2014 14:16
Sample .less-watch configuration file. This snippet will automatically compile a compressed .css file from marketplace.less whenever any .less files in the /Marketplace/webapp/apps/marketplace/less directory are altered.
/Marketplace/webapp/apps/marketplace/less/*.less: lessc -x --yui-compress -C /Marketplace/webapp/apps/marketplace/less/marketplace.less /Marketplace/webapp/apps/marketplace/css/marketplace.css
@ckalima
ckalima / remgit.sh
Created November 14, 2011 19:31
Shell Script to Create a Remote Git Repository
# remgit.sh
# Creates a remote git repository from the current local directory
# Configuration
# Replace SSH_USERNAME, SSH_HOST, SSH_GIT_PATH with your details
USER=SSH_USERNAME
HOST=SSH_HOST
GIT_PATH=SSH_GIT_PATH
REPO=${PWD##*/}