๐ @dcai's gist index
- ๐ index.md
gist:907013gist index
- ๐ gitolite.sh
gist:1063097Setting up gitolite for archlinux
- ๐ cvs-moodle.bash
gist:1071173cvs helper for moodle repository
- ๐ daemon.py
- ๐ฆ cg, cgvg_parser.awk, vg
| #!/usr/bin/env python | |
| import sys, os, time, atexit | |
| from signal import SIGTERM | |
| class Daemon: | |
| """ | |
| A generic daemon class. | |
| Usage: subclass the Daemon class and override the run() method |
| ct (){ | |
| if [ $# -eq 0 ]; then | |
| echo "CVS TAG: No arguments entered."; | |
| return 1 | |
| else | |
| echo "Tagging [MOODLE_$1_MERGED]"; | |
| echo "File(s) ${@:2}"; | |
| echo "Tagging ..."; | |
| cvs tag -RF MOODLE_$1_MERGED ${@:2} |
| # First, get you id_rsa.pub onto the server as /tmp/YourName.pub | |
| scp ~/ssh/id_rsa.pub [email protected]:/tmp/dongsheng.pub | |
| # Then, as root: | |
| cd $HOME | |
| yaourt -S gitolite-git | |
| su git |
gist:907013 gist indexgist:1063097 Setting up gitolite for archlinuxgist:1071173 cvs helper for moodle repository