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/sh | |
# pre-commit hook to check for console logs in staged files | |
# Authors: David Allen drallen1, Spencer Nowak spencernowak | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object |
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 | |
use strict; | |
use warnings; | |
#set vars | |
my $file_names; | |
my @split_names; | |
#run the pull command | |
`git pull origin master`; |
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 | |
#Script written by David Allen on April 15th 2013 | |
use warnings; | |
use Data::Dumper; | |
my @databases = ("TEST"); | |
foreach( @databases ) | |
{ | |
$db = $_; | |
open(FD, $db . "_stored_procs.sql"); | |
my @procedure; |
NewerOlder