- Automatic
__slots__generation fordataclasses - Type annotations for assignment with iterable unpacking expressions
-
composefunction implementation infunctools/standard library for function compoisition - Standard image manipulation in the standard library comparable to Java's
javax.imageio.*facilities - First-class HTTP library comparable to
requestsincluded in the standard library - Top level
awaitexpressions - asyncio compatible
itertools/builtin functions likeaioitertools - Lazier
itertools.productimplementation - A
noopfunction - A
flattenfunction
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==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"], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==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"]`); |
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |