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 | |
previous_head_ref=$1 | |
new_head_ref=$2 | |
is_branch_checkout=$3 | |
if [[ "$previous_head_ref" != "$new_head_ref" ]] && [[ "$is_branch_checkout" == 1 ]]; then | |
branch=$(git rev-parse --abbrev-ref HEAD) | |
#if [[ "develop" != "$branch" ]]; then | |
path="$(dirname "$0")/.." |
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
# wrapper around aws s3 to simpllify get/put of secure resources from our s3 bucket. | |
AWS:= aws | |
S3:=s3://secure.example.com | |
S3PATH:=/ | |
FILE=secure.conf | |
REMOTE=${S3}${S3PATH}${FILE} | |
help: |
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 | |
package Example::Bot::Backbone::Jabber; | |
use strict; | |
use warnings; | |
use v5.10; | |
use Bot::Backbone; | |
use DateTime; | |
#modified from Bot::Backbone synopsis | |
my $domain = 'chat.example.com'; |
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
package MyEnginePlackPrototype; | |
use strict; | |
use warnings; | |
use Plack::Request; | |
use JSON::XS; | |
use MyEngineLogic; | |
sub send_response |
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 | |
# | |
# By Andrew Grangaard ( http://www.lowlevelmanager.com ) | |
# inspired by | |
# svnvimdiff: | |
# Copyright 2007 by Geoff Buchan | |
# http://www.vim.org/scripts/script.php?script_id=1797 | |
# which was | |
# Based on the script cvsvimdiff, written by | |
# Stefano Zacchiroli <[email protected]> |
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 | |
shift 5; | |
vimdiff -f "$@" |
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
use Test::More; | |
#use Secret::Object; | |
#use Secret::Message; | |
BEGIN { use_ok('Secret::Object') }; | |
BEGIN { use_ok('Secret::Message') }; | |
my %attrs_for_object1 = (); | |
my %attrs_for_object2 = (); |
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; | |
use JIRA::Client; | |
use Text::CSV; | |
my $user = 'jirauser'; | |
my $password = 'jirapass'; |
NewerOlder