Skip to content

Instantly share code, notes, and snippets.

View firmread's full-sized avatar

Reed Tothong firmread

View GitHub Profile
@firmread
firmread / com.googlecode.iterm2.plist
Created June 24, 2016 07:30
Backup for my iTerm2 Preferences
<?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>AdjustWindowForFontSizeChange</key>
<true/>
<key>AllowClipboardAccess</key>
<false/>
<key>AnimateDimming</key>
<true/>
/*********************************************************************
This is an example for our nRF51822 based Bluefruit LE modules
Pick one up today in the adafruit shop!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
MIT license, check LICENSE for more information
@firmread
firmread / hidmouse_diff.ino
Last active April 20, 2016 15:37
diff check for hidmouse code
/*********************************************************************
This is an example for our nRF51822 based Bluefruit LE modules
Pick one up today in the adafruit shop!
Adafruit invests time and resources providing this open source code,
please support Adafruit and open-source hardware by purchasing
products from Adafruit!
MIT license, check LICENSE for more information
# https://github.com/egold/better-xcode-ibeam-cursor
curl -L https://raw.githubusercontent.com/egold/better-xcode-ibeam-cursor/master/install.sh | bash
@firmread
firmread / iframe.html
Created February 4, 2016 03:07
note on how to make clipped iframe
<!-- <div id="content">
<div style="height:800px;">
<iframe id="optomaFeed" src="http://www.optomausa.com/company/press-releases/" scrolling="auto"
frameborder="0" height="100%" width="100%"></iframe>
</div>
</div> -->
<div id="content">
<div style="height:800px;">
<iframe id="optomaFeed" src="http://www.optomausa.com/company/press-releases/" scrolling="no"
@firmread
firmread / raid0.sh
Created September 15, 2015 17:04
Apple remove RAID from their new Disk Utility in El Capitan, this terminal cmd is how u do it
$ diskutil appleRAID create stripe [arrayName] JHFS+ disk0 disk1

Red Burns Commandments

  1. Collaboration
    people of one discipline know nothing about the others
    environment that take people from different places come together
  2. Diversity
    ability to listen and hear people from other cultures
    getting to know and understand people
    to respect others, we have to know them
  3. Integrity
    keep on doing it! 30 years of ITP
set dFolder to "~/Desktop/screencapture/"
do shell script ("mkdir -p " & dFolder)
set i to 0
repeat 960 times
set tTime to do shell script "date +%H%M%S"
do shell script ("screencapture " & dFolder & "frame-" & i & ".png")
delay 30 -- Wait for 30 seconds.
set i to i + 1
@firmread
firmread / Preferences.sublime-settings
Created March 17, 2015 17:51
nicer sublime text settings
{
"font_size": 11,
"caret_style": "phase",
"highlight_line": true,
"line_padding_bottom": 0,
"line_padding_top": -1,
"fade_fold_buttons": false,
"bold_folder_labels": true
}
cd ~
curl -O http://www.openframeworks.cc/versions/v0.8.4/of_v0.8.4_linuxarmv6l_release.tar.gz
tar vxfz of_v0.8.4_linuxarmv6l_release.tar.gz
cd /home/pi/of_v0.8.4_linuxarmv6l_release/scripts/linux/debian_armv6l
sudo ./install_dependencies.sh
make Release -C /home/pi/of_v0.8.4_linuxarmv6l_release/libs/openFrameworksCompiled/project