Skip to content

Instantly share code, notes, and snippets.

View oujinliang's full-sized avatar

Jinliang Ou oujinliang

View GitHub Profile
@oujinliang
oujinliang / tbd_git_flow_sample.md
Last active April 24, 2022 01:58
tbd_git_flow_sample.md
%%{init: { 'logLevel': 'debug', 'theme': 'base' } }%%

gitGraph
        commit
        branch hotfix
        checkout hotfix
        commit
        branch develop
 checkout develop
@oujinliang
oujinliang / ramdisk.sh
Created May 20, 2016 11:31 — forked from rxin/ramdisk.sh
ramdisk create/delete on Mac OS X.
#!/bin/bash
# From http://tech.serbinn.net/2010/shell-script-to-create-ramdisk-on-mac-os-x/
#
ARGS=2
E_BADARGS=99
if [ $# -ne $ARGS ] # correct number of arguments to the script;
then
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
@oujinliang
oujinliang / gist:4541f08b9029dc7db8ae
Last active February 18, 2016 09:39 — forked from skroah/gist:9c22697521626c7b388b
Reactive Systems Design

##Reactive System Design Links

#Articles and Papers

realm=Sonatype Nexus Repository Manager
host=nexus.company.com
user=admin
password=admin123
@oujinliang
oujinliang / SimpleCache.java
Last active August 29, 2015 14:21
SimpleCache
/**
* @author oujinliang
*/
package test;
import org.apache.commons.lang.Validate;
import java.util.Arrays;
import java.util.concurrent.Executors;