Skip to content

Instantly share code, notes, and snippets.

@andersonmat
andersonmat / keybase.md
Last active December 3, 2018 21:49
keybase.md

Keybase proof

I hereby claim:

  • I am andersonmat on github.
  • I am andersonmat (https://keybase.io/andersonmat) on keybase.
  • I have a public key whose fingerprint is 49F2 C977 569C 430F 0272 09BC 647C AC35 ED6F 7DFC

To claim this, I am signing this object:

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
@andersonmat
andersonmat / delete.js
Last active December 20, 2015 21:09
Streaming Riak bucket deletion in JavaScript. Needs riak-js. Now clustered because node runs out of RAM when you have too many keys.
/**
This script will delete an entire bucket's contents. Use with caution.
*/
// allow us to spawn children to evade memory issues
var cluster = require('cluster');
// connect to riak
var riakConnection = require('riak-js').getClient({
host : '10.2.48.20',
@andersonmat
andersonmat / CacheMap.js
Last active December 18, 2015 02:49
Timed in-memory storage in JavaScript
/**
The MIT License (MIT)
Copyright (c) 2013 Matt Anderson (Question Everything, LLC)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@andersonmat
andersonmat / MtGox.js
Created May 24, 2013 18:12
MtGox JavaScript API Implementation
/**
The MIT License (MIT)
Copyright (c) 2013 Matt Anderson (Question Everything, LLC)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell