Skip to content

Instantly share code, notes, and snippets.

@h1nk
h1nk / wishlist.md
Last active May 21, 2021 20:19
🎅 Python Wishlist
/* ==UserStyle==
@name Twitter Unfuck
@version 0.0.1
@author prplz
@namespace gist.github.com/h1nk
@updateURL https://gist.github.com/h1nk/be909b699722f9ad4ad60e58d5389b9e/raw/twitter-unfuck.user.css
==/UserStyle== */
[aria-label="Lists"],
[aria-label="Bookmarks"],
@h1nk
h1nk / youtube_enhancments.js
Last active October 13, 2020 01:18
Userscript for YouTube to ensure autoplay is constantly diabled and to always enable "Live chat" instead of "Top chat" for livestreams
// ==UserScript==
// @name YouTube Enhancments
// @updateURL https://gist.githubusercontent.com/h1nk/d3d6878b02524b9a4985849ab5f090cc/raw/youtube_enhancments.js
// ==/UserScript==
const liveChatButtonSel = `#chat-messages [role="heading"] #primary-content #menu a:last-of-type`;
window.setInterval(function() {
// Keep trying to disable autoplay
let autoplayToggleElm = document.querySelector(`#improved-toggle[aria-pressed="true"]`);
@h1nk
h1nk / keybase.md
Created August 8, 2018 17:27
Keybase Identity Proof

Keybase proof

I hereby claim:

  • I am h1nk on github.
  • I am h1nk (https://keybase.io/h1nk) on keybase.
  • I have a public key ASDAtQjFRFK3R4CTTsEpw4G70gnTkvsPasMNibx8PMzahwo

To claim this, I am signing this object:

@h1nk
h1nk / The Zen of Python.txt
Last active July 29, 2017 16:32
>>> import this
The Zen of Python, by Tim Peters
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.