Skip to content

Instantly share code, notes, and snippets.

View muuvmuuv's full-sized avatar

Marvin Heilemann muuvmuuv

View GitHub Profile
@muuvmuuv
muuvmuuv / Instagram_mass_delete.js
Last active December 4, 2025 10:33
Instagram messages mass delete
// Delete Instagram chat messages using "unsend".
//
// Thanks to: https://github.com/mahdixmohammad/instapurge/blob/main/main.js
console.clear()
const conversation = document.getElementsByClassName("x78zum5 xdt5ytf x1iyjqo2 xs83m0k x1xzczws x6ikm8r x1odjw0f x1n2onr6 xh8yej3 x16o0dkt")[0];
console.log("Conversation window", conversation)
conversation.scrollTo(-1)
@muuvmuuv
muuvmuuv / VS Code Firewall
Created November 3, 2025 07:55
Thanks to @yusuf-daglioglu, with that inside settings.json from VS Code we have a lightweight application side firewall that just works: https://github.com/microsoft/vscode/issues/52116#issuecomment-3324254163
{
//////////////////////////////////////
// FIREWALL
// via fake proxy.
"http.proxy": "https://notexist11111111:9999",
"http.noProxy": [
// CHECK NETWORK REQUESTS MADE BY VSCODE AND EXTENSIONS:
// Help -> Toogle developer tools -> network (tab)
// FOR VSCODE ONLY.
@muuvmuuv
muuvmuuv / bulk-reorder-object.sh
Created June 13, 2025 09:17
Bulk re-order json file contents like dependencies in package.json or paths in tsconfig.json. It uses `jq` and can be expanded to re-order other paths as well!
#!/usr/bin/env sh
tsconfig_files=$(
find . -type d \( -path "*/node_modules" -o -path "*/dist" -o -path "*/tmp" -o -path '*/.*' \) -prune \
-o -not -name '.*' \
-type f -name "tsconfig*.json" \
-print
)
for tsconfig_file in $tsconfig_files; do
@muuvmuuv
muuvmuuv / .devcontainer_Dockerfile
Last active October 16, 2023 22:20
ARM64 (Silicon) Tensorflow IO devcontainer configuration with Poetry to avoid the headache
FROM mcr.microsoft.com/devcontainers/python:3.10
RUN curl -sSL https://install.python-poetry.org | POETRY_HOME=/usr/local python3 -
USER vscode
RUN /usr/local/bin/poetry config virtualenvs.in-project true
@muuvmuuv
muuvmuuv / how-to-php-fpm-pm-optimized.md
Last active September 5, 2024 12:43
Get optimized PHP-fpm "pm" config
@muuvmuuv
muuvmuuv / cypress-plugin-use-puppeteer.js
Last active June 10, 2021 12:38
Use puppeteer browser with Cypress to avoid installing browsers on your system yourself or in CI
const puppeteer = require('puppeteer')
/**
* Because no browsers are bundled with Cypress we will use the already installed
* puppeteer binary that we use for Karma. This function returns information
* about the latest downloaded binary for Chrome by Puppeteer. It works for now
* but might throw errors in future, it is a workaround not a plugin.
*
* @see https://docs.cypress.io/guides/guides/launching-browsers.html#Customize-available-browsers
*/