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
import math | |
import random | |
import pyxel | |
class Intro: | |
def __init__(self): | |
pyxel.init(160, 120, caption="Twin Sectors") | |
self.amplitude = 10 |
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
#!/usr/bin/env python3 | |
from boto3 import client | |
from contextlib import closing | |
polly = client("polly", 'us-east-1') | |
voice = 'Brian' | |
response = polly.synthesize_speech( | |
Text='''Imagine how your bullet points turn into presenter notes! |
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
Show hidden characters
{ | |
"shell": true, | |
"env": { | |
"DOSBOX": "/Applications/DOSBox.app/Contents/MacOS/DOSBox" | |
}, | |
"cmd": ["nasm -f bin ${file} -o ${file_base_name}.com && \\$DOSBOX -c \"MOUNT C ${file_path}\" ${file_base_name}.com"], | |
"file_regex": "^(.+):([0-9]+)()?: error: (.*)$", | |
"working_dir": "${file_path}", | |
"selector": "source.assembly", | |
} |
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
#!/usr/bin/python3 | |
import sys | |
import Adafruit_GPIO.SPI as SPI | |
import Adafruit_SSD1306 | |
from PIL import Image | |
from PIL import ImageDraw | |
from PIL import ImageFont | |
disp = Adafruit_SSD1306.SSD1306_128_32(rst=None) |
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
#!/bin/sh | |
### BEGIN INIT INFO | |
# Provides: pocketmine | |
# Required-Start: | |
# Required-Stop: | |
# Should-Start: | |
# Should-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 |
NewerOlder