- 授权协议: Apache
- 开发语言: Google Go
- 操作系统: 跨平台
- 软件首页: https://github.com/subchen/frep
- 软件文档: https://github.com/subchen/frep
软件介绍
frep 是一个根据模版文件生成相应的配置文件功能,相关数据可以从环境变量,json,yaml,toml文件中获取。
比如根据 nginx.conf.in 模版文件 和 动态数据 data.json,动态生成 nginx.conf
frep nginx.conf.in --load data.json
具体帮助参考:
NAME: frep - Generate file using template USAGE: frep [options] input-file[:output-file] ... VERSION: 1.2.0-50 AUTHORS: Guoqiang ChenOPTIONS: -e name=value, --env name=value set variable name=value, can be passed multiple times --json jsonstring load variables from json object string --load file load variables from json/yaml/toml file --overwrite overwrite if destination file exists --dryrun just output result to console instead of file --delims value template tag delimiters (default: {{:}}) --help print this usage --version print version information EXAMPLES: frep nginx.conf.in -e webroot=/usr/share/nginx/html -e port=8080 frep nginx.conf.in:/etc/nginx.conf -e webroot=/usr/share/nginx/html -e port=8080 frep nginx.conf.in --json '{"webroot": "/usr/share/nginx/html", "port": 8080}' frep nginx.conf.in --load config.json --overwrite
x86/x64体系探索及编程
邓志 / 电子工业出版社 / 2012-10-1 / 119.00元
本书是对Intel手册所述处理器架构的探索和论证。全书共五大部分,从多个方面对处理器架构相关的知识进行了梳理介绍。书中每个章节都有相应的测试实验,所运行的实验例子都可以在真实的机器上执行。 通过阅读本书,读者应能培养自己动手实验的能力。如果再有一些OS方面的相关知识,基本上就可以写出自己简易的OS核心。 本书适合有一定的x86基础知识,且对了解处理器架构及编程感兴趣的读者阅读。一起来看看 《x86/x64体系探索及编程》 这本书的介绍吧!
