Skip to content

Instantly share code, notes, and snippets.

Thomas thomasaw

Block or report user

Report or block thomasaw

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
thomasaw / xcodebuild or xctool specifying destination
Last active Mar 20, 2016
xcodebuild or xctool specifying destination
View xcodebuild or xctool specifying destination
xctool test -workspace MyProject.xcworkspace/ -scheme MyScheme -configuration UnitTest -sdk iphonesimulator -destination "platform=iOS Simulator,OS=8.1,name=iPhone 4s" -destination-timeout 1
thomasaw / compass.ino
Last active Aug 29, 2015
SparkFun MAG3110 Breakout Example Code - updated for Arduino wire changes. Also see here:
View compass.ino
MAG3110 Breakout Example Code
by: Aaron Weiss, aaron at sparkfun dot com
SparkFun Electronics 2011
date: 9/6/11
license: beerware, if you use this code and happen to meet me, you
can by me a beer
The code reads the raw 16-bit x, y, and z values and prints them
thomasaw / .bash_colors
Created Jan 5, 2015
Color values for bash
View .bash_colors
# from
# Reset
Color_Off='\e[0m' # Text Reset
# Regular Colors
Black='\e[0;30m' # Black
Red='\e[0;31m' # Red
Green='\e[0;32m' # Green
Yellow='\e[0;33m' # Yellow
View .bash_profile
export CLICOLOR=1
thomasaw / .bash_profile
Created Dec 27, 2014
bash entry for grep color support
View .bash_profile
export GREP_OPTIONS='--color=auto'
You can’t perform that action at this time.