Skip to content

Instantly share code, notes, and snippets.

@taichikuji
taichikuji / README.md
Last active August 3, 2026 03:42
Get a DDNS up and running with DuckDNS - Step by Step

Get a DDNS up and running with DuckDNS - Step by Step

Understanding DDNS

In summary, DDNS stands for Dynamic DNS. DDNS updates a DNS name in real-time to point to a changing IP address. This is useful for devices without a static IP. For example, companies like Google use static IPs and IP ranges, which are more expensive than ephemeral IPs and IP ranges. DDNS provides a cost-effective alternative, linking a hostname to a dynamic IP address.

How Does DDNS Work?

To use DDNS, you need an account with a DDNS provider. While some services are paid, they are still cheaper than static public IPs from ISPs. A script or service on your device updates the DDNS server with your current IP at regular intervals to maintain the link between your hostname and IP address. Luckily for us, DuckDNS is free for everybody and relays on donations to keep their services running.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active August 3, 2026 03:42
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

@taichikuji
taichikuji / README.md
Last active August 3, 2026 03:42
How to Squash Commits in Git (After Push)

Introduction

How to squash commits in git after they have been pushed?

This guide provides a solution for users who need to combine (squash) multiple commits into a single one after they have already been pushed to a remote repository.

Important: Rebasing pushed commits changes the history. Do not follow this guide if you are working on a shared branch that others have pulled from, as it will break their history.

Before anything else, here's the part that I always rely on, so I will just copy and paste it, then explain it;

@miketartar
miketartar / ColdTurkeyBlockerActivator.py
Created September 26, 2020 04:21
Cold Turkey Blocker Activator
import json
import sqlite3
import os
DB_PATH = "C:/ProgramData/Cold Turkey/data-app.db"
def activate():

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@nabilfreeman
nabilfreeman / minimal-android-emulator-macos.md
Last active August 3, 2026 03:39
Minimal Android Emulator Setup for macOS - No Android Studio Required (Perfect for Expo & React Native)

Minimal Android Emulator Setup for macOS (No Android Studio Required)

The Problem: You Just Want an Emulator

If you're a React Native or Expo developer, you've probably experienced this frustration: you just want to test your app on an Android emulator, but every guide tells you to install the massive Android Studio IDE. Suddenly you're downloading gigabytes of tools you'll never use, your shell is polluted with Java paths and Android environment variables, and your pristine development setup feels bloated.

You don't want to become an Android developer. You just want to see your cross-platform app running on an Android device.

Maybe you're like me:

  • You use Expo with EAS Build for all your native builds
@tankxu
tankxu / VoHive-Deploy.md
Last active August 3, 2026 03:35
VoHive 仓库 / 固件 / 部署 / 升级 完全手册

VoHive 仓库 / 固件 / 部署 / 升级 完全手册

记录 vohive 的来源、二进制获取、在网心云 OES Plus(arm64)上的部署与升级方法。 整理时间:2026-07。当前 OES Plus 上运行 v1.5.15 原生 arm64/opt/vohive,systemd 服务,端口 7575)。


一、仓库现状(重要:官方已跑路)

  • 官方iniwex5/vohive(Go 源码)+ iniwex5/vohive-release(发布)
@samsch
samsch / stop-using-jwts.md
Last active August 3, 2026 03:33
Stop using JWTs

Stop using JWTs!

TLDR: JWTs should not be used for keeping your user logged in. They are not designed for this purpose, they are not secure, and there is a much better tool which is designed for it: regular cookie sessions.

If you've got a bit of time to watch a presentation on it, I highly recommend this talk: https://www.youtube.com/watch?v=pYeekwv3vC4 (Note that other topics are largely skimmed over, such as CSRF protection. You should learn about other topics from other sources. Also note that "valid" usecases for JWTs at the end of the video can also be easily handled by other, better, and more secure tools. Specifically, PASETO.)

A related topic: Don't use localStorage (or sessionStorage) for authentication credentials, including JWT tokens: https://www.rdegges.com/2018/please-stop-using-local-storage/

The reason to avoid JWTs comes down to a couple different points:

  • The JWT specification is specifically designed only for very short-live tokens (~5 minute or less). Sessions
@aravindnc
aravindnc / Activate_Windows_8_8.1_10_and_11_Pro_for_Free.md
Created February 19, 2024 17:15
Activate Windows 8, 8.1, 10 and 11 Pro for Free

Activate Windows 8, 8.1, 10 and 11 Pro for Free

A guide how to get and activate Windows 8, 8.1, 10 and 11 Pro for free!

NOTE

If you see the Windows keyboard button in this guide; and you can't find it on your keyboard, you likely have/had Windows 10 which has the button . If you can't find that one, you likely have a PC that has been upgraded to Windows 8/8.1/10/11 from Windows 8.1/8/7/Vista/XP and other ones. If you have one of those, refer the Windows key button to as yours. A list of them is below:

Windows key buttons

- Windows 11

- Windows 10