$ sudo yum install ncurses-devel
$ cd /usr/local/src
$ sudo curl -L https://sourceforge.net/projects/zsh/files/zsh/5.5.1/zsh-5.5.1.tar.gz/download -o zsh-5.5.1.tar.gz
- git clone https://github.com/vim/vim.git
- cd vim/src
- git checkout v8.0.18009
- be aware of the prefix.
./configure \
--disable-nls \
--enable-cscope \
This file contains hidden or 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
#x = 1 | |
#if x == 1: | |
# print("x is 1.") | |
#print("new line") | |
#words = ['one', 'two', 'three'] | |
#for w in words: | |
# print(w, len(w)) | |
# Calculate x^3+y^3+z^3=33 |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "JiachenNing", | |
"label": "Java Software Engineer", | |
"picture": "https://avatars3.githubusercontent.com/u/3176871?s=460&v=4", | |
"email": "[email protected]", | |
"phone": "(86) 15800800838", | |
"website": "https://rnd.app", | |
"summary": "A broad-skill dev with seven year experience in analysis, design, implementation, testing. Be proficient with Java, Android", | |
"location": { |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "宁佳晨", | |
"label": "Java工程师", | |
"picture": "https://avatars3.githubusercontent.com/u/3176871?s=460&v=4", | |
"email": "[email protected]", | |
"phone": "(86) 15800800838", | |
"website": "https://rnd.app", | |
"summary": "一名技能广泛的程序员,从业7年,动手能力较强,熟悉JavaEE,Android,PHP领域.", | |
"location": { |
This file contains hidden or 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
{ | |
"basics": { | |
"name": "JiachenNing", | |
"label": "Java Software Engineer", | |
"picture": "https://avatars3.githubusercontent.com/u/3176871?s=460&v=4", | |
"email": "[email protected]", | |
"phone": "(86) 15800800838", | |
"website": "https://rnd.app", | |
"summary": "A broad-skill dev with seven year experience in analysis, design, implementation, testing. Be proficient with Java, Android", | |
"location": { |
This file contains hidden or 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
[alias] | |
co = checkout | |
br = branch | |
ci = commit | |
st = status -uno | |
mylog = !git log --author=\"$(git config user.name)\" | |
viewchanges= diff -v --stat --cached origin/master | |
[user] | |
name = Jiachen Ning | |
email = [email protected] |
This file contains hidden or 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
package rocks.ninjachen; | |
/** | |
* Murmur hash 3.0. | |
* <p> | |
* It works as the same as lastguest\Murmur in PHP in limited test data. | |
*/ | |
public final class MurmurHash { | |
/** | |
* @param key Text to hash. |
This file contains hidden or 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
class MyHashMap { | |
static class Node { | |
public int key; | |
public int value; | |
public Node prev; | |
public Node next; | |
} | |
static Node first; | |
static Node last; |
OlderNewer