- Vega: The chart grammar
- G2: The chart grammar
- Plotly
- Keen dataviz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<map version="1.0.1"> | |
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net --> | |
<node CREATED="1597595675123" ID="ID_1480064371" MODIFIED="1597597165767" TEXT="C++"> | |
<node CREATED="1597595687402" ID="ID_4167567" MODIFIED="1597595718168" POSITION="right" TEXT="IDE"> | |
<node CREATED="1597595718169" ID="ID_436473551" MODIFIED="1597595737554" TEXT="Mac: Xcode" /> | |
<node CREATED="1597595723311" ID="ID_140828934" MODIFIED="1597595748163" TEXT="Windows: Visual Studio" /> | |
</node> | |
<node CREATED="1597595857826" ID="ID_311037127" MODIFIED="1597595868137" POSITION="left" TEXT="Basic Syntax"> | |
<node CREATED="1597595868139" ID="ID_1918807677" MODIFIED="1597595880384" TEXT="Variables" /> | |
<node CREATED="1597595880967" ID="ID_1905319404" MODIFIED="1597595883049" TEXT="Pointers" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Must have git, homebrew, and xcode to install | |
# Make sure to change line 29 and line 30 according to your mac OS and xcode versions | |
# Install ninja compiler | |
brew install ninja | |
# Install CMake for makefile | |
brew install cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Assume this file is next to lerna.json | |
// Otherwise the path to lerna.json needs to be updated (line 9) | |
// Credits: http://2ality.com/2018/05/child-process-streams.html | |
const fs = require('fs') | |
const path = require('path') | |
const glob = require('glob') | |
const { spawn } = require('child_process') | |
/*** Step 1. Get lerna.json config ***/ |
It's easy to add foo
for the first time. Just run the following one-liner to add foo
's remote master branch to bar/my_foo
git subtree add --prefix=bar/my_foo REMOTE_PATH_TO_FOO master
You can optionally add --squash
in the end to squash all commit history if that's what you want.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stop-gap declaration file for typescript migration | |
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// module types | |
export enum ModuleType { | |
Smart = 'smart', | |
Dumb = 'dumb', | |
} | |
// moduleA config data types | |
export interface IModuleAConfig { | |
name: string; | |
type: ModuleType; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stop-gap declaration file for typescript migration | |
export {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// typescript will give error: An import path cannot end with a '.ts' extension. | |
// this is just for clarification purpose! | |
import { IModuleAConfig } from './types.ts'; | |
declare class ModuleA { | |
constructor(config: IModuleAConfig); | |
private initModuleA; | |
} | |
export = ModuleA; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Stop-gap declaration file for typescript migration | |
export {}; |
NewerOlder