Skip to content

Instantly share code, notes, and snippets.

View jhcarr's full-sized avatar

J. Carr jhcarr

View GitHub Profile
@jhcarr
jhcarr / Sencha Env Setup Script
Last active August 29, 2015 14:04
This document describes the steps required to set up Sencha with Phonegap on Ubuntu 14.04 x64
### Ubuntu 14.04, 64-bit
### Sencha Touch Environment Setup
# Update Java environment and tools
sudo apt-get update
sudo apt-get install openjdk-7-jdk
sudo apt-get install openjdk-7-jre
# Double-check version information
java -version
@jhcarr
jhcarr / SdgStringSolver.hs
Last active September 22, 2017 17:08
Potential solution to question 3 from SDG student interview
module SdgStringSolver where
import Data.List
import Data.Char
help = "Run findTargetSubString against a test case such as test1 or test2."
target = "sdg"
test1 = ["SDGxx", "xxSDG", "xSDGx"] -- All results are true
@jhcarr
jhcarr / checkoutHammer
Created November 8, 2016 23:54
A half-baked solution to SVN server timeouts
#! /bin/bash
### SVN CHECKOUT HAMMER
### Justin Carr : 11/8/2016
### A half-baked solution to SVN server timeouts.
## Globals
hammer="";
url="";
cleanTarget="";
@jhcarr
jhcarr / changelist-maker
Last active October 18, 2021 17:33
Create a new SVN changelist, named <name> and add modified project files to it; similar to \`git add -u\`. All further arguments are ignored.
#! /bin/bash
### SVN Changelist-Maker
### Justin Carr : 8-31-2017
### I miss git's `add -U` functionality ... and git in general.
breakLine=0;
function printUsage(){