Skip to content

Instantly share code, notes, and snippets.

Arron Mabrey arronmabrey

Block or report user

Report or block arronmabrey

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Has weird right-to-left characters.txt
ּ_בּ
בּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
תּ_תּ
٩(×̯×)۶
٩(̾●̮̮̃̾•̃̾)۶
@arronmabrey
arronmabrey / gist:7213561
Last active Dec 26, 2015
Api::NotificationsController JSON Examples
View gist:7213561
// General System Notifications
{
"data":[
{
"id":1,
"message":"Lumentus Social will be offline for maintenance.",
"problem_resolution_url":null,
"problem_id":null,
"user_id":100,
"client_id":null,
View gist:5809556
For actually making the SuperDrive work in clean and easy way, just read on (but note: while has proven to be a quite safe method, still you’ll be doing this entirely on your own risk! Using sudo and editing system files incorrectly can damage things severely!):
Apparently, Apple engineers had the need to test the superdrive with non-MacBookAir computers themselves, so the driver already has an option built-in to work on officially unsupported machines! All you need to do is enable that option, as follows:
The driver recognizes a boot parameter named “mbasd” (Mac Book Air Super Drive), which sets a flag in the driver which both overrides the check for the MBA and also tweaks something related to USB power management (the superdrive probably needs more power than regular USB allows). So just editing /Library/Preferences/SystemConfiguration/com.apple.Boot.plist and inserting the “mbasd=1″ into the “Kernel Flags” does the trick:
open a terminal
type (on a single line)
sudo pico /Library/Preferences/SystemConfig
View gist:5638883
setData: -> $.each @badge.data(), (key, value) => @data[key] = value
View gist:5505503

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
@arronmabrey
arronmabrey / hidpi.txt
Created Aug 11, 2012 — forked from simX/hidpi.txt
Enable HiDPI mode in Mountain Lion w/o Quartz Debug
View hidpi.txt
sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES;
sudo defaults delete /Library/Preferences/com.apple.windowserver DisplayResolutionDisabled;
// by the way, you need to logout and log back in for this to take effect. Or at least that's what
// Quartz Debug says. Who knows, maybe it's lying?
// P.S. Go to [Apple menu --> System Preferences --> Displays --> Display --> Scaled] after logging
// back in, and you'll see a bunch of "HiDPI" resolutions in the list to choose from.
View gist:1955553
/*{"k":"0.10.0","mac":"1:2e55af9895fe193a2966ce7d808ef313d38e823ed5892dda725cd5e8f3c4fba5","version":"8173121","created":"2012-01-24T20:45:58Z"}*/
;
(function (window, document, undefined) {
var j = true,
o = null,
q = false;
function r(a) {
return function (c) {
this[a] = c
View gist:1519152
images/100px.jpg
/images/100px.jpg
../images/100px.jpg
../../images/100px.jpg
../../../images/100px.jpg
http://example.com/images/100px.jpg
aimages/100px.jpga
1images/100px.jpg1
.images/100px.jpg.
-images/100px.jpg-
View middleman-transmitsync.rb
module Middleman::Features::TransmitSync
class << self
def registered(app)
app.after_build do
project_transmitsync_favorite_name = app.transmit_sync_favorite
macruby_eval = <<-macrubyEval
framework 'ScriptingBridge'
@transmit = SBApplication.applicationWithBundleIdentifier('com.panic.Transmit')
@transmitsync_favorite_name = ARGV.join('')
@transmitsync_favorite = false
View gist:1078983
rvm debug
/Users/arron/.rvm/scripts/info: line 5: /base: No such file or directory
/Users/arron/.rvm/scripts/info: line 6: /version: No such file or directory
/Users/arron/.rvm/scripts/info: line 176: /match: No such file or directory
/Users/arron/.rvm/scripts/info: line 195: __rvm_become: command not found
/Users/arron/.rvm/scripts/info: line 197: __rvm_environment_identifier: command not found
:
system:
You can’t perform that action at this time.