This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am thecarlhall on github. | |
* I am thecarlhall (https://keybase.io/thecarlhall) on keybase. | |
* I have a public key whose fingerprint is A91D B52F 5B79 FDF7 8148 F10A 8418 AB87 21C8 CE0E | |
To claim this, I am signing this object: |
This file contains 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
define(function() { | |
// Insert custom configuration here | |
var config = { | |
// Custom CSS Files to load in | |
skinCSS : ["/dev/skins/nyu/nyu.skin.css"], | |
Authentication : { | |
"allowInternalAccountCreation": false, | |
"internal": false, | |
"external": [{ |
This file contains 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/env python | |
import re | |
from sets import Set | |
import os | |
import pygraphviz as pgv | |
import sys | |
import telnetlib | |
# [ 1] [Active ] [ 15] org.sakaiproject.nakamura.messaging (0.11.0.SNAPSHOT) | |
bundle_from_ps = re.compile('^\[\s*(?P<bundle_id>\d+)\]\s\[.+\]\s(?P<bundle_name>.+)\s') |
This file contains 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 | |
NUM_USERS=100 | |
THREADS=1 | |
# variable to get us back to the parent director of nakamura & oae builder | |
BASE=../ | |
BRANCHES=('content-indexing' 'master') | |
PROCS=('conns' 'msgs') | |
WINDOW_NAME="Java Monitoring & Management Console" |
This file contains 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
update drupal_users | |
set mail = "seley@aarweb.org" | |
where mail not like '%@aarweb.org' | |
and mail not like '%@hallwaytech.com'; | |
update drupal_users | |
set mail = 'ssnider@aarweb.org' | |
where name in ('Z22505', 'S00304', 'Z37527', 'Z21587', 'Z38940', 'Z34751'); | |
update drupal_users |
This file contains 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
DATE=$(date +%Y%m%d-%H%M) | |
SITE_URL=papers.hallwaytech.com | |
DB_NAME=cod2.aar | |
DB_PASS="mm07e1bca901%7Emm" | |
DATA_FILE=$DB_NAME-$DATE.sql | |
SITE_FILE=papers_$DATE.tar.gz | |
SERVER_LOC=/srv/www/cod2.hallwaytech.com | |
# dump local mysql to data/ | |
mysqldump -u root -p$DB_PASS $DB_NAME > $DATA_FILE |
This file contains 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
<?php | |
?> | |
<div id="branding" class="clearfix"> | |
<?php print $breadcrumb; ?> | |
<?php print render($title_prefix); ?> | |
<?php if ($title): ?> | |
<h1 class="page-title"><?php print $title; ?></h1> | |
<?php endif; ?> | |
<?php print render($title_suffix); ?> |
This file contains 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
######################################################################### | |
# Pax Runner profile for Sakai OAE 1.4.0-SNAPSHOT using Apache Felix Http | |
######################################################################### | |
# | |
##### Dependencies | |
# | |
# start level 1 | |
scan-bundle:mvn:commons-io/commons-io/1.4@1 | |
scan-bundle:mvn:commons-fileupload/commons-fileupload/1.2.2@1 | |
scan-bundle:mvn:commons-collections/commons-collections/3.2.1@1 |
This file contains 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
$ sudo apt-get install ffmpeg youtube-dl | |
$ sudo install youtube2mp3 /usr/local/bin/ |
This file contains 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
function parse_git_branch { | |
git rev-parse --git-dir &> /dev/null | |
git_status="$(git status 2> /dev/null)" | |
branch_pattern="^On branch ([^${IFS}]*)" | |
remote_pattern="# Your branch is ([[:alnum:]]*)" | |
diverge_pattern="# Your branch and (.*) have diverged" | |
if [[ ${git_status} =~ ${branch_pattern} ]]; then | |
branch=${BASH_REMATCH[1]} | |
if [[ ${git_status} =~ "Changes not staged for commit" ]]; then |
OlderNewer