Continuation Passing Style
Node async API style
function doWork(p0, p1, done) {
var results = p0 + p1
done(null, results)
}Directories contain CMakeLists.txt, add by add_subdirectoryScripts are <script>.cmake files that can be executed with cmake -P <script>.cmake. Not all commands are supportedModules are <script>.cmake files located in CMAKE_MODULES_PATH directory. Can be loaded with include() commandtarget_compile_definition(foo| /** | |
| * Make all properties in T optional | |
| */ | |
| type Partial<T> = { | |
| [P in keyof T]?: T[P]; | |
| }; | |
| /** | |
| * Make all properties in T required | |
| */ |
| export interface ICanvas { | |
| width: number; | |
| height: number; | |
| halfWidth: number; | |
| halfHeight: number; | |
| ctx: CanvasRenderingContext2D; | |
| image: ImageData; | |
| buffer: ArrayBuffer; | |
| buffer8: Uint8ClampedArray; | |
| buffer32: Uint32Array; |
| 'use strict' | |
| var data | |
| var width | |
| var height | |
| var scale = 6 | |
| var cred = (255 << 24) | 255 | |
| var credd = (255 << 24) | 100 | |
| var cgreen = (255 << 24) | (255 << 8) | 100 |
| { | |
| "env": { | |
| "production": { | |
| "presets": [ | |
| [ | |
| "@babel/preset-env", | |
| { | |
| "targets": { | |
| "node": "8" | |
| }, |
| [color] | |
| ui = auto | |
| [user] | |
| name = psxcode | |
| email = psxcode@gmail.com | |
| [credential] | |
| helper = osxkeychain | |
| [alias] | |
| st = status | |
| co = checkout |
| [local] | |
| aws_access_key_id = accessKey1 | |
| aws_secret_access_key = verySecretKey1 | |
| docker run --name srv -d -p 8000:8000 -e REMOTE_MANAGEMENT_DISABLE=1 -e S3BACKEND=mem zenko/cloudserver | |
| aws --profile local --endpoint-url http://127.0.0.1:8000/ s3 ls | |
| aws --profile local --endpoint-url http://127.0.0.1:8000/ s3 mb 123 |