xmake will automatically detect the system environment and create the most appropriate configuration to compile project when building a program
Usually we only need to run:
bash
$ xmake
And it will not re-generate configuration if the project description has not changed.
But we can also modify configuration manual继续阅读 »
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 Start
Create a new post
bash
$ hexo new "My New Post"
More info: Writing
Run server
bash
$ hexo server
More in继续阅读 »
What Is Google C++ Mocking Framework?
When you write a prototype or test, often it's not feasible or wise to rely on real objects entirely. A mock object implements the same interface as a real object (so it can be used as one), but lets you specify at run time how it will be used and what it should do (which methods 继续阅读 »
When looking at container orchestration platforms, open-source communities have produced a number of viable options including Kubernetes, Marathon-Mesos, or Docker Swarm. Kubernetes stands out as a popular choice amongst many users looking to run cloud-native on-line workloads. It has built-in support for a number of u继续阅读 »
(This post is rewritten to adapt to the latest release of pipeR)
Pipeline is receiving increasing attention in R community these days. It is hard to tell when it begins but more people start to use it since the easy-and-fast dplyr package imports the magic operator %>% from magrittr, the pioneer package of pipeline op继续阅读 »
Floats, absolutely positioned elements, block containers (such as inline-blocks, table-cells, and table-captions) that are not block boxes, and block boxes with 'overflow' other than 'visible' (except when that value has been propagated to the viewport) establish new block formatting contexts for their contents.继续阅读 »
In Mitigating the shellshock vulnerability (CVE-2014-6271 and CVE-2014-7169), RedHat provide a System-based mitigation by LD_PRELOAD; but there is an issue that it generates core dump when running /lib64/libc.so.6.继续阅读 »
Mac 解决方法
nano /etc/hosts
贴上如下代码
* ### Host Database#
localhost is used to configure the loopback interface
when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
127.0.0.1 osxdaily.com
0.0.0.0 yahoo.com
继续阅读 »
文章转自 -- https://boz.com/articles/say-no.html
I joined Facebook when there were around a dozen engineers. There wasn’t any formal organizational structure back then but co-founder Dustin Moskovitz was unquestionably the head of engineering. He had built and deployed most of the critical technologies himself over the co继续阅读 »