# Create a folder
mkdir ink3
# Go to the folder
cd ink3
# Create the ink project
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
// ==UserScript== | |
// @name Team Blind - Expand all comments | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Expand all comments on load on TeamBlind.com | |
// @author You | |
// @match https://www.teamblind.com/post/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net | |
// @grant none | |
// ==/UserScript== |
https://auto.gluon.ai/stable/index.html#
pip3 install -U pip
pip3 install -U setuptools wheel
# CPU version of pytorch has smaller footprint - see installation instructions in
# pytorch documentation - https://pytorch.org/get-started/locally/
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
/* eslint-disable @typescript-eslint/no-var-requires */ | |
const { BlockList } = require("net"); | |
const twColors = require("tailwindcss/colors"); | |
const defaultTheme = require("tailwindcss/defaultTheme"); | |
/** | |
* Material Design breakpoints | |
* @see https://material.io/design/layout/understanding-layout.html#layout-anatomy | |
* @see https://tailwindcss.com/docs/breakpoints | |
*/ |
- Compare numbers in a sequence. e.g.
# ok
3 > 2 > 1
1 < 2 < 3
# not
1 < 3 > 2
# not
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
#https://unix.stackexchange.com/a/377601/334761 | |
# Get the device id with "xinput" | |
# Look for "Wacom Intuos PT S Pen stylus" | |
# Get the ID value. e.g.) id=14 | |
# pass the ID (14 for mine) as "device" in | |
# xinput MAN page: https://linux.die.net/man/1/xinput | |
xinput set-prop 14 "Coordinate Transformation Matrix" 1 0 0 0 1 0 0 0 1 | |
# default |
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
let bt = document.createElement('button') | |
bt.appendChild(document.createTextNode('Close')) | |
bt.addEventListener('click', function(e) { | |
this.parentElement.style.display = 'none'; | |
}); | |
// Subscriptions panel | |
let subEl = document.querySelector("#sections > ytd-guide-section-renderer:nth-child(2)") | |
subEl.prepend(bt) |
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
{ | |
"arrowParens": "always", | |
"bracketSpacing": true, | |
"embeddedLanguageFormatting": "auto", | |
"htmlWhitespaceSensitivity": "css", | |
"insertPragma": false, | |
"jsxBracketSameLine": false, | |
"jsxSingleQuote": false, | |
"printWidth": 100, | |
"proseWrap": "preserve", |
NewerOlder