Skip to content

Instantly share code, notes, and snippets.

View derekgates's full-sized avatar

Derek Gates derekgates

View GitHub Profile
@armanozak
armanozak / keybindings.json
Last active December 16, 2020 11:07
[Disabling TS Lint, The Easy Way] VS Code Snippet + Key Binding for Adding TS Lint Rule Flags #typescript #vscode #tip
// /User/keybindings.json
[
{
"key": "shift+alt+t",
"command": "editor.action.insertSnippet",
"when": "resourceLangId == typescript && editorTextFocus && !editorReadonly",
"args": {
"langId": "typescript",
"name": "Disable TSLint"
#!/bin/bash
###
### my-script — does one thing well
###
### Usage:
### my-script <input> <output>
###
### Options:
### <input> Input file to read.
### <output> Output file to write. Use '-' for stdout.
@dsyme
dsyme / rant.md
Last active January 15, 2025 05:46
<link rel="shortcut icon" width=32px>
<canvas style="display: none" id="loader" width="16" height="16"></canvas>
<script>
class Loader {
constructor(link, canvas) {
this.link = link;
this.canvas = canvas;
this.context = canvas.getContext('2d');
this.context.lineWidth = 2;