Skip to content

Instantly share code, notes, and snippets.

@catalyst0
catalyst0 / instagram-comment-activity-deleter.js
Created February 6, 2025 21:23 — forked from sbolel/instagram-comment-activity-deleter.js
Instagram Comment Activity Deleter: Automate the deletion of all your Instagram comments from the 'Your Activity' section. Perfect for quick digital clean-up.
/**
* This script automates the process of deleting your own Instagram comments.
* It deletes comments in batches to avoid hitting rate limits or breaking the page.
*
* WARNING: This function directly manipulates the DOM and depends on the current HTML
* structure of Instagram's website to work. If Instagram implements changes to the
* activity page layout, structure, or functionality, this script may break or cause
* unexpected behavior. Use at your own risk and always review code before running it.
*
* How to use:
@catalyst0
catalyst0 / Main.java
Created July 1, 2022 04:04 — forked from mo-ba/Main.java
read lines from file
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.LinkedList;
import java.util.List;
import java.util.Scanner;
import java.util.function.Function;
public class Main {
@catalyst0
catalyst0 / sed_snippets.sh
Created March 6, 2021 14:13 — forked from r2k0/sed_snippets.sh
sed examples
##FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'
# triple space a file