Skip to content

Instantly share code, notes, and snippets.

View siathalysedI's full-sized avatar
🎯
Focusing

Arnstein Henriksen siathalysedI

🎯
Focusing
View GitHub Profile
@mobob
mobob / agent-browser.md
Last active January 15, 2026 05:11
Claude Code Skill for agent-browser

agent-browser

Browser automation CLI optimized for AI agents. Use npx agent-browser for all commands.

When to Use

  • Testing websites and web applications
  • Verifying UI changes after code modifications
  • Checking for console errors and page issues
  • Taking screenshots for documentation or debugging
@siathalysedI
siathalysedI / a_chat_parse.js
Created January 9, 2026 02:46 — forked from RageshAntony/a_chat_parse.js
Whatsapp Chat Parser
const readline = require('readline');
const fs = require('fs');
const rl = readline.createInterface({
input: process.stdin,
output: process.stdout
});
const filename = "chat_export.txt";
let datetime_str = "";
@arianvp
arianvp / SSH_MACOS_SECURE_ENCLAVES.md
Last active January 20, 2026 11:10
Native Secure Enclaved backed ssh keys on MacOS

Native Secure Enclave backed ssh keys on MacOS

It turns out that MacOS Tahoe can generate and use secure-enclave backed SSH keys! This replaces projects like https://github.com/maxgoedjen/secretive

There is a shared library /usr/lib/ssh-keychain.dylib that traditionally has been used to add smartcard support to ssh by implementing PKCS11Provider interface. However since recently it also implements SecurityKeyProivder which supports loading keys directly from the secure enclave! SecurityKeyProvider is what is normally used to talk to FIDO2 devices (e.g. libfido2 can be used to talk to your Yubikey). However you can now use it to talk to your Secure Enclave instead!

@jbreckmckye
jbreckmckye / Cloudflare.md
Last active December 25, 2025 23:22
The CloudFlare outage was a good thing

The Cloudflare outage was a good thing

Cloudflare, the CDN provider, suffered a massive outage today. Some of the world's most popular apps and web services were left inaccessible for serveral hours whilst the Cloudflare team scrambled to fix a whole swathe of the internet.

And that might be a good thing.

The proximate cause of the outage was pretty mundane: a bad config file triggered a latent bug in one of Cloudflare's services. The file was too large (details still hazy) and this led to a cascading failure across Cloudflare operations. Probably there is some useful post-morteming about canary releases and staged rollouts.

@vedantroy
vedantroy / demo.ts
Last active December 25, 2025 23:35
SQLite-backed key-value store with JS-like object manipulation and automatic JSON serialization.
import Database from 'better-sqlite3';
import { createDatabaseClient } from './proxy.ts';
// 1) Create an in-memory DB and your table(s).
const db = new Database(':memory:');
db.exec(`
CREATE TABLE users (
id TEXT PRIMARY KEY,
data JSON
);
#!/bin/bash
# Counters for Maven and Gradle projects
maven_count=0
gradle_count=0
echo "Starting to clean projects..."
# Recursively find directories containing pom.xml and run 'mvn clean'
while IFS= read -r -d '' file; do
@mouredev
mouredev / voice_translator.py
Last active December 26, 2025 07:08
Traductor de voz a diferentes idiomas utilizando IA y Gradio para la creación de la UI Web
import gradio as gr
import whisper
from translate import Translator
from dotenv import dotenv_values
from elevenlabs.client import ElevenLabs
from elevenlabs import VoiceSettings
# requirements.txt
"""
gradio
@timothyham
timothyham / ipv6guide.md
Last active January 14, 2026 21:34
A Short IPv6 Guide for Home IPv4 Admins

A Short IPv6 Guide for Home IPv4 Admins

This guide is for homelab admins who understand IPv4s well but find setting up IPv6 hard or annoying because things work differently. In some ways, managing an IPv6 network can be simpler than IPv4, one just needs to learn some new concepts and discard some old ones.

Let’s begin.

First of all, there are some concepts that one must unlearn from ipv4:

Concept 1

@velzie
velzie / manifest-v2-chrome.md
Last active December 25, 2025 23:58
How to keep using adblockers on chrome and chromium

NOTE

by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead

How to keep using adblockers on chrome and chromium

  1. google's manifest v3 has no analouge to the webRequestBlocking API, which is neccesary for (effective) adblockers to work
  2. starting in chrome version 127, the transition to mv3 will start cutting off the use of mv2 extensions alltogether
  3. this will inevitably piss of enterprises when their extensions don't work, so the ExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enough

You can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working

@Tynael
Tynael / index.php
Last active December 19, 2024 10:31
Test PostgreSQL default connection with PHP
<?php
var_dump(
pg_connect("
host=localhost
port=5432
dbname=postgres
user=postgres
password=root
")