Blog Posts

Recent posts

Gulp - connect proxy example

less than 1 minute read

It will avoid CORS problem during development. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 var Proxy = require('gulp-connect-proxy'); ... // A local web server for dev ...

C++ - Anonymous namespace

less than 1 minute read

The main reason of using anonymous namespace in C++ is to localize declaration in translation unit. The compiler will choose the unique name for unnamed name...

Cassandra - Allow Filtering example

less than 1 minute read

1 2 3 4 5 6 7 create table User( email text, name text, desc text, user_id uuid PRIMARY KEY((email), name, user_id) ) WITH CLUSTERING ORD...

Cassandra - Partition Key, Clustering key

less than 1 minute read

Partition Key: It will be hashed and saved across nodes. Clustering Key: It will group in the same partition key. PRIMARY KEY((partion key), clustering key) ...