Skip to content

Instantly share code, notes, and snippets.

@amutu
amutu / pi-hole.conf
Created March 23, 2026 07:06 — forked from timothymiller/pi-hole.conf
Unbound config with hardened security to support DNS over TLS 1.3 via Cloudflare & CleanBrowsing, DNS-SEC, and multi-threading.
server:
###########################################################################
# LOGGING
###########################################################################
# Do not print log lines to inform about local zone actions
log-local-actions: no
# Do not print one line per query to the log
log-queries: no
# Do not print one line per reply to the log
log-replies: no
@amutu
amutu / nat64-dns64-hk.md
Last active March 23, 2026 09:09
public nat64 for HongKong

香港nat64的背景

对于ipv6 only的网络,要访问ipv4资源,可以使用nat64实现。公开的免费nat64大部分都在欧美地区,比如这里https://nat64.net/public-providers 列出的。 香港地区没有公共nat64,如果ipv6 only网络想要访问ipv4 only的资源(如github)则比较麻烦,因此我自己建了一个,共享出来给有需要的人。

香港的公共nat64和dns64

这是我自建的一个nat64服务,位于香港:

dns64-hk.rasde.com 2600:70ff:ac2c::64

nat64前缀:2600:70ff:ac2c:64::/96

@amutu
amutu / Top_Public_Recursive_Name_Servers.md
Created February 3, 2026 11:49 — forked from mutin-sa/Top_Public_Recursive_Name_Servers.md
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W

nof1.ai Alpha Arena 提示词工程逆向分析

逆向工程说明: 本文档基于 nof1.ai Alpha Arena 的公开文档、交易行为模式、API 响应格式和社区讨论,系统性地逆向推导出其 System Prompt 和 User Prompt 的完整结构,欢迎各路大佬戳戳评论,一起来进行这个有趣的实验。

GitHub - nof0 Follow @wquguru

目录

@amutu
amutu / RTX_5090_CUDA_v6.2.6-851.Benchmark
Created September 11, 2025 08:18 — forked from Chick3nman/RTX_5090_CUDA_v6.2.6-851.Benchmark
Hashcat v6.2.6-851 benchmark on the Nvidia GeForce RTX 5090 FE
Nvidia Driver Version: 570.86.10 CUDA Version: 12.8
Hashcat was built from the github master branch at the time of running.
A handful of Whirlpool based modes reported an error due to self-test failures.
The GeForce RTX 5090 was added to the tuning Alias file for this run.
hashcat (v6.2.6-851-g6716447df) starting in benchmark mode
@amutu
amutu / paste.vim
Created February 28, 2025 02:58 — forked from romainl/paste.vim
Sharing is caring
" Mac OS X (requires curl)
" ------------------------
command! -range=% SP <line1>,<line2>w !curl -F 'sprunge=<-' http://sprunge.us | tr -d '\n' | pbcopy
command! -range=% CL <line1>,<line2>w !curl -F 'clbin=<-' https://clbin.com | tr -d '\n' | pbcopy
command! -range=% VP <line1>,<line2>w !curl -F 'text=<-' http://vpaste.net | tr -d '\n' | pbcopy
command! -range=% PB <line1>,<line2>w !curl -F 'c=@-' https://ptpb.pw/?u=1 | tr -d '\n' | pbcopy
command! -range=% IX <line1>,<line2>w !curl -F 'f:1=<-' http://ix.io | tr -d '\n' | pbcopy
command! -range=% EN <line1>,<line2>w !curl -F 'file=@-;' https://envs.sh | tr -d '\n' | pbcopy
command! -range=% XO <line1>,<line2>w !curl -F 'file=@-' https://0x0.st | tr -d '\n' | pbcopy
command! -range=% TB <line1>,<line2>w !nc termbin.com 9999 | tr -d '\n' | pbcopy
@amutu
amutu / example.com.conf
Created December 18, 2024 07:37 — forked from ArrayIterator/example.com.conf
Nginx Configuration Detect User-Agent
server {
listen 80;
listen 443 ssl http2;
server_name example.com;
root /path/to/public/www;
# ADD HEADERS
# Using nginx-http-mod-headers-more
# https://github.com/openresty/headers-more-nginx-module
more_set_headers 'X-Browser-Os: $client_browser_os';
@amutu
amutu / PostgreSQL-EXTENSIONs.md
Created August 10, 2024 07:26 — forked from joelonsql/PostgreSQL-EXTENSIONs.md
1000+ PostgreSQL EXTENSIONs

🗺🐘 1000+ PostgreSQL EXTENSIONs

This is a list of URLs to PostgreSQL EXTENSION repos, listed in alphabetical order of parent repo, with active forks listed under each parent.

⭐️ >= 10 stars
⭐️⭐️ >= 100 stars
⭐️⭐️⭐️ >= 1000 stars
Numbers of stars might not be up-to-date.

@amutu
amutu / my-external-ip.sh
Created April 22, 2024 07:08 — forked from sylvaincombes/my-external-ip.sh
View your external ip from linux / unix shell
# with dig (fastest way)
dig +short myip.opendns.com @resolver1.opendns.com;
# alternative
dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}';
######################################################################################################
## Other method with curl / get and 3rd party, this choice is less judicious
######################################################################################################
# with curl
@amutu
amutu / curl_my_ip.sh
Created April 22, 2024 07:07 — forked from leafsummer/curl_my_ip.sh
curl my ip
#满足了一下自己的搜集癖,搜集了不少可以用来查询外网IP的网址和方法。
#国内某网站的接口,只返回IP
curl ip.6655.com/ip.aspx
curl whatismyip.akamai.com
curl ipip.net
#更多用法访问ifconfig.co
wget -qO - ifconfig.co