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
#!/usr/bin/env python | |
# File: log_exec.py | |
# Author: McKay Davis | |
# Date: Jun 23, 2014 | |
# Non-blocking stdout and stderr read from a | |
# Popen process | |
import os | |
import subprocess |
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
#!/usr/bin/env bash | |
set -e | |
if [ "$1" = "-h" ] || [ "$1" = "--help" ] ; then | |
echo "usage: git sync [remote-name]" | |
echo | |
echo "Sync's the current repository to another remote host, using git," | |
echo "but not using this repository." | |
echo |