ASUS RT-AC68R Tuning

I’ve had one of these bad boys for a couple of years and just tuned it, per the link below. Adding here for archival purposes. https://www.google.com/url?hl=en&q=https://www.rickygao.com.au/blog/tuning-the-asus-wireless-router-to-best-performance...

How-to: Git Rebase

Adding here for my own purposes, but may be helpful to others. This rebases to master (or whatever branch) and then squashes all your commits into one commit! Sexy. 🙂 > git fetch --all > git checkout [master] > git pull > git checkout [working branch name] > git...

Java code snippet: Enumeration to return String value

I probably should be adding this kind of stuff on GitHub, but I’m lazy. 🙂 public enum TokenType {     TICKET("ticket"),     UNKNOWN("unknown");     private String tokenType;     TokenType(String tokenType) {         this.tokenType = tokenType;     }     public String getTokenType() {         return tokenType;     }     public boolean isTicket() {         return this == TICKET;     }     public boolean...

Bash script to check health checks of multiple servers

I had to check over 20 servers to verify they were updated with a new build. The servers had a health check page that had this information along with whether the server was up-and-running. I wrote this quick-and-dirty bash script to do just that.  for i in jetson1 jetson4;...

Gatling: How to run simulations in another directory

Adding here for archival purposes. To have Gatling use another directory for simulations (i.e. no need to copy them to the local Gatling folder), use the following: gatling --simulations-folder <directory-path>...