Skip to content

Instantly share code, notes, and snippets.

@abir-taheer
abir-taheer / instagram-follower-following.js
Last active September 19, 2024 17:18
"This is our community, this is our family, these are our friends." https://www.youtube.com/watch?v=gk7iWgCk14U&t=425s
if (window.location.origin !== "https://www.instagram.com") {
window.alert(
"Hey! You need to be on the instagram site before you run the code. I'm taking you there now but you're going to have to run the code into the console again.",
);
window.location.href = "https://www.instagram.com";
console.clear();
}
const fetchOptions = {
credentials: "include",
@nicolas-brousse
nicolas-brousse / postgres_uuid_primary_key_benchmark.rb
Last active June 26, 2023 22:31
PostgreSQL Serial/UUID as primary key benchmark
require "pg"
require "benchmark"
require "faker"
def say(msg)
puts msg
end
conn = PG.connect(dbname: "postgres")