Skip to content

Instantly share code, notes, and snippets.

View LizAinslie's full-sized avatar
⚒️
BUILD COOL SHIT BUILD COOL SHIT BUILD COOL SHIT

Liz Ainslie LizAinslie

⚒️
BUILD COOL SHIT BUILD COOL SHIT BUILD COOL SHIT
View GitHub Profile
@LizAinslie
LizAinslie / stacky.ts
Last active January 27, 2024 04:07
Stacky bois
const stackCount = 10
const STACK_SPACE = 10;
// Draw the stack of images
for (let i = 0; i < stackCount; i++) {
const shearFactor = (stackCount - i)
// Calculate scale and position adjustments based on the current iteration
const scaleAdjustment = 0.9 + (0.1 * (i - shearFactor)) / stackCount
const positionAdjustmentX = (scaledImageWidth - (scaledImageWidth * scaleAdjustment)) / 2;
const positionAdjustmentY = (STACK_SPACE * shearFactor);
// Define a trait function to that expects behavior to convert a value to type T
trait fun to<T>(): T
// So you want to require a property? Use a trait getter!
trait fun(get) displayName: String
// You can define a tuple type with parenthesis
tuple Name (String, String) {
|(first, last)| impl fun to<String>() = "${first} ${last}"

Keybase proof

I hereby claim:

  • I am lizainslie on github.
  • I am lizainslie (https://keybase.io/lizainslie) on keybase.
  • I have a public key ASAXnkDKgpt-SjQbsn_LiKbxxlJKuKMAcxmyc5-usVZt_wo

To claim this, I am signing this object:

I have 8GB of DDR3 RAM. Please end my suffering.

Program # Of times it has ran out of memory
Flutter 7
Chrome 3
Discord 2

My Options For a New Laptop

This is more or less a wishlist (kind of) where I post all viable options I have found for a new laptop. If anyone kind enough to actually get me one of these, you have way too much money and I wouldn't know what to say. Honestly if you want someone to love you forever, you can, but I'd reccomend spending that dough on yourself. This is mostly a list for me to reference when actually buying a new laptop, which will hopefully happen soon. (as in, in the next few months) I may update this with a gofundme or something so anyone who wants to contribute to me getting a new laptop can but I'll keep it real with you, it's your choice. I plan on making sure this list has only items under $1800 USD because my budget is currently $0 and it's gonna take a while to get up to even the amount of $1800 with my current work situation. Anyway feel free to add suggestions to this list as long as you make sure to tag them as such, I will gladly look at them.

[gofundme page](https://www.gofundme.co

{
"$schema": "http://json-schema.org/draft-07/schema",
"type": "object",
"properties": {
"textures": {
"type": "object",
"patternProperties": {
"(\\w+)": {
"$ref": "#/definitions/texture"
}
@LizAinslie
LizAinslie / Rules.md
Last active July 21, 2020 06:11
Rules for my Discord, since it went above the character limit

1. Don't be a Dick: Nobody likes a jerk, so don't be one.

2. No NSFW/NSFL Content: Absolutely no NSFW or NSFL content is allowed here whatsoever. If you post any of this, you will be permanently banned without prior punishments. No appeals allowed.

3. No Flooding/Spamming: This includes emojis, special characters, images, links, mentions, etc. This will include using the Discord emotes to spell out words ("regional indicators").

4. Follow the Discord Terms of Service / Community Guidelines:

@LizAinslie
LizAinslie / Alien.java
Created September 12, 2019 17:19 — forked from macroxela/Alien.java
A Galaga game developed in Java
import java.util.*;
public class Alien extends GameObject
{
Random dice;
int cnt = 1;
int dx;
int rand = 0;
boolean shot;
@LizAinslie
LizAinslie / resume.json
Last active August 14, 2019 19:39
JSON Resume
{
"meta": {
"theme": "elegant"
},
"basics": {
"name": "Landon Gravat",
"label": "Career and Hobbyist Software Engineer",
"picture": "",
"email": "railinator4903@gmail.com",
"phone": "(816) 837-0822",