Skip to content

Instantly share code, notes, and snippets.

@amutu
amutu / SetFixedIPOmniOS
Created July 28, 2023 01:36 — forked from gialnet/SetFixedIPOmniOS
OmniOS set the fixed IP network
# dladm show-phys
ipadm create-if e1000g0
ipadm create-addr -T static -a 10.56.33.51/24 e1000g0/v4static
route -p add default 10.56.33.1
echo 'nameserver 10.56.33.1' >> /etc/resolv.conf
@amutu
amutu / harden
Created November 13, 2023 06:07 — forked from jahil/harden
FreeBSD System Hardening Script
#!/bin/sh
##################################################################
##################################################################
#
# The FreeBSD System Hardening Script
# David Childers - 15 February, 2010
#
# This software is released under the Attribution-ShareAlike version 3.0 Licence.
# www.creativecommons.org/licenses/by-sa/3.0/
#
@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
@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 / 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 / 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 / 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 / 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

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

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

GitHub - nof0 Follow @wquguru

目录

@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