Compile Opencv

OpenCV is released under a BSD license and hence it’s free for both academic and commercial use. It has C++, C, Python and Java interfaces and supports Windows, Linux, Mac OS, iOS and Android. OpenCV was designed for computational efficiency and with a strong focus on real-time applications. Written in optimized C/C++, the library can take advantage of multi-core processing. Enabled with OpenCL, it can take advantage of the hardware acceleration of the underlying heterogeneous compute platform.

Golang auto build version

We needed a version number to find whether the binary was from yesterday or today’s source. Then we decided that for all our golang applications we should have a way to find out the version number, so that we can always query and find out which version it is, there by which source is running.

泰山旅游指南

泰山,以五岳独尊名扬天下,中国历代曾有 72 位皇帝到泰山封禅。杜甫一首《望岳》中的“会当凌绝顶,一览众山小”表达出自信自励的意志和坚定豪迈的气概,亦充分体现出泰山的巍峨雄伟与险峻。

Nginx 搭建直播

相关行业数据显示,2015 年至今,全国在线直播平台数量超过 200 家。截止 2016 年 10 月,网络直播行业除孕育出欢聚时代、9158 两家上市公司外,斗鱼和映客也已跻身独角兽行列,在方正证券的预测中,2020 年网络直播市场规模将达到 600 亿,有研究甚至认为 2020 年网络直播及周边行业将撬动千亿级资金。

Git 基本操作

Git 是一款免费、开源的分布式版本控制系统,用于敏捷高效地处理任何或小或大的项目。Git 的读音为 /gɪt/。 Git 是一个开源的分布式版本控制系统,可以有效、高速的处理从很小到非常大的项目版本管理。Git 是 Linus Torvalds 为了帮助管理 Linux 内核开发而开发的一个开放源码的版本控制软件。 Torvalds 开始着手开发 Git 是为了作为一种过渡方案来替代 BitKeeper,后者之前一直是 Linux 内核开发人员在全球使用的主要源代码工具。开放源码社区中的有些人觉得 BitKeeper 的许可证并不适合开放源码社区的工作,因此 Torvalds 决定着手研究许可证更为灵活的版本控制系统。尽管最初 Git 的开发是为了辅助 Linux 内核开发的过程,但是我们已经发现在很多其他自由软件项目中也使用了 Git。例如很多 Freedesktop 的项目迁移到了 Git 上。

Apache 下的 Lua 的配置

对于 Apache 这个东西,绝大多数人都是非常熟悉的。很多人都会诟病这个 Apache,说它效率不高而且非常消耗资源,然后会建议用 Nginx。这些不能否认,但是我还是很喜欢 Apache,因为它比较稳定。

Apache 关于 Lua 我不知道是哪一个版本编译进去了的,但是最新版的是有的。在 Apache 的 bin 目录下有一个 lua51.dll 很明显,这个是 Lua5.1 版本的,目前 Lua 已经到了 5.3 版本了,如果你想追求新的版本的话,你可以自己把 Apache 编译一次。然后还有,在 Apache 的 modules 目录下有一个 mod_lua.so 是开启 Apache 和 Lua 通信桥梁的文件。

Compile Lua and Luajit

Lua is a lightweight, multi-paradigm programming language designed primarily for embedded systems and clients. Lua is cross-platform, since the interpreter is written in ANSI C, and has a relatively simple C API.