Skip to content

Instantly share code, notes, and snippets.

Avatar

Francis Byrne francisbyrne

View GitHub Profile
@francisbyrne
francisbyrne / test-pkg.sh
Created Jun 23, 2015
Test Meteor package with node-inspector
View test-pkg.sh
#!/bin/bash
node-inspector &
MONGO_URL=mongodb://localhost:27017/test NODE_OPTIONS='--debug' meteor test-packages ${1} --port 3010
@francisbyrne
francisbyrne / git-suir
Created Nov 18, 2014
Recursively synchronise git submodules in your repository
View git-suir
#!/bin/bash
pushd "$(git rev-parse --show-toplevel)"
git submodule sync
git submodule update --init --recursive $*
popd
@francisbyrne
francisbyrne / chmodr.sh
Created Sep 16, 2012
Recursive chmod script for dirs and/or files
View chmodr.sh
#!/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.
#