Skip to content

Instantly share code, notes, and snippets.

View lixit's full-sized avatar

xitong lixit

View GitHub Profile
@lixit
lixit / chinese_input_in_manjaro.md
Last active April 20, 2025 18:30 — forked from jasonzhouu/chinese_input_in_manjaro.md
Config Chinese input method in Manjaro(Manjaro 配置中文输入法)

1. install packages

run:

yay -Syu adobe-source-han-sans-otc-fonts adobe-source-han-serif-otc-fonts 
yay -Syu fcitx5-im tfcitx5-pinyin-zhwiki fcitx5-rime

2. config environmental variables

sudo vim /etc/profile
@lixit
lixit / Dockerfile
Created September 22, 2020 08:27 — forked from PurpleBooth/Dockerfile
Create a static binary in go and put it in a from scratch docker container
FROM golang:1.9
WORKDIR /go/src/github.com/purplebooth/example
COPY . .
RUN go build -ldflags "-linkmode external -extldflags -static" -a main.go
FROM scratch
COPY --from=0 /go/src/github.com/purplebooth/example/main /main
CMD ["/main"]
@lixit
lixit / install-ubuntu-server-via-console.md
Created May 20, 2020 10:52 — forked from maixuanhan/install-ubuntu-server-via-console.md
Install Ubuntu server 18.04 via USB disk and serial console