Skip to content

Instantly share code, notes, and snippets.

View motform's full-sized avatar
📴
K-SPACE KOLLAPSE

Love Lagerkvist motform

📴
K-SPACE KOLLAPSE
View GitHub Profile
/* A simple Arc boost that injects a button to download all images from a generated set. */
const sleep = ms => { return new Promise(resolve => setTimeout(resolve, ms)) }
const downloadImages = async () => {
const newImages = document.querySelector(".task-page-generations");
const imageThumbnails = newImages.querySelectorAll(".generated-image-overlay");
for (const imageThumbnail of imageThumbnails) {
imageThumbnail.click();
@motform
motform / CO2ActuatorBLE.ino
Created January 9, 2020 16:41
Techno-neolithic Syncro-ritualisations of Interdependent Bodies
/******************************************************************************
Actuator part of CO2-assemblage.
© Love Lagerkvist, 2020-01-07
Looks for a BLE Peripheral advertising @ 19b10000-e8f2-537e-4f6c-d104768a1214
Dims the ring based on the BLE Char at the same UUID, understood to be CO2
Hardware setup:
Neopixel Ring LED 24:
5V to 5V pin
@motform
motform / randomBlackout.ino
Last active November 2, 2019 10:42
Source code for Random Blackout probe
/*
randomBlackout – 1.0.0
Prompts the user to turn off a random kitchen appliance using
an Arduino Uno hooked up to an LCD display and a buzzer.
All in the grand name of science.
The circuit:
* Arduino Uno