8087887 POWER
808F807 Mute
808C837 Preset Up
80848B7 Preset Down
808906F AUX
8089A65 Tuner / Band
808E817 Volume UP
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 ruby | |
# List of git-enabled projects | |
repos = [ | |
"~/Projects/ProjectA", | |
"~/Projects/ProjectB", | |
] | |
line = "\n" + "*" * 50 | |
thinLine = "\n" + '-' * 50 |
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
require 'RMagick' | |
create_tally('-----') | |
for i in 0...6 | |
for x in 0...2**i | |
binary = x.to_s(2).rjust(i,'0'); | |
string = binary.gsub(/0/, 'n').gsub(/1/, 'y').ljust(5, '-') | |
create_tally(string); | |
end | |
end |
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
#import "Environment.h" | |
@implementation Environment | |
static Environment *sharedInstance = nil; | |
@synthesize myApiURL; | |
- (id)init | |
{ |
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
// | |
// Environment.h | |
// | |
#import <Foundation/Foundation.h> | |
// Convenience Macros | |
#define ENVIRONMENT_PROPERTY(key) @property (readonly) NSString *key; | |
#define ENVIRONMENT_PROPERTY_BOOL(key) @property (readonly) BOOL key; |
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 ruby | |
# encoding: utf-8 | |
# | |
# Installation: | |
# | |
# gem install geocoder | |
# | |
# Usage: ruby Geocoder.rb cities.csv | |
# |
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
<!DOCTYPE html> | |
<!--[if lt IE 7]><html class="lt-ie10 lt-ie9 lt-ie8 lt-ie7"><![endif]--> | |
<!--[if IE 7]><html class="lt-ie10 lt-ie9 lt-ie8"><![endif]--> | |
<!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]--> | |
<!--[if IE 9]><html class="lt-ie10"> <![endif]--> | |
<!--[if gt IE 9]><!--> <html> <!--<![endif]--> | |
<head> | |
{MobileAppHeaders} | |
<meta charset="utf-8"> | |
<title>{Title}{block:SearchPage} ({lang:Search results for SearchQuery}){/block:SearchPage}{block:PermalinkPage}{block:PostSummary} — {PostSummary}{/block:PostSummary}{/block:PermalinkPage}</title> |
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
/* | |
Directly attach the IR receiver diode to the Pins: | |
- Left: Signal Pin 2 | |
- Middle: GND | |
- Right: 5V | |
*/ |