Skip to content

Instantly share code, notes, and snippets.

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

brew install https://raw.github.com/cobrateam/formulae/master/swig.rb
@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'
@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: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 / 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:800873
Created January 28, 2011 20:22
ITP Dinner Attendees - Sunday 6pm @ Ippudo NYC
Ramona
Corey
Swerdloff
Sofia
https://chrome.google.com/extensions/detail/ofojbjgaaddibdfpmmjeonahgbacejid
http://gurpreetdubb.blogspot.com/2008/10/sitereloader-to-help-auto-refresh-your.html
"When computer scientists dissect the massive rivers of traffic flowing through it, they cannot account
for the source of all the bits. Every now and then a bit is transmitted incorrectly, and while most
of those mutations can be attributed to identifiable causes such as hacking, machine error, or line damage,
the researchers are left with a few percent that somehow changed themselves. In other words, a small
fraction of what the technium communicates originates not from any of its known human-made nodes but from
the system at large. The technium is whispering to itself."
From What Technology Wants
by Kevin Kelly