Skip to content

Instantly share code, notes, and snippets.

View hackeryang's full-sized avatar
💻
Big Data

Yicheng Yang hackeryang

💻
Big Data
View GitHub Profile
@liujingyu
liujingyu / abc.sh
Created May 13, 2015 02:20
TCP连接状态详解及TIME_WAIT过多的解决方法
查看当前系统下所有连接状态的数:
[root@vps ~]#netstat -n|awk '/^tcp/{++S[$NF]}END{for (key in S) print key,S[key]}'
TIME_WAIT 286
FIN_WAIT1 5
FIN_WAIT2 6
ESTABLISHED 269
SYN_RECV 5
CLOSING 1
@yvbbrjdr
yvbbrjdr / ssl.md
Last active June 14, 2020 22:29
为什么应该用 SSL 翻墙
@hellokaton
hellokaton / mac-multiple-version.md
Last active January 2, 2025 06:41
mac下多个jdk版本共存

修改系统环境变量,以自如的切换多个版本的 jdk

vi ~/.bash_profile 并填写下文内容
source ~/.bash_profile // 刷新环境变量
java -version // 查看当前的 jdk 版本

需要填写的内容为:

@gaplo917
gaplo917 / IntelliJ IDEA.app.vmoptions
Last active November 3, 2024 16:24
IntelliJ IDEA Java 17 ZGC VM Options
# Personal Feeling: using the following jvm config is smoother than default
# My Machine: Macbook pro M1max 64GB
# More Info: https://github.com/FoxxMD/intellij-jvm-options-explained
# Prerequisite (Intellij < 2022.2)
# 1. Install JetBrain Runtime 17 osx-aarch64 for Apple Silicon, https://github.com/JetBrains/JetBrainsRuntime/releases
# 2. Switch the runtime from JetBrain Runtime 11 to 17, https://www.jetbrains.com/help/idea/switching-boot-jdk.html
# JetBrain Toolbox
@kangkaisen
kangkaisen / starrocks-mac-clion.md
Last active February 26, 2024 11:36
StarRocks Mac Clion 代码阅读,高亮跳转

1 protobuf-3.5.1 安装

wget https://github.com/protocolbuffers/protobuf/releases/download/v3.5.1/protobuf-all-3.5.1.tar.gz
tar -zxvf protobuf-all-3.5.1.tar.gz
brew install autoconf
brew install automake
brew install libtool
./autogen.sh && ./configure && make
make check
sudo make install