Skip to content

Instantly share code, notes, and snippets.

View arcosx's full-sized avatar
🌍
Remote

arcosx arcosx

🌍
Remote
View GitHub Profile
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
@vsouza
vsouza / .bashrc
Last active September 19, 2025 15:41
Golang setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell, fish or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@parmentf
parmentf / GitCommitEmoji.md
Last active October 31, 2025 17:32
Git Commit message Emoji
一 实验介绍
本项目带领你学习用 C 语言实现 ping 命令。通过本项目中你可以更深入地理解 TCP/IP 协议,掌握 C 语言进行网络编程的技巧方法。
1.1 知识点
TCP/IP 协议介绍
获取系统运行时间
原始套接字
1.2 效果截图
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 2, 2025 14:54
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@joeytwiddle
joeytwiddle / async-await-forEach-alternatives.md
Last active October 24, 2025 14:23
Do not use forEach with async-await

Do not use forEach with async-await

TLDR: Use for...of instead of forEach() in asynchronous code.

For legacy browsers, use for(...;...;...) or [].reduce()

To execute the promises in parallel, use Promise.all([].map(...))

The problem

@Triple-Z
Triple-Z / PDBS.md
Last active July 1, 2019 13:01
数据库原理课程总结 NUAA Spring 2018
@ganapativs
ganapativs / iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup.md
Last active November 1, 2025 08:55
iTerm2 + oh-my-zsh + Pure theme + zsh plugins setup
@rdump
rdump / kubectl-multi-version-brews.md
Last active April 4, 2024 15:20
kubectl multi-version brews (kubernetes-cli formula)

kubectl multi-version brews

Applicability

The instructions below apply to older versions of Homebrew which still provide switch capability.

For current Homebrew, you'll likely need to keep Versions around, and build locally. Here's my versions repository https://github.com/rdump/homebrew-versions

MacPorts is now keeping versioned installations available as well, by default.

@arcosx
arcosx / DockerDelete.md
Last active May 29, 2020 03:22
停止 删除所有的docker容器和镜像

列出所有的容器 ID

docker ps -aq

停止所有的容器

docker stop $(docker ps -aq)