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 继续阅读 »
2017-10-17 ruki
xmake-vscode plugin is a xmake integration in Visual Studio Code. It is deeply integrated with xmake and vscode to provide a convenient and fast cross-platform c/c++ development and building. Features Colorization Completion Lists StatusBar Commands Configuration Build Run and Debug Record and Playback Problem Color 继续阅读 »
2017-10-25 ruki
xmake-sublime plugin is a xmake integration in Sublime Text. It is deeply integrated with xmake and sublime text to provide a convenient and fast cross-platform c/c++ development and building. You need install xmake first and a project with xmake.lua. Features Quickstart Colorization Completion Lists StatusBar Comm 继续阅读 »
2014-01-01 Klaus Ma
Environment LSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch: graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch Distributor ID: RedHatEnterpriseServer Description: Red Hat Enterprise Linux Server release 6.4 (Santiago) Release: 6.4 Codename: San 继续阅读 »
2016-11-29 Shawn Ng
window.location.href = "https://www.zybuluo.com/ShawnNg/note/582813" 继续阅读 »
2016-06-17 YongHao Hu
C++
Here is a simple example, what is the output of this program? ``` include using namespace std; int main() { float f = 0.0; int i = 5; f = (float)i; cout< 继续阅读 »
2014-12-03 Kun Ren
r nse
One of my favorite features of R is its meta-programming facilities. It can be simply demonstrated by the following examples. 继续阅读 »
2015-12-16 Klaus Ma
Description: The target of this JIRA is to offer the allocation slack resources to the framework. Here're the key points of this design: 继续阅读 »
2017-12-08 刘太华
微服务(分布式)架构下,关于事务补偿机制 整个17年整理过不少遇到的case,在笔记内太凌乱,太懒没做整理,瞬间已经12月,17年算是结束了。整理一个笔记,给2017留下点回忆哈哈 :)   概述 微服务,或是非集中式应用,也就是系统架构做拆分后,会涉及一个非常典型的问题,就是事务的问题。不管是特别在意一致性的金钱相关的,还是其他业务场景,都不同程度存在一个操作流转与多个服务之间的问题。     这其中涉及的分布式事务问题,随便搜一把,够看一礼拜了,不过多数都是重复的,TCC, 二阶段,三阶段,最重要还是在业务中挖掘发现自己试用的场景。 这里总结表述的是事务性数据补偿的方案。   继续阅读 »
2015-11-30 demon7452