Skip to content

Instantly share code, notes, and snippets.


B. Besmer besi

View GitHub Profile
View MinimalIR.ino
Directly attach the IR receiver diode to the Pins:
- Left: Signal Pin 2
- Middle: GND
- Right: 5V
View LG Remote

LG 6710CMAM09D

8087887 POWER
808F807 Mute
808C837 Preset Up
80848B7 Preset Down
808906F AUX
8089A65 Tuner / Band
808E817 Volume UP
View tumblr-blog-theme.html
<!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]-->
<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 / Geocoder.rb
Last active Dec 17, 2015
Parse longitude and latitude from city names
View Geocoder.rb
#!/usr/bin/env ruby
# encoding: utf-8
# Installation:
# gem install geocoder
# Usage: ruby Geocoder.rb cities.csv
View Environment.h
// 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 / Environment.m
Created Jan 23, 2012 — forked from rpak/Environment.m
Sample code for a Singleton that provides configuration or environment data
View Environment.m
#import "Environment.h"
@implementation Environment
static Environment *sharedInstance = nil;
@synthesize myApiURL;
- (id)init
View create_tally_images.rb
require 'RMagick'
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, '-')
besi / PullGitRepos.rb
Created Mar 17, 2011
Goes through a list of paths and performs a git pull
View PullGitRepos.rb
#!/usr/bin/env ruby
# List of git-enabled projects
repos = [
line = "\n" + "*" * 50
thinLine = "\n" + '-' * 50
You can’t perform that action at this time.