1. Brief introduction The Remote API has replaced rcli. The daemon listens on unix:///var/run/docker.sock but you can Bind Docker to another host/port or a Unix socket. The API tends to be REST. However, for some complex commands, like attach or pull…
Web API design 28 minutes to read Most modern web applications expose APIs that clients can use to interact with the application. A well-designed web API should aim to support: Platform independence. Any client should be able to call the API, regardl…
The basic functional cornerstones of Scala: immutable data types, passing of functions as parameters and pattern matching. 1. Basic Pattern Matching In Scala, your cases can include types, wildcards, sequences, regular expressions, and so forth. scal…
SAL: the Microsoft Source Code Annotation Language. SAL: the Microsoft Source Code Annotation Language. 微软代码注解语言.你可以用sal.h中的宏定义来注释函数的参数和返回值来描述他们的行为. 曾经在Java中使用过注解,现在C++中也有注解了. sal.h - markers for documenting the semantics of APIs sal.h provides a se…