Skip to content

Instantly share code, notes, and snippets.

wmic PATH Win32_pnpentity GET Description, HardwareID | findstr 大容量存储设备

USB 大容量存储设备 {"USB\VID_0DD8&PID_173C&REV_0100", "USB\VID_0DD8&PID_173C"}

WiFi 速度表

版本 频率 带宽 基础速度 天线数 上限速度
802.11a 5G 20M 54M 1 54M
[General]
bypass-system = true
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
dns-server =
[Rule]
# 手工定义的 Reject 列表
#百度
DOMAIN-SUFFIX,eclick.baidu.com,Reject
# Creater: cuteribs
# Update: 2017-07-22
version: 2
adapter:
- id: reject
type: reject
delay: 300
rule:
- type: domainlist
@cuteribs-1
cuteribs-1 / ss-libev-cygwin.md
Last active May 8, 2019 03:52
Build shadowsocks-libev v3.0.8 with cygwin on Windows

Reqired packages:

gcc-core, automake, autoconf, libtool, libev-devel, libsodium-devel, mbedtls-devel, libpcre-devel

Compile process

$ git clone git://github.com/shadowsocks/libudns
$ cd libudns
$ ./autogen.sh
$ ./configure
$ make
@cuteribs-1
cuteribs-1 / pci-table.md
Last active February 13, 2023 14:17
PCI Vendor Data Table
Vendor Id Vendor Name
0x0033 Paradyne Corp.
0x003D master
0x0070 Hauppauge Computer Works Inc.
0x0100 USBPDO-8
0x0123 General Dynamics
0x0315 SK - Electronics Co., Ltd.
0x0402 Acer aspire one
0x046D Logitech Inc.
#!/bin/sh

#export PATH=$PATH:/opt/toolchains/crosstools-arm-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin
#host=arm-buildroot-linux-gnueabi
export PATH=$PATH:/opt/toolchains/crosstools-aarch64-gcc-5.3-linux-4.1-glibc-2.22-binutils-2.25/usr/bin
host=aarch64-buildroot-linux-gnu
prefix=/opt/dists

# build mbedtls
openssl speed -multi 1 md5 sha1 sha256 sha512 des des-ede3 aes-128-cbc aes-192-cbc aes-256-cbc rsa2048 dsa2048 | tee /tmp/sslspeed
echo "|" `awk 'match($0,/r[0-9]+/) {print substr($0,RSTART,RLENGTH)}' /etc/banner` `awk -v FS=": " -v ORS="" '/(Processor|BogoMIPS|Hardware|machine|cpu model|system type)/ { print "| " $2 " " } END { print "" }' /proc/cpuinfo` `awk -v ORS="" '$1 ~ /OpenSSL/ {print "| " $2 " |"} $1 ~ /(md5|sha)/ {print "  " $5 " |"} $1 ~ /(des|aes)/ {b = b "  " $6 " |"} $1 ~ /(rsa|dsa)/ {print b "  " $6 " | " $7 " ";b=""} END { print "|" }' /tmp/sslspeed | sed 's/\.\(..\)k/\10/g'`

Device
OS
SoC
CPU
BogoMIPS
MD5 SHA1
SHA256
SHA512
DES
3DES
AES128
AES192
AES256
K1 Padavan MT7620 MIPS24K 385.02
# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 04060000 00020000 "rootfs"
mtd1: 04060000 00020000 "rootfs_update"
mtd2: 02800000 00020000 "data"
mtd3: 00100000 00020000 "nvram"
mtd4: 04400000 00020000 "image"
mtd5: 04400000 00020000 "image_update"
mtd6: 003a0000 00020000 "bootfs"
@cuteribs-1
cuteribs-1 / shadowrocket_chnroute.conf
Last active October 28, 2017 05:01
shadowrocket_chnroute.conf
#排骨的小火箭配置
[General]
bypass-system = true
skip-proxy = 192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, localhost, *.local, e.crashlytics.com, captive.apple.com
bypass-tun = 10.0.0.0/8,100.64.0.0/10,127.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.0.0.0/24,192.0.2.0/24,192.88.99.0/24,192.168.0.0/16,198.18.0.0/15,198.51.100.0/24,203.0.113.0/24,224.0.0.0/4,255.255.255.255/32
dns-server =
[Rule]
# 内网IP
IP-CIDR,192.168.0.0/16,DIRECT