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
{ | |
"$help": "https://aka.ms/terminal-documentation", | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"actions": [ | |
{ | |
"command": { | |
"action": "splitPane", | |
"split": "left" | |
}, | |
"id": "User.splitPane.left" |
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
{ | |
"name": "Nebula", | |
"black": "#353551", | |
"red": "#E34F8C", | |
"green": "#97F36D", | |
"yellow": "#F8C275", | |
"blue": "#C7ADFB", | |
"purple": "#E752A1", | |
"cyan": "#24E8D8", | |
"white": "#FBD3E1", |
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
const canvas = document.getElementById('board'); | |
const ctx = canvas.getContext('2d'); | |
ctx.scale(36, 36); | |
const piece = { | |
x: 3, | |
y: 0, | |
matrix: [ | |
[0, 0, 0], |
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
invertPhrase = (phrase) => { | |
const characters = [...`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789?!,.()"`]; | |
const invertedCharacters = [...`ɐqɔpǝⅎƃɥᴉɾʞʅɯuodbɹsʇnʌʍxʎz∀ꓭϽᗡƎᖵ⅁HIᒋꓘ⅂ꟽNOԀꝹꓤSꓕՈɅϺX⅄Z0⇂↊↋ߤ59𝘓86¿¡ʻ.)(﮼`]; | |
const phraseArray = [...phrase]; | |
const invertedPhrase = phraseArray.reduce((acc, cur) => { | |
const index = characters.indexOf(cur); | |
if(index < 0) return cur + acc; |
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
function AutoRedeemTwitchBonus() { | |
try { | |
const reward = document.querySelector(".claimable-bonus__icon"); | |
if(reward) { | |
reward.click(); | |
console.log( | |
`Reward successfully redeemed at ${new Date().toTimeString().slice(0,8)}` | |
); | |
} | |
} catch (error) { |