Instantly share code, notes, and snippets.

View zsh_conf.sh
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/Users/wanshao/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
#ZSH_THEME="agnoster"
View CountFileExample.java
package concurrent;
import java.io.File;
import java.util.LinkedList;
import java.util.List;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveTask;
import java.util.concurrent.TimeUnit;
/**
View Contents of files
file1.txt
John is a good boy!
It is a good question. She is pretty.
file2.txt
John is a good boy!John is a good boy!John is a good boy!John is a good boy!
It is a good question. She is pretty.It is a good question. She is pretty.It is a good question. She is pretty.
file3.txt