Skip to content

Instantly share code, notes, and snippets.

@pilot51
pilot51 / lutris_install_there_edge.yaml
Last active May 3, 2026 01:41
Lutris install script: There (Edge) & ThereIM
name: "There"
description: "Install There (Edge version) and ThereIM"
game_slug: there
version: ThereEdge
slug: there-edge
runner: wine
year: 2003
notes: |
Additional required software to be installed:
- Microsoft Edge
@chapmanjacobd
chapmanjacobd / comparing_oss_photo_organizers.md
Last active March 31, 2026 19:04
Comparing OSS Photo Organizers

PhotoPrism, LibrePhotos, Damselfly, and Immich

I chose to compare PhotoPrism, LibrePhotos, and Damselfly, because they seemed like the strongest freely available candidates for a large library of photographs.

I am mostly interested in face clustering (DBSCAN) and other "AI" capabilities like auto-categorization. Import speed is not as important to me as "playback" speed. I don't mind if it takes a few days but once everything is indexed and processed then it should be fast to explore everything.

The dataset that I used for this comparison was under 22GiB but over 750,000 images. Mostly AVIF files but some PNG and some JPEG.

Ease of installation

@MDX-Tom
MDX-Tom / Readme.md
Last active May 22, 2026 11:11
Bruteforce 4-digit passcode on iPhone 5 iOS 9~10 via SSH Ramdisk

Bruteforce 4-digit passcode on iPhone 5 iOS 9~10 via SSH Ramdisk

Here is a guide for automatically bruteforcing 4-digit passcodes on iPhone 5 using only a computer and a USB cable (without an MFC Dongle). My device is iPhone5,2 (iPhone 5 Global) iOS 9.2 (FMI OFF), the steps below may work on other 32-bit devices or other iOS versions (see below for tested working devices and iOS versions), but shall not work on any 64-bit devices.

See https://www.reddit.com/r/setupapp/comments/1ha2arg/bruteforce_4digit_passcode_on_iphone_5_ios_9_via/ for discussions.

Updated 10 Jan. 2025:

A more powerful guide for bruteforcing 32-bit devices was released by a reddit user: https://www.reddit.com/r/setupapp/comments/1hw5bfa/bruteforcing_32bit_iphones_ondevice_4_digit_pin/

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 8, 2026 03:14
Complete Recent Discord Quest

Caution

As of April 7th 2026, Discord has expressed their intent to crack down on automating quest completion.

Some users have received the following system message:

image

There isn't much I can do to make the script undetected, so use it at your own risk, as you most likely WILL get flagged by doing so.

Complete Recent Discord Quest

@OrionReed
OrionReed / dom3d.js
Last active June 4, 2026 22:02
3D DOM viewer, copy-paste this into your console to visualise the DOM topographically.
// 3D Dom viewer, copy-paste this into your console to visualise the DOM as a stack of solid blocks.
// You can also minify and save it as a bookmarklet (https://www.freecodecamp.org/news/what-are-bookmarklets/)
(() => {
const SHOW_SIDES = false; // color sides of DOM nodes?
const COLOR_SURFACE = true; // color tops of DOM nodes?
const COLOR_RANDOM = false; // randomise color?
const COLOR_HUE = 190; // hue in HSL (https://hslpicker.com)
const MAX_ROTATION = 180; // set to 360 to rotate all the way round
const THICKNESS = 20; // thickness of layers
const DISTANCE = 10000; // ¯\\_(ツ)_/¯
@ghostrider-05
ghostrider-05 / discord_app_protocols.md
Last active June 1, 2026 03:21
An unofficial list of discord app protocol routes

Discord app protocol routes

I know these links work on Windows, have not tested this on any other operating systems.

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
@shvchk
shvchk / xdotool-nofail
Created February 28, 2021 15:45
Do not let xdotool fail, see jordansissel/xdotool#60
#! /usr/bin/env sh
T0=$(date +%s)
while [ $(( `date +%s` - T0 )) -lt 10 ]; do
[ -z "$(xdotool $@ 2>&1)" ] && break
sleep 0.1
done
@scragly
scragly / discord_emoji.md
Last active May 2, 2026 02:07
Emoji for Discord Bots

Discord Emoji

Note: This is written for those using Python 3 and discord.py, so if you're using something else please reference the relevant documentation for your language or library if you choose to use this as a general reference.

On Discord, there are two different emoji types:

Each needs to be handled differently, as while unicode emoji are just simple unicode characters, Discord custom emoji are special objects available only in Discord, belonging to a specific Discord guild and having their own snowflake ID.

@keberwein
keberwein / restart_nginx.bat
Created September 2, 2016 16:28
Restart Nginx Windows
@ECHO OFF
cd /nginx
taskkill /f /IM nginx.exe
start nginx
EXIT
@zulhfreelancer
zulhfreelancer / nginx_port_8080_to_80.md
Last active October 17, 2025 16:34
How to change Nginx port 8080 to 80
  1. ssh root@IP_ADDRESS
  2. nano /etc/nginx/sites-enabled/default
  3. add this at the bottom of the file:
server {
        listen 80;
        listen [::]:80;

        server_name YOUR_DOMAIN_NAME_HERE;