Skip to content

Instantly share code, notes, and snippets.

View nellochen's full-sized avatar
💭
I may be slow to respond.

xiaofeng nellochen

💭
I may be slow to respond.
View GitHub Profile
@nellochen
nellochen / setenv.sh
Created December 21, 2016 03:40 — forked from patmandenver/setenv.sh
Tomcat8 setenv.sh
#
# Cutom Environment Variables for Tomcat
#
############################################
export JAVA_HOME=/usr/lib/jvm/java-7-oracle/jre
export PATH=${JAVA_HOME}/bin:${PATH}
############################################
#
# JAVA_OPTS
private abstract class CustomTabListener implements ActionBar.TabListener {
@Override
public void onTabUnselected(Tab tab) {
((TextView)tab.getCustomView()).setSelected(false);
}
@Override
public void onTabReselected(Tab tab) {
// Needed by the interface.