通道: 使用ssh协议通信,利用ssh的 authorized_keys
特性,使用ssh-keygen生成不带有密码的密钥。
执行: crond来设定执行周期
注: 下面 local 指本地,server指同步的服务器,pwd 指当前目录路径
编程中
通道: 使用ssh协议通信,利用ssh的 authorized_keys
特性,使用ssh-keygen生成不带有密码的密钥。
执行: crond来设定执行周期
注: 下面 local 指本地,server指同步的服务器,pwd 指当前目录路径
棋子
White 白方 | Black 黑方 | Piece 棋子 |
King ♚ 王 | Queen ♛ 后 | Rook ♜ 车 |
Bishop ♝ 象 | Knight ♞ 马 | Pawn ♟ 兵 |
安装,服务管理,配置选项...
环境: CentOS
Create / Delete Database
CREATE DATABASE dbNameYouWant -- 创建数据库
CREATE DATABASE dbNameYouWant CHARACTER SET utf8 -- 创建并设定字符
DROP DATABASE dbNameYouWant -- 删除
ALTER DATABASE dbNameYouWant CHARACTER SET utf8 -- 修改
USE dbNameYouWant -- 使用数据库作为默认操作对象,如果要操作数据表
Backup Database to SQL File
mysqldump -u Username -p dbNameYouWant > databasename_backup.sql
hello.go
package main
import "fmt"
func main() {
message := greetMe("world")
fmt.Println(message)
}
func greetMe(name string) string {
return "Hello, " + name + "!"
}
git init
# 初始化本地版本库git clone <url>
# 克隆远程版本库git config --global user.name "Your Name"
git config --global user.email your.email@example.com
git config --global color.ui true # git status等命令自动着色
git config --global color.status auto
git config --global color.diff auto
git config --global color.branch auto
git config --global color.interactive auto
添加 .gitignore
文件,输入过滤文件以及文件夹