Skip to content

Instantly share code, notes, and snippets.

View bhang's full-sized avatar
👁️
🔎 🐛 🐛

Shubhang Mani bhang

👁️
🔎 🐛 🐛
View GitHub Profile
@bhang
bhang / disable-netflix-pauses.js
Created October 8, 2015 14:12 — forked from coopermaruyama/disable-netflix-pauses.js
Netflix: Disable "Are you still watching?" pauses
// copy/paste into chrome console (alt+cmd+J) after the video starts playing.
setInterval(function() {
var possibleButtons = document.getElementsByClassName('continue-playing');
if (possibleButtons.length) {
for (var i = 0; i < possibleButtons.length; i++) {
if (/Continue Playing/.test(possibleButtons[i].textContent)) {
var event = document.createEvent('HTMLEvents');
event.initEvent('click', true, false);
possibleButtons[i].dispatchEvent(event);
}
@bhang
bhang / install-openresty.sh
Created May 9, 2016 14:20
Lua HMAC authentication
$ brew tap killercup/homebrew-openresty
$ brew install ngx_openresty

Keybase proof

I hereby claim:

  • I am bhang on github.
  • I am bhangm (https://keybase.io/bhangm) on keybase.
  • I have a public key ASCrcRPncsaakaTEeVlzWz9euMYUU5afbPZY2lDQAqkm9Qo

To claim this, I am signing this object: