Add the function somewhere to your dotfiles. Works better if you npm install -g benny-hill
first.
This file contains 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
# inspiration: https://gist.github.com/jessfraz/7c319b046daa101a4aaef937a20ff41f | |
Disable-UAC | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -acceptEula | |
choco feature enable -n allowGlobalConfirmation | |
cinst Microsoft-Windows-Subsystem-Linux -source windowsfeatures | |
# cinst 1password | |
cinst Firefox |
This file contains 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
{"lastUpload":"2019-04-05T01:11:56.935Z","extensionVersion":"v3.2.8"} |
When ASCII mode is activated, the resolution of the rendering is calculated based on the size of the player. The color resolution is half that of the monochrome. The frame rate is matched to the video, but it's capped at 30fps.
- The
<video>
is rendered into an invisible backing canvas at the render resolution (one pixel for each character). - The image data is retrieved from the backing canvas.
- It iterates over each pixel and
- Determines the character to use for each pixel based on the brightness of the pixel.
This file contains 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
Verifying that "bdougherty.id" is my Blockstack ID. https://onename.com/bdougherty |
Verifying that "bdougherty.id" is my Blockstack ID. https://onename.com/bdougherty
This file contains 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
@import "syntax-variables"; | |
atom-text-editor::shadow { | |
// Make invisible characters the same color as the background, and | |
// explicitly set the box-shadow color for indent guides (otherwise they | |
// will be invisible too). | |
.invisible-character { | |
color: @syntax-background-color; | |
&.indent-guide { |
This file contains 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
[{ | |
"id": "0aefa581-b042-4f36-b39c-74daa33b682a", | |
"name": "Block Annoying Article Stuff", | |
"rules": [{ | |
"id": "634b4fd6-e2c9-4ce4-bcf9-0d52b4c74baa", | |
"name": "The Atlantic", | |
"content": { | |
"trigger": { | |
"url-filter": "^[^:]+://+([^:/]+\\.)?theatlantic\\.com[:/]", | |
"url-filter-is-case-sensitive": true, |
This file contains 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
#!/usr/bin/env python | |
import os | |
import tornado.web | |
from tornado.ioloop import IOLoop | |
from tornado.options import define, options | |
# config options | |
define('port', default=8080, type=int, help='port to run web server on') | |
define('debug', default=False, help='start app in debug mode') | |
options.parse_command_line(final=True) |
NewerOlder