Skip to content

Instantly share code, notes, and snippets.

View yezihack's full-sized avatar
🎯
Focusing

空树之空 yezihack

🎯
Focusing
View GitHub Profile
@yezihack
yezihack / k8s-upload-images.sh
Last active December 15, 2022 01:41
k8s-upload-images.sh
#!/bin/bash
#####################
# 功能:下载官方 kubernetes 镜像 转存到 私有镜像中
####################
################### function #########################
# 警告
color::yello() {
local val=$1
echo -e "\033[33m ${val} \033[0m"
//马力全开,使用当前系统所有的CPU
numCPUs := runtime.NumCPU()
runtime.GOMAXPROCS(numCPUs)
@yezihack
yezihack / open source soft
Last active August 30, 2018 03:28
工作涉及到的软件及工具
jenkins 自动部署
gitlab git代码管理软件
Yearning SQL审核平台
@yezihack
yezihack / MYSQL参数调优
Last active July 16, 2018 15:45
web开发重要知识点,mysql,基本算法,网络知识
MYSQL 查看库状态
show table status from dataname;
MYSQL查看某表的状态
show create table tablename;
MYSQL 查看所有的引擎
show engines;
MYSQL 事物四大特性
#!/bin/bash
#########################
# 功能:实现自动备份nginx下的站点
# 版本:v1.0
# 时间:2018/06/04
# 作者:百里
# 最后修改时间:2018/06/05
########################
set +x
######################################自定义参数###################################
@yezihack
yezihack / install_coreseek.bash
Created February 25, 2018 03:01 — forked from alvin2ye/install_coreseek.bash
install coreseek
# curl -sL https://raw.github.com/gist/1450030 | sudo bash
sudo apt-get install make gcc g++ automake libtool mysql-client libmysqlclient15-dev libxml2-dev libexpat1-dev
#下载 coreseek-3.2.14,里面已经包含 mmsegcd /tmp
wget https://dn-agi-public3.qbox.me/20160928135920/coreseek-3.2.14.tar.gz
tar xzvf coreseek-3.2.14.tar.gz
cd coreseek-3.2.14
cd mmseg-3.2.14