Skip to content

Instantly share code, notes, and snippets.

View lolarobins's full-sized avatar
🌵

Lola Robins <3 lolarobins

🌵
View GitHub Profile
@lolarobins
lolarobins / larry
Created February 5, 2024 08:34
larry the cow.. ascii_colors=(15 13 11 0)
${c4}⠘⣿⣦
⢀⣶⣆ ⢿${c3}⣿${c4}⣧
⢸${c3}⣿${c4}⣿⡄ ⢸${c3}⣿⣿${c4}⡇
⢸${c3}⣿⣿${c4}⣷ ⢀⣿${c3}⣿⣿${c4}⠇⢀⣠⣶⣾⣿⣿⣷⣶⣤
⢀⣀⣀⣀⣀ ⣸${c3}⣿⣿${c4}⣿⣷⣶⣶⣶⣶⣾⣿${c3}⣿⣿${c4}⣶⣿${c1}⣿⣿${c2}⣿⣿⣿⣿${c4}⣿⡿
⢀⣴⣿⣿${c1}⣿⣿⣿${c4}⣿⣿⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⣿${c2}⣿⣿⣿${c4}⣿⠿⠟⠋
⣴⣿⣿${c2}⣿⣿⣿⣿⣿⣿${c4}⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⠛⠛⠉
⠈⠙⠛⠿⠿⠿⠿⠛⠉⢻⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿${c1}⣿⣿${c4}⣿⣿⡇
⢿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣷
⣀⣠⣼⣿${c1}⣿⣿${c4}⣿⣿${c1}⣿⣿⣿⣿⣿⣿⣿⣿${c4}⣿⣿⡀
@lolarobins
lolarobins / rgb-controller-23-01-24.ino
Created January 24, 2023 21:52
Progress (before serverside shtuff)
//
// esp32 rgb controller
//
// hardware:
// > Wemos D1 R32 'ESPDuino-32' (https://amazon.ca/CANADUINO-ESPDuino-32-Bluetooth-Dual-Core-Processor/dp/B07P1L7839)
// -- note: may not upload if speed is too high, set to 115200 if errors occur
// > Velleman Arduino RGB Shield KA01 (https://www.velleman.eu/products/view/?id=412138)
// > random rgb strip from somewhere
// authors:
// > lola robins (lola@robinssoftware.ca)
@lolarobins
lolarobins / ESP32-Spotify.ino
Created July 31, 2022 12:10
64x64 Album art showing on RGB Matrix board
#include <ArduinoJson.h>
#include <Preferences.h>
#include <WiFi.h>
#include <WebServer.h>
#include <Adafruit_GFX.h>
#include <ESP32-HUB75-MatrixPanel-I2S-DMA.h>
#include <HTTPClient.h>
#include <JPEGDecoder.h>
#include <mbedtls/base64.h>
@lolarobins
lolarobins / trans.s
Created June 14, 2022 17:38
Trans flag in ARM64 assembly
.global _start
.align 2
_start:
; print
mov X16, #4
mov X0, #1
adr X1, str
mov X2, len
svc 0
@lolarobins
lolarobins / trans.asm
Created June 14, 2022 01:03
trans flag in assembly
global _start
section .data
msg db 0x1b, "[46;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[45;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[47;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[45;1m ", 0x1b, "[0m", 0x0a, 0x1b, "[46;1m ", 0x1b, "[0m", 0x0a
len equ $ - msg
section .print
_start:
mov eax, 4
mov ebx, 1
@lolarobins
lolarobins / trans.c
Created June 6, 2022 12:26
simple trans flag in console
#include <stdio.h>
int main(int argc, char *argv[])
{
// bar 1
printf("\033[44;1m \n");
// bar 2
printf("\033[45;1m \n");
// bar 3
printf("\033[47;1m \n");
@lolarobins
lolarobins / tictactoe.c
Created May 31, 2022 18:08
1 player tic tac toe for ICS4U
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <time.h>
char board[9];
bool win()
{
// row checking
@lolarobins
lolarobins / wordle.c
Last active May 26, 2022 13:12
Simple wordle C program for ICS4U
#include <stdio.h>
#include <ctype.h>
#include <time.h>
#include <stdlib.h>
typedef char *string;
typedef enum boolean
{
false,
@lolarobins
lolarobins / asciigentootrans
Created April 18, 2022 19:57
Trans Gentoo Ascii (0 14 13 7)
${c1} -/oyddmdhs+:.
-o${c2}dNMMMMMMMMNNmhy+${c1}-`
-y${c2}NMMMMMMMMMMMNNNmmdhy${c1}+-
`o${c2}mMMMMMMMMMMMMNmdmmmmddhhy${c1}/`
om${c3}MMMMMMMMMMMN${c1}hhyyyo${c3}hmdddhhhd${c1}o`
.y${c3}dMMMMMMMMMMd${c1}hs++so/s${c3}mdddhhhhdm${c1}+`
oy${c3}hdmNMMMMMMMN${c1}dyooy${c3}dmddddhhhhyhN${c1}d.
:o${c4}yhhdNNMMMMMMMNNNmmdddhhhhhyym${c1}Mh
.:${c4}+sydNMMMMMNNNmmmdddhhhhhhmM${c1}my
/m${c4}MMMMMMNNNmmmdddhhhhhmMNh${c1}s: