Skip to content

Instantly share code, notes, and snippets.

@ohio813
ohio813 / vegas2015.py
Created March 21, 2016 12:49 — forked from williballenthin/vegas2015.py
Fetch BlackHat, Defcon, and BsidesLV schedules and create a consolidated list
"""
requirements:
- requests
- unicodecsv
- beautifulsoup4
"""
import re
import functools
from collections import namedtuple
from collections import defaultdict
@ohio813
ohio813 / 1_changelog.md
Created March 18, 2016 21:37 — forked from joepie91/1_changelog.md
Remove Wired's "ad-blocker veil"

Changelog

  • February 19, 2016: Initial release.

Broken?

GitHub Gist doesn't send notifications when people leave a comment, so shoot me an e-mail at [email protected]. I'll gladly fix it. Fuck advertising.

@ohio813
ohio813 / seek.js
Created February 26, 2016 09:09 — forked from dannyid/seek.js
Netflix Seek
// The player
var player = netflix.cadmium.objects.videoPlayer();
// Metadata about current episode -- ID and url to get frame at a specific time
var episodeId = netflix.cadmium.metadata.getActiveVideo().episodeId;
var imgRoot = netflix.cadmium.metadata.getActiveVideo().progressImageRoot;
// Generates URL of preview image for given timestamp
function getFrame(timestamp) {
var t = Math.floor(timestamp/10000).toString(10);