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 / 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*"
@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