Skip to content

Instantly share code, notes, and snippets.


Bruce Zu BruceZu

View GitHub Profile
BruceZu / .bash
Created Oct 16, 2021
Tomcat Intellij IDE
View .bash
cd tomcat/
ant -buildfile build.xml ide-intellij
BruceZu / .java
Last active Oct 15, 2021
View .java
import java.text.NumberFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.*;
public class Points {
Fetch Rewards Coding Exercise - Backend Software Engineering
What do I need to submit?
View Springer books in mathematics and
BruceZu /
Created Apr 3, 2018
Git branch model command
questions and tests to understand it.
c src
BruceZu / Command Keyboard
Last active Apr 16, 2018
Command Keyboard Shortcuts hotkeys
View Command Keyboard
BruceZu /
Last active Apr 7, 2018
HTML Javascript CSS debug
debug dynamically created file
BruceZu /
Last active May 12, 2018
Monitor Mongo replica set EC2 disk space usage and log rotation status

It is hourly checking bash. checking and send email in issue cases.

  • the connection of each EC2. Find host unreachable issue in one hour
  • disk space usage. Get warn of disk space in one hour
  • status of log rotation and log files. Monitor log rotation and rotated log files

Anyone wants to use it:

  • Update the variable mail_receiver of the bash file diskmonoitorand create a cron job with it like

Who is Shawn O. Pearce? Any software engineer who use Git, Eclipse EGit, JGit and Gerrit, Android should read these 3 lines about him:

In GitHub in total we have 4 c project with stars > 21k. Git is one of them. By the end of Jan 2018, Shawn is still the third one in the 1168 contributors. 2005 Linus Torvalds starts Git. Early 2006 Shawn starts JGit. 2008 Shawn starts Gerrit. which is used by Android source code and other open source projects.

Shawn used different email in same project or different projects. Not easy to find all his contribution by far.

RIP This is a sad news.