This file contains hidden or 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
#!/bin/bash | |
# http://www.pythonforbeginners.com/basics/how-to-use-python-virtualenv/ | |
# this gives us python 2.7 | |
#virtualenv env ./env | |
# start venv like this | |
mkdir env && cd env | |
virtualenv -p python3 --no-site-packages env . |
This file contains hidden or 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
#!/bin/bash | |
# This is a reminder script when I need to reset the root of my git repo | |
# from https://stackoverflow.com/questions/11764003/change-the-root-directory-of-a-git-repository | |
# /path/to/repo/but/i/want/the/target-dir/* -> /path/to/repo/* | |
cd /path/to/repo | |
git filter-branch \ | |
--subdirectory-filter but/i/want/the/target-dir \ | |
--tag-name-filter cat \ |
This file contains hidden or 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
#!/bin/bash | |
# This is a simple script to walk through the Integration-manager style of | |
# git workflow. Without a server such as gitlab, having only standard file | |
# system access, this is what is necessary. | |
demodir=~/repos/demo | |
gold=$demodir/repo-gold | |
silver=$demodir/repo-silver | |
bronze=$demodir/repo-bronze | |
sandbox=$demodir/repo-sandbox |
This file contains hidden or 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/perl -w | |
use strict; | |
my $self=$0; | |
# (1) quit unless we have the correct number of command-line args | |
my $num_args = $#ARGV + 1; | |
if ($num_args != 2) { | |
print "\nUsage: $self <raw WF csv> <output>\n"; | |
exit; |
This file contains hidden or 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/perl -w | |
use strict; | |
my $self=$0; | |
# (1) quit unless we have the correct number of command-line args | |
my $num_args = $#ARGV + 1; | |
if ($num_args != 2) { | |
print "\nUsage: $self <raw UFCU csv> <output>\n"; | |
exit; |
This file contains hidden or 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/local/bin/python3.5 | |
print('Hello gist') |