MySQL Tricks
docker run -p 3306:3306 --name mysql57 -v /data/mysql57:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=$PASSWORD -d mysql:5.7 mysql client local client installation apt install mysql-client run Or use mys...
docker run -p 3306:3306 --name mysql57 -v /data/mysql57:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=$PASSWORD -d mysql:5.7 mysql client local client installation apt install mysql-client run Or use mys...
Normal Components Authentication Principal Credential Authority Cookie && HttpSession Main architecture Filter -> AuthenticationManager -> AuthenticationProvider +-> User...
virtualevn Use virtualenv for multiple python version and project environment isolation. Change pip source: pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple ##
Parameters for maven command Specific profile: -P ${profile} Force update repository: -U Add git info into a static file In SprintBoot, you can directly visit it by url http://host/git.json....
Introduction Zsh is a terminal command like bash and sh. It is so popular for developers who would love to using terminal other than graphic interface. There is a project named oh-my-zsh, which c...
在K8s上执行Spark程序 准备 通过spark提供的zip包内的bin/docker-image-tool.sh命令打包。详情请见命令帮助 需要将部分第三方jar包包含在镜像内,包括如下jar包 commons-codec-1.10.jar commons-logging-1.2.jar gson-2.2.4.jar httpclient-4.4.1.jar http...
Situation: Local changes is not committed. Use git pull --rebase instead of git pull. This action will rebase the current branch base on the remote branch. Situation: When the there is a local co...
1. Tesseract: 简单的Java光学字符识别 1.1 介绍 开发具有一定价值的符号是人类特有的特征。对于人们来说识别这些符号和理解图片上的文字是非常正常的事情。我们不会像计算机那样去获取文字,我们完全是基于视觉和本能去阅读它们。 另一方面,计算机的工作需要具体的和有组织的内容。它们需要数字化的表示,而不是图形化的。 有时候,这是不可能的。有时,我们希望自动化的完成用双手从图...
Environment preparation install kubectl and minikube https://kubernetes.io/docs/tasks/tools/install-minikube/ Info url https://kubernetes.io/docs/home/ https://github.com/kubernet...
install for Mac with brew # prerequisite brew update brew install docker brew install docker-machine brew cask install virtualbox # optional brew install docker-compose # start docker-machine cre...