Skip to content

Instantly share code, notes, and snippets.

@cmenscher
cmenscher / gist:800873
Created January 28, 2011 20:22
ITP Dinner Attendees - Sunday 6pm @ Ippudo NYC
Ramona
Corey
Swerdloff
Sofia
@cmenscher
cmenscher / hulu_on_touchpad
Created August 25, 2011 21:26
Working Hulu access for HP Touchpad
Working Hulu access for HP Touchpad
GET:
hexeditor, HxD
Palm webos sdk
usb cable, hint: it came with the tablet.
DO:
MAKE SURE THE TOUCHPAD WEB BROWSER IS CLOSED.
Turn on developer mode, google for help.
@cmenscher
cmenscher / gist:3153239
Created July 20, 2012 21:09 — forked from panicsteve/gist:1641705
Form letter template for acquired startups
Dear soon-to-be-former user,
We've got some fantastic news! Well, it's great news for us anyway. You, on
the other hand, are fucked.
We've just been acquired by:
[ ] Facebook
[ ] Google
[ ] Twitter
@cmenscher
cmenscher / gist:4219227
Created December 5, 2012 20:31 — forked from tkersey/gist:1130675
Getting a Motorola SBG6580 into “Bridge” mode

found at: http://fascinated.fm/post/2379188731/getting-a-motorola-sbg6580-into-bridge-mode-on

Getting a Motorola SBG6580 into “Bridge” mode on TimeWarner Wideband

  1. Unplug coax cable from Motorola
  2. Hold down the white reset button on the back panel with a pen for 30s.  This resets all settings to factory defaults. The modem will be auto-reconfigured once you plug in the coax cable.
  3. When modem is back on plug in a computer with an Ethernet cable into the modem.
  4. Connect to http://192.168.0.1 and login with “admin” / “motorola”
  5. Now you will make some changes:
 
  • Wireless -> Primary Network -> Disabled
@cmenscher
cmenscher / gist:4568146
Created January 18, 2013 20:18
This command will clear out the LaunchServices QuarantineEvents log, which is a log of every file you choose to download (i.e. "Save as...") in any browser in OSX. I recommend purchasing Lingon from the App Store and having this command run every day to keep it clean. (more info at http://www.macgasm.net/2013/01/18/good-morning-your-mac-keeps-a-…
sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'
brew install https://raw.github.com/cobrateam/formulae/master/swig.rb

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@cmenscher
cmenscher / gist:5864427
Created June 26, 2013 02:58
Updated code in CVViewController.m file in Cordova XCode project to disable scrollbars when scrolling.
// prevent webView from bouncing
// based on the DisallowOverscroll/UIWebViewBounce key in config.xml
if (!bounceAllowed) {
if ([self.webView respondsToSelector:@selector(scrollView)]) {
((UIScrollView*)[self.webView scrollView]).bounces = NO;
[((UIScrollView*)[self.webView scrollView]) setShowsHorizontalScrollIndicator:NO];
[((UIScrollView*)[self.webView scrollView]) setShowsVerticalScrollIndicator:NO];
} else {
for (id subview in self.webView.subviews) {
if ([[subview class] isSubclassOfClass:[UIScrollView class]]) {
@cmenscher
cmenscher / fu_ascii
Created August 22, 2013 15:10
‹^› ‹(•¿•)› ‹^›
‹^› ‹(•¿•)› ‹^›
OS X 10.9 Mavericks: The Ars Technica Review
Aurich Lawson / Thinkstock
After a dozen years and nine major releases, OS X has had a full life: the exuberance of youth, gradually maturing into adulthood, and now, perhaps, entering its dotage. When I am an old operating system I shall wear… leather?
The 2011 release of OS X 10.7 Lion seemed to mark the natural endpoint of the "big cat" naming scheme. But Apple couldn't resist the lure of the "cat, modifier cat" naming pattern, releasing OS X 10.8 Mountain Lion a year later. Perhaps it just wanted to give its cat nine lives.
The 10th major release, OS X 10.9 Mavericks, is named after an awkwardly plural California surfing spot, finally ending the feline dynasty. But what part of the operating system's existence is this? The afterlife?