- Bracket Pair Colorizer 2
- CSS Modules
- ESLint
- HTML Snippets
- Material Icon Theme
- Path Intellisense
- Rainbox CSV
- indent rainbow
- REST Client
- stylfmt?
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
| <!-- NOTE: not valid markup, just to show DOM structure --> | |
| <!-- 01. full bleed background & overlay --> | |
| <section class="background"> | |
| <div class="overlay"></div> | |
| <svg> | |
| <!-- 02. transparency data/mask --> | |
| <defs> |
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
| html, | |
| button, | |
| input, | |
| select, | |
| textarea { | |
| /* font-family: monospace; */ | |
| letter-spacing: 0.02em; | |
| } | |
| .avatar-container { | |
| opacity: 0.4; |
- Write a function to process an array of objects, running a function on each object based on it's attributes.
- Each object can have up to 3 attributes,
a,b,c - Each attribute can have a value of
0-2 - The function called on each object is based on truthy attributes, eg:
obj = { a : 2, b : 1 }would runab()(orba(), name doesn't matter)obj = { c : 1 }would runc()
- The processing fns (
a(),b(), etc) are provided.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 Netflix playback speed | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description numpad 1, 2, 3 for --0.1, 0, ++0.1 | |
| // @author Kevin Cameron | |
| // @include https://www.netflix.com/* | |
| // @grant none | |
| // ==/UserScript== |
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
| .main-header { | |
| height: 29px; | |
| min-height: 29px; | |
| } | |
| .main-header .button { | |
| font-size: 0.7rem; | |
| border: none; | |
| padding: 0.2em; | |
| } |
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
| { | |
| // prefix used to trigger the snippet | |
| // body is the snippet | |
| // $1, $2 for tab stops, $0 for the final cursor position | |
| // ${1:label}, ${2:another} for placeholders | |
| "Mithril Component": { | |
| "prefix": "mesm", | |
| "body": [ | |
| "import state from \"../state\";", | |
| "", |