项目编译打包部署最佳实践
运行的环境使用 JVM 参数方式,而不是写死在配置文件里面的: 打包jar 的Maven 编译插件需要指定对应的 finalName,就是生成的 jar 的名字: 打包的时候避免使用测试用例
shell展开与shell数组
00 0 12 1101 1 13 702 0 14 103 0 15 704 1 16 604 1 17 506 6 18 407 3 19 408 1 20 109 14 21 010 2 22 011 5 23 0Total files = 80 12345678910111213141516171819202122232425262728293031当执行该 hours 程序时,指定当前目录作为目标目录。它打印出一张表显示一天(0-23小时)每小时内, 有多少文件做了最后修改。```bash#!/bin/bashusage () { echo "usage: $(basename $0) directory" >&2}# Check that argument is a directoryif [[ ! -d $1...
hello-world
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
