2015-12-14 Klaus Ma
Volumes in Docker The following command mounts volumes from host with uid/gid: docker run -i -t -v $HOME/test:/opt/test -u=10:10 ubuntu 继续阅读 »
2015-12-03 kk
git clone https://bitbucket.org/dubuqingfeng/docker-web-game.git cd docker-web-game/ docker build -t 'web-game' . docker run -t -i -d -p 80:80 web-game 继续阅读 »
2016-05-11 MoreFreeze
git
Today I want to share a code snippet. It used for reminding me run rake preview before git commit. 继续阅读 »
2016-08-16 MoreFreeze
I spend some day to learn a powerful tool that is called parallel. It can help you split several tasks into multiple groups to run them parallel. Get into the car! 继续阅读 »
2016-11-22 Klaus Ma
Build make Unit test make check WHAT=pkg/kubectl make check WHAT=pkg/kubectl KUBE_TEST_ARGS="-run TestOfferStorage" GOFLAGS=-v 继续阅读 »
2013-06-05 Klaus Ma
0MQ (also spelled ZeroMQ, 0MQ or ZMQ) was originally a high-performance asynchronous messaging library aimed at use in scalable distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a 0MQ system can run without a dedicated message broker. The library is designed to 继续阅读 »
2015-06-20 王财勇
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 继续阅读 »
2015-11-09 litaotao
1. import module 流程 首先,明确一下 import module_name 和 from module_name import module_element 是两条可执行的语句。 其次,sys.modules 里记录了当前 run time 下所有已经导出的 module。 继续阅读 »
2016-10-28 ruki
简介 Benchbox是一个基准测试包,基于tbox和xmake,里面包含许多针对第三方库功能的性能基准测试和对比,可以很方便的扩展测试用例和模块。 目前内置:各大开源协程库性能基准测试,后续还会陆续增加各种开源库模块的分析测试 测试报告仅供参考,测试代码或者结果上如有问题,可以提交issues 编译 请先安装: xmake 然后运行: bash $ xmake 协程切换测试报告(2个协程) Run bash $ xmake coroutine -n switch Macosx (x86_64) tbox: 10000000 switches in 205 ms, 4 继续阅读 »