Skip to content

Instantly share code, notes, and snippets.

View ddnn55's full-sized avatar

David Stolarsky ddnn55

View GitHub Profile
@quicksnap
quicksnap / A_Desc.js
Created March 3, 2016 22:42
Patching libchromiumcontent for dragOut. Patched against 0fbded6c of libchromiumcontent: https://github.com/atom/libchromiumcontent/commit/0fbded6cf3d9244389db05f0c022e474a06ad32a
// We use a magic string to hook into the functionality
foo.addEventListener('dragstart', function( e ) {
var paths = '/Foo/Bar/baz.jpg|\n|/Foo/Baz/Bar.jpg';
e.dataTransfer.setData( 'text/plain',
'extensis-filenames-type:' + paths );
});
@jordanorelli
jordanorelli / fuck_time_warner.md
Last active June 3, 2019 14:14
Fuck you, Time Warner Cable

I missed a payment on my Time Warner Cable bill. Prior to this, the hostname of my laptop was "yupa" (after Master Yupa, from Nausicaa of the Valley of the Wind, because it's a MBA, get it, air? ok, sorry, that's fucking awful I know). Anyway, look at what my hostname is now:

jordanorelli@auto-prov[0] ~: hostname
auto-prov.rr.com

umm, excuse me, I never changed my hostname. Anyway, let's back the fuck up and see how I even discovered this.

When I got home today, I opened my MBA and fired up Chrome. On startup, it tried to open up all the tabs that were open when I closed it. Some of these included a google.com page. All of them were, instead, redirected to whatever hostname they were talking to, with ap_index tacked on the end. E.g., refreshing a Google page bounced me to google.com/ap_index, which is the automatic provisioning page that a Time Warner Cable tech is supposed to see when they start up the computer. My brother (who is also my roommate) opened the account and has all the i