Skip to content

Instantly share code, notes, and snippets.

@RubenKelevra
RubenKelevra / fast_firefox.md
Last active December 21, 2025 03:07
Make Firefox fast again
@rmtbb
rmtbb / iMessageAttachmentsLinksExtractor.sh
Created November 3, 2024 23:16
iMessage Attachments and Links Extractor for macOS
#!/bin/bash
# Define the main export folder
export_folder=~/Desktop/iMessages_Export
mkdir -p "$export_folder"
# Part 1: Generate the CSV file
echo "Generating CSV file..."
sqlite3 ~/Library/Messages/chat.db <<EOF
@sile
sile / main.md
Last active December 21, 2025 02:56
2025年の趣味開発環境

2025年の趣味開発環境

2025年は趣味開発環境の変化が大きかったので備忘録として残しておく。

前提:

  • 趣味開発はほぼ毎日している
  • 開発するのはコマンドラインツールやライブラリが多い
  • 言語はほぼRust
  • 開発はほぼAndroid上
@7etsuo
7etsuo / tetsuo_curl.c
Created December 20, 2025 21:06
tetsuo_curl.c
// clang-format off
/*
* SPDX-License-Identifier: MIT
* Copyright (c) 2025 Tetsuo AI
*
* tetsuo_curl.c - A minimal curl-like HTTP client using the Simple API
*
* Demonstrates how little code is needed for a functional HTTP client.
* Redirects are followed automatically (up to 10 hops).
*
@dmdotin
dmdotin / Simple Eraser for Windows
Last active December 21, 2025 02:49
Simple Eraser for Windows
Visit http://portableapps.com/apps/security/eraserdrop-portable
Download & Install in a Normal Folder
Ex: C:\Eraser Portable ( Make a New Folder in " C " Drive )
Install to C:\Eraser Portable
Run it & You will see a Icon in Desktop ..
@plembo
plembo / addbr0ubunmcli.md
Last active December 21, 2025 02:46
Add br0 to Ubuntu desktop using nmcli

Add a bridge interface to Ubuntu desktop using nmcli

Had to do this for some advanced networking with KVM, and couldn't figure out how to do it using the Nework Manager gui. Did find an article later that showed how to do it with nmtui, but it's so much easier to record what you did when using the cli.

In the examples below "eth0" is the name of my physical interface. By default on Ubuntu and most distributions that will almost certainly be different, for example: "eno1", "ens1", or "enp2s0".

To see what everything looks like before starting:

@probonopd
probonopd / Wayland.md
Last active December 21, 2025 03:13
Think twice about Wayland. It breaks everything!

Think twice before abandoning X11. Wayland breaks everything!

tl;dr: Wayland is not "the future", it is merely an incompatible alternative to the established standard with a different set of priorities and goals.

Wayland breaks everything! It is binary incompatible, provides no clear transition path with 1:1 replacements for everything in X11, and is even philosophically incompatible with X11. Hence, if you are interested in existing applications to "just work" without the need for adjustments, then you may be better off avoiding Wayland.

Wayland solves no issues I have but breaks almost everything I need. Even the most basic, most simple things (like xkill) - in this case with no obvious replacement. And usually it stays broken, because the Wayland folks mostly seem to care about Automotive, Gnome, maybe KDE - and alienating e

@MiguelMateoTavarez
MiguelMateoTavarez / docker-compse-mongo-nest.txt
Last active December 21, 2025 02:26
docker-compose for mongo and mongo-express
version: "3"
services:
mongo:
container_name: ${MONGO_DB_NAME}
image: mongo:6.0
volumes:
- poke-vol:/data/db
ports:
- ${MONGO_HOST_PORT}:${MONGO_CONTAINER_PORT}
@sundowndev
sundowndev / GoogleDorking.md
Last active December 21, 2025 02:26
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@cobak78
cobak78 / forgejo_keda_autoscaler.md
Created January 27, 2025 09:43
Forgejo runner with keda autoscaler

# Using a KEDA autoscaler with Forgejo Actions runners

Prerequisites

  1. Forgejo setup. A forgejo installation with new job metric endpoint on it, the official release with this endpoint will be v11 of Forgejo.
  2. KEDA installation. A KEDA installation with support for Forgejo Autoscaler on it. https://keda.sh/docs/2.16/deploy/ (PR pending)
  3. Runner Image. A runner image with --one-job command on it. Official release will be 6.1

Configuration