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
from time import monotonic_ns | |
from adafruit_seesaw.digitalio import DigitalIO | |
from adafruit_seesaw.pwmout import PWMOut | |
from adafruit_seesaw.seesaw import Seesaw | |
class ArcadeButton: | |
def __init__(self, seesaw: Seesaw, button_pin: int, led_pin: int): |
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
root = true | |
[*] | |
charset = utf-8 | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
end_of_line = lf | |
indent_style = space | |
indent_size = 2 |
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
const myCharOne = { | |
name: "Zolda", | |
class: "Wizard", | |
maxHp: 90, | |
currentHp: 75, | |
armorClass: 16, | |
atkBonus: 7, | |
magicBonus: 10, | |
}; |
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
'use strict'; | |
function getAsyncTests () { | |
return new Promise((resolve, reject) => { | |
setTimeout(resolve, 1); | |
}); | |
} | |
(async () => { | |
let tests = await getAsyncTests(); |
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
#!/bin/sh | |
killall "Plex Media Server" | |
sleep 5 | |
open "/Applications/Plex Media Server.app" |