Skip to content

Instantly share code, notes, and snippets.

View matthewryanscott's full-sized avatar

Matthew R. Scott matthewryanscott

View GitHub Profile
@yefim
yefim / Dockerrun.aws.json
Last active April 7, 2023 16:11
Build a Docker image, push it to AWS EC2 Container Registry, then deploy it to AWS Elastic Beanstalk
{
"AWSEBDockerrunVersion": "1",
"Image": {
"Name": "<AWS_ACCOUNT_ID>.dkr.ecr.us-east-1.amazonaws.com/<NAME>:<TAG>",
"Update": "true"
},
"Ports": [
{
"ContainerPort": "443"
}
#![no_std]
use {
playdate::{graphics::Graphics, system::System, Playdate},
playdate_sys::{
PDButtons_kButtonA, PDSystemEvent, PDSystemEvent_kEventInit, PlaydateAPI, LCD_COLUMNS,
LCD_ROWS, LCD_ROWSIZE,
},
rand::{rngs::SmallRng, Rng, SeedableRng},
};