Skip to content

Instantly share code, notes, and snippets.

@firtize
firtize / mtoc.sh
Created March 9, 2020 15:49 — forked from RLovelett/mtoc.sh
Compile mtoc on macOS Catalina Xcode 11
# https://github.com/macports/macports-ports/blob/master/devel/cctools/Portfile
curl -o cctools-921.tar.gz https://opensource.apple.com/tarballs/cctools/cctools-921.tar.gz
curl -o llvm-8.0.1.src.tar.xz https://github.com/llvm/llvm-project/releases/download/llvmorg-8.0.1/llvm-8.0.1.src.tar.xz
curl -o ld64-409.12.tar.gz https://opensource.apple.com/tarballs/ld64/ld64-409.12.tar.gz
tar xvf cctools-921.tar.gz
tar xvf llvm-8.0.1.src.tar.xz
tar xvf ld64-409.12.tar.gz
@firtize
firtize / # nginx - 2019-02-18_18-29-35.txt
Last active February 19, 2019 02:17
nginx on Debian GNU/Linux 8.11 (jessie) - Homebrew build logs
Homebrew build logs for nginx on Debian GNU/Linux 8.11 (jessie)
Build date: 2019-02-18 18:29:35
@firtize
firtize / world_plural_singular.go
Last active September 28, 2018 08:35
单复数转换
/*
Package inflection pluralizes and singularizes English nouns.
inflection.Plural("person") => "people"
inflection.Plural("Person") => "People"
inflection.Plural("PERSON") => "PEOPLE"
inflection.Singular("people") => "person"
inflection.Singular("People") => "Person"
inflection.Singular("PEOPLE") => "PERSON"