Skip to content

Instantly share code, notes, and snippets.

View seiry's full-sized avatar
🍞
🧱 ➡️ 🍞

Seiry Yu seiry

🍞
🧱 ➡️ 🍞
View GitHub Profile
@seiry
seiry / TurnipPrices.cpp
Created April 3, 2020 03:07 — forked from Treeki/TurnipPrices.cpp
AC:NH turnip price calculator
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
// munged from https://github.com/simontime/Resead
namespace sead
{
class Random
{
@seiry
seiry / pppd-cve.py
Created April 24, 2020 14:14 — forked from namidairo/pppd-cve.py
Xiaomi RM2100 1.0.14 vs. CVE-2020-8597
from scapy.all import *
from socket import *
interface = "enp0s31f6"
def mysend(pay,interface = interface):
sendp(pay, iface = interface)
def packet_callback(packet):
@seiry
seiry / .extra.zshrc
Created August 23, 2023 15:14
.extra.zshrc
alias gdog="dog --tls @dns.google"
alias tdog="dog --tls @dot.pub"
@seiry
seiry / clash.docker.tun.yml
Created February 27, 2024 10:49
clash tun in docker
version: '3'
services:
clash:
image: metacubex/mihomo
volumes:
- /volume1/docker/clash/:/root/.config/mihomo/
environment:
- TZ=Asia/Shanghai
restart: unless-stopped
network_mode: "host"
version: '3.8'
services:
ddns-go:
image: jeessy/ddns-go
container_name: ddns-go
restart: unless-stopped
network_mode: host
volumes:
- /volume1/docker/ddns-go:/root