Skip to content

Instantly share code, notes, and snippets.

Avatar

Bruce Zu BruceZu

View GitHub Profile
@BruceZu
BruceZu / .bash
Created Oct 16, 2021
Tomcat Intellij IDE
View .bash
cd tomcat/
ant -buildfile build.xml ide-intellij
@BruceZu
BruceZu / .java
Last active Oct 15, 2021
Points.java
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 physics.md
@BruceZu
BruceZu / Git.mk
Created Apr 3, 2018
Git branch model command
View Git.mk
questions and tests to understand it.
c src
@BruceZu
BruceZu / Command Keyboard Shortcuts.mk
Last active Apr 16, 2018
Command Keyboard Shortcuts hotkeys
View Command Keyboard Shortcuts.mk
Linux
https://www.computerhope.com/ushort.htm
Vim
https://www.maketecheasier.com/vim-keyboard-shortcuts-cheatsheet/
@BruceZu
BruceZu / debug.mk
Last active Apr 7, 2018
HTML Javascript CSS debug
View debug.mk
debug dynamically created file
@BruceZu
BruceZu / mongo-rplset-EC2-monitoring.md
Last active May 12, 2018
Monitor Mongo replica set EC2 disk space usage and log rotation status
View mongo-rplset-EC2-monitoring.md

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
View RIP.md

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.