Last active
December 26, 2015 05:39
-
-
Save joninvski/7101749 to your computer and use it in GitHub Desktop.
Gist to save general tips. Temporary while they aren't cleaned up
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kill all sessions in tmux except the attached one: | |
tmux ls | grep -v attached | cut -d : -f 1 | xargs -I {} tmux kill-session -t {} | |
# Create a shared (group cnm_dev) git repo with acl | |
mkdir project | |
cd project | |
git init --bare --shared | |
setfacl -R -m g:cnm_dev:rwX $PWD | |
find `pwd` -type d | xargs setfacl -R -m d:g:cnm_dev:rwX | |
# Compile each tipe source code is saved | |
while true; do inotifywait -e close_write **/*.java **/*.gradle; ./gradlew build; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment