Skip to content

Instantly share code, notes, and snippets.

View SoftwareMaven's full-sized avatar

Travis Jensen SoftwareMaven

View GitHub Profile
@jimfulton
jimfulton / gitrpm.py
Created September 19, 2013 21:02
Here's a script we sometimes used to build rpms from git projects....
#!/opt/cleanpython26/bin/python
"""usage: %prog options
Automate tagging and buildoing rpms from hg python projects.
You need to run this on a centos machine.
This probably wants to be a recipe to automatically pull in
buildout-siyrce release. Or maybe this shouldn't involve source
releases.
@josephwecker
josephwecker / new_bashrc.sh
Created August 11, 2012 04:36
Replace .bashrc, .bash_profile, .profile, etc. with something much more clean, consistent, and meaningful. Now a repo: https://github.com/josephwecker/bashrc_dispatch
#!/bin/bash
# License: Public Domain.
# Author: Joseph Wecker, 2012
#
# -- DEPRICATED --
# This gist is slow and is missing .bashrc_once
# Use the one in the repo instead! https://github.com/josephwecker/bashrc_dispatch
# (Thanks gioele)
#
# Are you tired of trying to remember what .bashrc does vs .bash_profile vs .profile?