Skip to content

Instantly share code, notes, and snippets.

# see https://www.topbug.net/blog/2013/04/14/install-and-use-gnu-command-line-tools-in-mac-os-x/
# core
brew install coreutils
# key commands
brew install binutils
brew install diffutils
brew install ed --default-names
brew install findutils --with-default-names
@wadee
wadee / LC4.go
Last active April 25, 2021 07:08 — forked from lanceliao/dnsmasq-gfwlist.py
将gfwlist转换成带ipset的dnsmasq规则,适用于OpenWrt智能上网
package main
import "fmt"
const (
UINT_MAX = ^uint(0)
INT_MAX = int(UINT_MAX >> 1)
INT_MIN = -INT_MAX - 1
)