Skip to content

Instantly share code, notes, and snippets.

View hengxin's full-sized avatar
🎯
Focusing

Hengfeng Wei (魏恒峰) hengxin

🎯
Focusing
View GitHub Profile
-- this is an example
group: CourseManagementSystem
CSG = {
Course:string, StudentId:number, Grade:string
'CS101' , 12345 , 'A'
'CS101' , 67890 , 'B'
'CS101' , 33333 , 'A-'
@hengxin
hengxin / tiling-1024-1024
Created November 7, 2017 12:38
Solution for the tromino tiling puzzle on the 1024 * 1024 checkerboard
This file has been truncated, but you can view the full file.
@hengxin
hengxin / grep-path.md
Last active January 5, 2016 07:22
vim-latex-suite post from askubuntu

grep PATH .vimrc .vim -R outputs:

.vim/doc/latex-suite.xml:     <literal>$PATH</literal>.
.vim/doc/latex-suite.xml:      For windows, you will need to set the <literal>$PATH</literal> variable
.vim/doc/latex-suite.txt:      you will need to have python somewhere in your $PATH.
.vim/doc/latex-suite.txt:NOTE: For windows, you will need to set the $PATH variable to include the paths
.vim/doc/README:   comes with.  Add the ``saxon.jar`` file to your ``$CLASSPATH`` setting.
.vim/doc/README:        The ``$CLASSPATH`` setting should point to the ``saxon.jar`` file,
.vim/doc/README:   You can point your ``$CLASSPATH`` to that file.

.vim/doc/README: Add the ~/bin/db2vim/ directory thus created to your $PATH

@hengxin
hengxin / CONSPRO[3] --- Cassandra.md
Created July 23, 2014 11:44
Discussing the Cassandra paper "Cassandra - A Decentralized Structured Storage System"

Cassandra - A Decentralized Structured Storage System

2014-07-18

@hengxin
hengxin / CONSPRO[2] --- Open source distributed storage system.markdown
Last active August 29, 2015 14:04
2014-07-10; distributed storage system + open data set

Open source distributed storage system

2014-07-10

Cassandra

data model

understanding its configuration of (eventual) consistency

@hengxin
hengxin / How to install Cassandra on Ubuntu?.markdown
Last active May 20, 2020 20:24
How to install Cassandra on Ubuntu?

0. Overview

This article aims to be a portal to installation and configuration of Cassandra. It is self-contained in the first place. It also provides links to the original articles.

Warning: This article is still under written.

Prerequisites

Install Oracle Java Development Kit (JDK)

@hengxin
hengxin / CONSPRO[1] --- From Eventual Consistency to Causal Consistency.markdown
Last active August 29, 2015 14:03
The first meeting. General description of the project.

From Eventual Consistency to Causal Consistency

2014-07-07

Motivation

Relaxed consistency; Quantifying consistency

Paper: Quantifying Eventual Consistency with PBS (VLDB13)