Posted 2021-05-05Updated 2024-02-17 Jack Liu lua10 minutes read (About 1450 words)LUA SyntaxLUA Notes注释单行注释--多行注释123--[[ 注释--]]或123--[[ 注释 ]]多行注释遇到用[[和]]表示的字符串就会提前结束,可以用—-[=[ 注释内容 ]=]来解决123--[=[ 注释 ]=]Read more
Posted 2020-02-29Updated 2024-02-17 Jack Liu linux / openssl2 minutes read (About 326 words)OpenSSH 配置文件体系Read more
Posted 2020-02-29Updated 2024-02-17 Jack Liu linux / firewalld2 minutes read (About 338 words)firewalld services 防火墙内嵌服务firewalld services 防火墙内嵌服务Configuration file path: /usr/lib/firewalld/services按字母顺序:12345678910amanda-client.xml amanda-k5-client.xml bacula-client.xml bacula.xml bitcoin-rpc.xml bitcoin-testnet-rpc.xml bitcoin-testnet.xml bitcoin.xml ceph-mon.xml ceph.xml Read more
Posted 2020-02-29Updated 2024-02-17 Jack Liu linux / centos4 minutes read (About 596 words)LinuxCentos7-Systemd-Service自定义编写Service应用服务配置说明整理Centos7-Systemd-Service自定义编写Service应用服务配置说明整理系统基本service服务配置目录(此目录勿动,一般情况下只放系统核心基础服务配置,否存放应用注册类服务配置):/etc/systemd/system自定义服务配置管理目录(存放自定义应用注册类服务和第三方服务类配置):/usr/lib/systemd/system/Read more
Posted 2020-02-27Updated 2024-02-17 Jack Liu Goa few seconds read (About 61 words)Go:package timepackage timetime 转换注意事项Go语言指定时间原点123456789101112package mainimport ( "time" "fmt")func main() { //当前时间格式化,记忆规律:创始年份2016 | 一 | 二 | 三(15时,即 3 pm) | 四 | 五 nowTime := time.Now().Format("2006-01-02 15:04:05") fmt.Println(nowTime)}
2025-01-13macOS Ghostty Terminal Ddefault binding keyboard shortcut key list(Ghostty.org Ghostty 终端默认快捷键列表)macos