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.
8 87808 87812 87812 87813 87728 87728 87871 87872 87872 87876 87876 87877 87877 87852 331151 331153 331153 331157 331157 331156 331158 331173 331172 331174 331174 331178 331177 331177 331179 331237 331236 331238 331238 331242 331242 331241 331243 331258 331257 331259 331259 331263 331263 331262 331264 331493 331492 331494 331494 331498 331498 331497 331499 331514 331513 331515 331515 331519 331519 331518 331520 331578 331577 331577 331579 331583 331583 331582 331584 331599 331598 331600 331600 331604 331604 331603 331605 332517 332516 332518 332518 332522 332522 332521 332523 332538 332537 332539 332539 332543 332542 332542 332544 332602 332601 332603 332603 332607 332607 332606 332608 332623 332622 332624 332624 332628 332628 332627 332629 332858 332857 332859 332859 332863 332863 332862 332864 332879 332878 332880 332880 332884 332883 332883 332885 332943 332942 332942 332944 332948 332948 332947 332949 332964 332963 332965 332965 332969 332969 332968 332970 336613 336612 336614 336614 336618 336618 336617
@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)