Skip to content

Instantly share code, notes, and snippets.

/*
Directly attach the IR receiver diode to the Pins:
- Left: Signal Pin 2
- Middle: GND
- Right: 5V
*/

LG 6710CMAM09D

8087887 POWER
808F807 Mute
808C837 Preset Up
80848B7 Preset Down
808906F AUX
8089A65 Tuner / Band
808E817 Volume UP
<!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>
@besi
besi / Geocoder.rb
Last active December 17, 2015 10:59
Parse longitude and latitude from city names
#!/usr/bin/env ruby
# encoding: utf-8
#
# Installation:
#
# gem install geocoder
#
# Usage: ruby Geocoder.rb cities.csv
#
@besi
besi / Environment.h
Created May 24, 2012 14:56
Environment
//
// 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;
@besi
besi / Environment.m
Created January 23, 2012 12:08 — forked from rpak/Environment.m
Sample code for a Singleton that provides configuration or environment data
#import "Environment.h"
@implementation Environment
static Environment *sharedInstance = nil;
@synthesize myApiURL;
- (id)init
{
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
@besi
besi / PullGitRepos.rb
Created March 17, 2011 08:13
Goes through a list of paths and performs a git pull
#!/usr/bin/env ruby
# List of git-enabled projects
repos = [
"~/Projects/ProjectA",
"~/Projects/ProjectB",
]
line = "\n" + "*" * 50
thinLine = "\n" + '-' * 50