随笔

知识体系

知识体系

hexo之next主题文档

hexo之next主题文档

Linux命令学习网站

Linux命令

Spring Boot Admin 2.1.0 全攻略

Spring Boot Admin 2.1.0 全攻略

Java 设计模式

Java 设计模式

git 保存用户密码

1
git config credential.helper store

Idea 生成类继承图(实用)

在你所在的类里面点击右键,会出现上下文菜单 Diagrams | Show Diagram

快捷键 Ctrl+Alt+Shift+U,便会进入一个类继承图面板

查看各类型tcp链接个数

1
2
ss -s 
netstat -n | awk '/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}'

冷熊简历,markdown写简历

冷熊简历

美团2018技术干货推荐

【前端系列】下载链接
【后台系列】下载链接
【系统系列】下载链接
【算法系列】下载链接
【运维系列】下载链接
【测试系列】下载链接
【工程师成长系列】下载链接
【2018年美团点评技术文章合辑】下载链接

添加swap分区

1
2
3
4
cd /data0/
dd if=/dev/zero of=swapfile bs=1024 count=8192000000
mkswap swapfile
swapon swapfile

快速安装 node

1
2
3
4
curl http://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | sh 
source ~/.bashrc
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
nvm install stable

快速免密

1
2
3
4
curl  http://cdn.laohand.com/sh/install_no_password.sh | sh
add_host 192.168.100.3
add_host 192.168.100.10
cat source ~/.ssh/config

maven加速

1
curl http://cdn.laohand.com/sh/maven_fast.sh | sh

安装java

1
curl http://cdn.laohand.com/sh/install_java.sh | sh

mongodb中文文档

mongodb中文文档

idea插件

【推荐】GitToolBox: 在代码里面显示提交记录

java 设计模式

java设计模式

安装node

1
2
3
4
5
6
7
8
9
10
11
12
13
wget http://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh
sh install.sh
rm install.sh
source ~/.bashrc
export NVM_NODEJS_ORG_MIRROR=https://npm.taobao.org/mirrors/node
nvm install stable

npm install -g hexo-cli
tmp=/tmp/laohand_blog
hexo init ${tmp}
cd ${tmp}
git clone https://github.com/iissnan/hexo-theme-next themes/next
hexo g

idea破解

[中华人民共和国个人信息保护法]https://m.thepaper.cn/baijiahao_14154156
2021年开源安全和风险分析

ibmonitor

ibmonitor

yum切换阿里

1
2
3
4
5
6
cd /etc/yum.repos.d/
mkdir bak
mv * bak/
wget https://mirrors.aliyun.com/repo/Centos-vault-8.5.2111.repo -O /etc/yum.repos.d/Centos-vault-8.5.2111.repo
wget https://mirrors.aliyun.com/repo/epel-archive-8.repo -O /etc/yum.repos.d/epel-archive-8.repo
yum clean all && yum makecache

pcstat

https://github.com/tobert/pcstat

git clone https://github.com/tobert/pcstat.git
cd pcstat
go build
cp -a pcstat /usr/bin
pcstat /usr/bin/pcstat
cd ../
rm -rf pcstat


wget http://cdn.laohand.com/sh/pcstat/pcstat
chmod +x pcstat
mv pcstat /usr/bin