Skip to content

Instantly share code, notes, and snippets.

View YukiCoco's full-sized avatar
🐟
Touching fish

Kurisu YukiCoco

🐟
Touching fish
View GitHub Profile
@fengtality
fengtality / humidifi-swap-parser.js
Created December 4, 2025 04:36
HumidiFi Swap Parser - Decodes obfuscated swap data from HumidiFi transactions on Solana
#!/usr/bin/env node
/**
* HumidiFi Swap Parser
* Parses and decodes obfuscated swap data from HumidiFi transactions on Solana.
*
* HumidiFi obfuscates swap parameters using XOR encryption. This script decrypts
* the data and extracts: pool address, tokens involved, and swap amounts.
*
* Usage:
* node humidifi-swap-parser.js <transaction_signature>
@YukiCoco
YukiCoco / KeypairVault.rs
Last active November 16, 2025 03:06
安全在服务器储存敏感内容的算法,使用 Argon2 + AES 加密
use std::fs;
use std::path::Path;
use argon2::{
password_hash::{
rand_core::OsRng,
PasswordHasher, SaltString
},
Argon2
};
use aes_gcm::{
@Cyang39
Cyang39 / alist-upload.md
Created September 8, 2024 02:58
curl 上传 alist 的 bash 脚本

参考这个分享的curl上传方法编写的脚本,目的是简化 token 获取到上传文件的流程。

个人用在定时文件备份中。

#!/bin/bash

# 检查参数数量
if [ $# -ne 6 ]; then
    echo "Usage: $0 --username <username> --password <password> <local-file> <alist-url>"
@delasy
delasy / HAMSTER-KOMBAT-PLAYGROUND-GAMES-PRMO-CODE-KEYS-GENERATOR.md
Last active April 9, 2025 14:06
[FREE] Hamster Kombat playground promo code keys generator.

HamsterKombat Playground Promo Code Keys Generator

by @delasy

Warning

THIS SCRIPT IS NO LONGER MAINTAINED.

USE IT AT YOUR OWN RISK AFTER 2024-09-26.

This script is way more advanced than other scripts out there.

  • allows generating HamsterKombat coupon code for free using your machine.
@snightshade
snightshade / gshade_to_reshade_guide.md
Last active June 18, 2026 11:13
GShade -> ReShade migration guide for FFXIV

How To Move To ReShade From GShade

(a guide by sylvie (@lostkagamine). tested, should work fine.)

(Korean version / 한국어 버전 / Chinese version / 中文版)

New: FAQ has been updated for ReShade 5.7.0 features.

If you are having issues like the screen turning black, read the mini-FAQ at the bottom of this document!

0. Don't uninstall GShade yet!

@Obydux
Obydux / Fabric-Server-Optimization.md
Last active July 28, 2026 09:53
Fabric Server Optimization

Fabric Server Optimization

This has been updated for 26.1 - 26.2, all of the optimization mods mentioned here are compatible with each other and don't affect vanilla behaviour by default.

Mods

@VADemon
VADemon / rftools-BUGGED_LIVINGMATTER.cfg
Created December 4, 2019 02:24
FTB Revelations: Fixed RFTools Matter Beamer's Living Matter transfer
# Configuration file
blockprotector {
I:blockProtectorMaxRF=500000
I:blockProtectorRFPerTick=20000
B:enabled=true
I:maxProtectDistance=10
I:rfForExplosionProtection=10000
I:rfForHarvestAttempt=2000
I:rfPerProtectedBlock=5
@stefanbuck
stefanbuck / upload-github-release-asset.sh
Last active May 20, 2026 19:38
Script to upload a release asset using the GitHub API v3.
#!/usr/bin/env bash
#
# Author: Stefan Buck
# License: MIT
# https://gist.github.com/stefanbuck/ce788fee19ab6eb0b4447a85fc99f447
#
#
# This script accepts the following parameters:
#
# * owner
@yemrekeskin
yemrekeskin / TurkishIdNoGenerator.html
Created July 23, 2014 08:33
Random Turkish Identification Number Generator with javascript
<!--
Random Turkish Identification Number Generator
-->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>