Skip to content

Instantly share code, notes, and snippets.

View CraKeyBoy's full-sized avatar
💭
I may be slow to respond.

CraKeyBoy CraKeyBoy

💭
I may be slow to respond.
View GitHub Profile
@Xsir0
Xsir0 / patch-chrome-local-state.sh
Created January 29, 2026 15:03
Patch Chrome Local State for all local profiles: set is_glic_eligible=true (recursive), force variations_country=us, update variations_permanent_consistency_country. Auto backup + restart Chrome if needed.
#!/usr/bin/env bash
set -euo pipefail
need_cmd() { command -v "$1" >/dev/null 2>&1 || { echo "Missing: $1" >&2; exit 1; }; }
need_cmd jq
OS="$(uname -s)"
if [[ "$OS" != "Darwin" ]]; then
echo "This script is macOS-only (Darwin). Current: $OS" >&2
exit 1
@emschwartz
emschwartz / README.md
Last active March 20, 2026 14:36
The Most Popular Blogs of Hacker News in 2025

This is an OPML version of the HN Popularity Contest results for 2025, for importing into RSS feed readers.

Plug: if you want to find content related to your interests from thousands of obscure blogs and noisy sources like HN Newest, check out Scour. It's a free, personalized content feed I work on where you define your interests in your own words and it ranks content based on how closely related it is to those topics.

@lzjluzijie
lzjluzijie / warp.js
Created February 25, 2024 07:55
Cloudflare Warp 24PB key generator
# See https://halu.lu/%E6%9D%82%E8%B0%88/cloudflare-warp/
# Depolyed at https://warp.halu.lu/
// Change keys if needed
const keys = [
"9WO41D5p-6OP8xj27-36gQG75D",
"R65K12Up-aU907O2e-4nuvD581",
"06LM94EJ-1nl0V2d7-V847va5y",
]
@KirovAir
KirovAir / synology-drive-hack.sh
Last active January 16, 2025 17:16
Synology DS216+II eSata as a volume on DSM 7.2
# THANKS TO:
# https://www.casler.org/wordpress/synology-ssd-cache-on-external-devices/
# https://www.youtube.com/watch?v=KvW6LRw1RZs
# THESE ARE THE synoinfo.conf CHANGES I MADE:
# DEFAULT:
maxdisks="2"
internalportcfg="0x3" # 0000 0011
esataportcfg="0x4" # 0000 0100
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active February 28, 2026 19:18
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


@FreddieOliveira
FreddieOliveira / docker.md
Last active March 16, 2026 21:17
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@oofnikj
oofnikj / answerfile
Last active March 19, 2026 05:29
Install Docker on Termux
KEYMAPOPTS="us us"
HOSTNAMEOPTS="-n alpine"
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname alpine
"
TIMEZONEOPTS="-z UTC"
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active March 19, 2026 09:56
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@gaplo917
gaplo917 / IntelliJ IDEA.app.vmoptions
Last active November 3, 2024 16:24
IntelliJ IDEA Java 17 ZGC VM Options
# Personal Feeling: using the following jvm config is smoother than default
# My Machine: Macbook pro M1max 64GB
# More Info: https://github.com/FoxxMD/intellij-jvm-options-explained
# Prerequisite (Intellij < 2022.2)
# 1. Install JetBrain Runtime 17 osx-aarch64 for Apple Silicon, https://github.com/JetBrains/JetBrainsRuntime/releases
# 2. Switch the runtime from JetBrain Runtime 11 to 17, https://www.jetbrains.com/help/idea/switching-boot-jdk.html
# JetBrain Toolbox
@pcmid
pcmid / BaiduPCS-appid-getter.py
Created September 20, 2018 06:44
获取有效的百度app_id
from __future__ import print_function
import requests
import threading
import sys
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)