Skip to content

Instantly share code, notes, and snippets.

View SomethingGeneric's full-sized avatar
📎
support right to repair

Matt C SomethingGeneric

📎
support right to repair
View GitHub Profile
@SomethingGeneric
SomethingGeneric / index.js
Last active September 26, 2025 21:55 — forked from auchenberg/index.js
Script to delete all Google Photos from console (2025)
const maxCount = 500;
const counterSelector = '.rtExYb';
const checkboxSelector = '.ckGgle[aria-checked=false]';
const photoDivSelector = ".yDSiEe.uGCjIb.zcLWac.eejsDc.TWmIyd";
const deleteButtonSelector = 'button[aria-label="Move to trash"]';
//const confirmationButtonSelector = '#yDmH0d > div.VfPpkd-Sx9Kwc.cC1eCc.UDxLd.PzCPDd.V639qd.bvQPzd.oEOLpc.A9Uzve.VfPpkd-Sx9Kwc-OWXEXe-FNFY6c > div.VfPpkd-wzTsW.O4g5Md.iWO5td > div > div.VfPpkd-cnG4Wd.m5OsGf > div > div.VfPpkd-T0kwCb.IdSMxc > button.VfPpkd-LgbsSe.VfPpkd-LgbsSe-OWXEXe-k8QpJ.nCP5yc.AjY5Oe.LQeN7.kDryjd';
const confirmationButtonSelector = 'button.mUIrbf-LgbsSe:nth-child(2)';
async function deleteGooglePhotos() {
// Retrieves the current count of selected photos
package cloud.goober.industrial;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.entity.EntityRendererFactory;
import net.minecraft.client.render.entity.MobEntityRenderer;
import net.minecraft.client.render.entity.feature.ArmorFeatureRenderer;
import net.minecraft.client.render.entity.feature.HeldItemFeatureRenderer;
import net.minecraft.client.render.entity.model.EntityModelLayers;
import net.minecraft.client.render.entity.model.PlayerEntityModel;
import net.minecraft.client.render.model.BakedModelManager;
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Failed to create model for goober-industry:goobot
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:315) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:320) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:791) ~[?:?]
at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.resource.SimpleResourceReload.method_18365(SimpleResourceReload.java:69) ~[minecraft-common-9266c4137a-1.21.1-net.fabricmc.yarn.1_21_1.1.21.1+build.3-v2.jar:?]
at net.minecraft.util.thread.ThreadExecutor.executeTask(ThreadExecutor.java:162) ~[minecraft-common-9266c4137a-1.21.1-net.fabricmc.yarn.1_21_1.1.21.1+build.3-v2.jar:?]
at net.minecraft.util.thread.ReentrantThreadExecutor.executeTask(ReentrantThreadExecutor.java:23) ~[minecraft-common-9266c4137a-1.21
@SomethingGeneric
SomethingGeneric / webrtc_build_fail
Created October 7, 2024 14:02
Attempting to `cargo build` on a project that pulls webrtc-vad 0.4.0
The following warnings were emitted during compilation:
warning: [email protected]: In file included from resources/libfvad/src/signal_processing/signal_processing_library.h:34:0,
warning: [email protected]: from resources/libfvad/src/signal_processing/division_operations.c:20:
warning: [email protected]: resources/libfvad/src/signal_processing/spl_inl.h: In function ‘WebRtcSpl_CountLeadingZeros32’:
warning: [email protected]: resources/libfvad/src/signal_processing/spl_inl.h:42:3: warning: implicit declaration of function ‘static_assert’ [-Wimplicit-function-declaration]
warning: [email protected]: RTC_COMPILE_ASSERT(sizeof(unsigned int) == sizeof(uint32_t));
warning: [email protected]: ^
warning: [email protected]: In file included from resources/libfvad/src/signal_processing/signal_processing_library.h:34:0,
warning: [email protected]: from resources/libfvad/src/signal_processing/get_scaling_square.c:18:
import asyncio
from playwright.async_api import async_playwright
import getpass
async def main():
async with async_playwright() as p:
browser = await p.chromium.launch(headless=False)
page = await browser.new_page()
@SomethingGeneric
SomethingGeneric / citrine.chroot.log
Created October 10, 2021 20:40
Guy Incognito citrine logs
Pick a time zone (Format: America/New_York , Europe/London, etc) : ♠ Set TZ to /usr/share/zoneinfo/America/Chicago
♠ Syncing hardware offset
Do you need more locales than just en_US? (y/N) : MORE=n
♠ Generating selected locales.
Generating locales...
en_US.UTF-8... done
Generation complete.
♠ en_US was set as system primary.
@SomethingGeneric
SomethingGeneric / postfix-dovecot-ubuntu14.04.sh
Created April 19, 2021 14:46 — forked from haisum/postfix-dovecot-ubuntu14.04.sh
Automated bash script to setup dovecot postfix mysql email server on ubuntu 14.04
#!/usr/bin/env bash
#####
# Script to install postfix
#####
DOMAIN="example.com"
EMAIL="[email protected]"
PASSWORD="example.com1*"