Skip to content

Instantly share code, notes, and snippets.

@francisbyrne
francisbyrne / test-pkg.sh
Created June 23, 2015 21:02
Test Meteor package with node-inspector
#!/bin/bash
node-inspector &
MONGO_URL=mongodb://localhost:27017/test NODE_OPTIONS='--debug' meteor test-packages ${1} --port 3010
@francisbyrne
francisbyrne / git-suir
Created November 18, 2014 21:40
Recursively synchronise git submodules in your repository
#!/bin/bash
pushd "$(git rev-parse --show-toplevel)"
git submodule sync
git submodule update --init --recursive $*
popd
@francisbyrne
francisbyrne / chmodr.sh
Created September 16, 2012 07:54
Recursive chmod script for dirs and/or files
#!/bin/sh
#
# chmodr.sh
#
# author: Francis Byrne
# date: 2011/02/12
#
# Generic Script for recursively setting permissions for directories and files
# to defined or default permissions using chmod.
#