Skip to content

Instantly share code, notes, and snippets.

View ckcr4lyf's full-sized avatar
🦀

Raghu Saxena ckcr4lyf

🦀
View GitHub Profile
@ckcr4lyf
ckcr4lyf / README.md
Created September 29, 2026 16:42
NGINX setup for service running on wireguard peer

Background

Guide on how to config nginx for a new domain which will feed to a service running on wireguard peer

Wireguard setup

(TODO)

Nginx port 80 config

(Optional) Generate httpasswd credz via:

@ckcr4lyf
ckcr4lyf / Chinese AI Reseller Config.md
Created August 31, 2026 04:05
Chinese AI Reseller Configs

A6 API

These guys provide DeepSeek at cheap rates

Just Worker

These guys provide Anthropic seemingly for free.

@ckcr4lyf
ckcr4lyf / README.md
Last active August 24, 2026 10:55
How to use Chaozhiyuan AI Pool with pi.dev

Overview

Chaozhiyuan AI Pool provides cheap access to Anthropic / OpenAI models (supposedly).

API Key Groups

Typically when you create an API key you need to link it to a group. From some testing it seems like:

  • Claude/Kiro API keys can use Anthropic models, but not OpenAI
  • GPT API keys can use OpenAI models, and also Anthropic models! (But if you hit /v1/models you'll only see OpenAI models
@ckcr4lyf
ckcr4lyf / README.md
Created April 30, 2024 18:35
Source code for Encrypted Client Hello stuffs on MyWaifu
@ckcr4lyf
ckcr4lyf / guide.md
Created April 12, 2024 10:52
Revanced Guide

Setup Revanced

This gist is just to collect all the links etc. to make it easy. I will try and keep it updated if something changes.

Steps

This assumes a clean phone with no trace of ReVanced or MicroG.

  1. Download Revanced Manager: https://revanced.app/download
  2. Disable YouTube default app in Android Settings
@ckcr4lyf
ckcr4lyf / script.sh
Last active September 27, 2023 10:10
Convert all FLAC files in directory to ALAC (m4a) via ffmpeg
#!/bin/bash
for file in *.flac; do
input="$file"
output="${file%.flac}.m4a"
ffmpeg -i "$input" -c:v copy -acodec alac "$output"
done
echo "Conversion complete."

Network Setup / Topology

Assuming internet facing server (VPS) is Public IP 1.2.3.4 , which is VPN server internally at 10.10.0.1

Assuming home PC is VPN client internally at 10.10.0.2 (Public IP doesn't matter)

We want to expose home PC port 6969 to the internet via the VPS's port 6969.

+---------------------+                   +----------------------+                       +----------------------+
@ckcr4lyf
ckcr4lyf / node_ipc_malware.md
Last active May 18, 2026 20:51
Explanation of the malware in node-ipc
@ckcr4lyf
ckcr4lyf / qbit.md
Last active May 20, 2021 04:58
Installing qbittorrent on USB

qBittorrent on USB Shared Boxes

This guide needs basic terminal (SSH) knowledge.

Setup

cd ~/.apps
wget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.3.1_v1.2.11/amd64-glibc-qbittorrent-nox -O qbittorrent-nox
chmod +x qbittorrent-nox