Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlueColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw
LjQ5MDE5NjA3ODQgMC41NjQ3MDU4ODI0IDAuNjQzMTM3MjU0OQAQAYAC0hAREhNaJGNs
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp
PROMPT=$'%(?.%{$fg[magenta]%}⌘.%{$fg[red]%}⌦) %(?.%{$fg[cyan]%}.%{$fg[red]%})%~%{$reset_color%} %{$(git_prompt_info)%}%{$reset_color%}'
PS2=$' %{$fg[red]%}|>%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%(?.%{$fg[yellow]%}.%{$fg[red]%})("
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}%(?.%{$fg[yellow]%}.%{$fg[red]%})) "
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗"
ZSH_THEME_GIT_PROMPT_CLEAN=" %(?.%{$fg[green]%}.%{$fg[red]%})✓"
@burnsra
burnsra / proxy.sh
Last active June 16, 2016 13:58
Proxy definition script
#!/bin/sh
proxyDomain="127.0.0.1"
proxyPort="3128"
proxyAuthenticated="off"
proxyEnabled="yes"
if [ "$1" != "" ]; then
proxyDomain=$1
fi
@burnsra
burnsra / gist:7f5d03889aa0896bb1162e8b8d5c989a
Last active March 31, 2016 19:46
Non-blocking NSTimer
var timer: NSTimer?
timer = NSTimer.scheduledTimerWithTimeInterval(5.0, target: self, selector: #selector(self.test(_:)), userInfo: nil, repeats: true)
NSRunLoop.mainRunLoop().addTimer(timer!, forMode: NSRunLoopCommonModes)
@burnsra
burnsra / xcode_rename.sh
Last active March 31, 2016 18:30
Xcode Project Rename
find $(pwd) ! -path . -type d -name "$1*" -print0 | xargs -0 rename -S "$1" "$2"
find $(pwd) ! -path . -type f -name "$1*" -print0 | xargs -0 rename -S "$1" "$2"
ack --literal --files-with-matches "$1" --print0 | xargs -0 sed -i "" "s/$1/$2/g"
@burnsra
burnsra / pre-commit
Created March 3, 2016 23:40
Reserved word pre-commit hook
# Instructions:
# Put this file into your ~/.git-templates/hooks folder and set as executable (chmod +x pre-commit)
# If you want to skip the hook just add --no-verify as follows: git commit --no-verify
# ---------------------------------------------
#!/bin/sh
RESERVED_LIST="alert(\|console.log(\|USERNAME"
@burnsra
burnsra / LoginHelper.swift
Created February 14, 2016 15:20
A helper to add an application to a users login items
//
// LoginHelper.swift
// SquidBar
//
// Created by Robert Burns on 2/11/16.
// Copyright © 2016 Robert Burns. All rights reserved.
//
import Foundation
@burnsra
burnsra / gist:bf7f6138145d43052b45
Created August 12, 2015 19:23
VirtualBox - El Capitan
for bin in VirtualBox VirtualBoxVM VBoxNetAdpCtl VBoxNetDHCP VBoxNetNAT VBoxHeadless; do
sudo chmod u+s "/Applications/VirtualBox.app/Contents/MacOS/${bin}"
done
@burnsra
burnsra / index.html
Created April 20, 2015 14:02
JS Bin Controller example // source http://jsbin.com/dekola
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Controller example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<meta charset=utf-8 />
Devin's Story
I guess the best place to start is at the beginning. When you’re expecting a child I guess everyone hopes for a routine "normal" delivery.
And so begins Devin's journey...
Devin's difficulties started with an unforeseen trauma at birth which led to developmental delays for all his bench marks. It seems now that all of Devins problems are not linked to this tragic event. He was late to turn over, crawl, walk and talk but otherwise was a happy and generally healthy baby. He was diagnosed with low muscle tone and attended therapies from 9 months on and continued to develop at his own pace. Devin's pace.
Once he was able to communicate he would complain of headaches that were so debilitating that he would cry out in pain, sleep and vomit. The doctors appointments were endless, going from specialist to specialist, with no answers. Devin entered school but experienced many difficulties learning to read, write and understand simple math equations he was far behind developmentally. It became clear D