I found this little gem a while ago and a coworker identified it as useful too, so I’m posting it: Let’s say you want to copy a file from a … Continue Reading How to easily manipulate long paths in Linux
Overview The two most common shells in Linux are CSH and BASH. Shells are programs used to allow a user to enter and execute commands as well as to interpret entire … Continue Reading The differences between Linux shells (namely BASH and TCSH)
TL;DR Use two routers: For IoT, Phones, Consoles, etc. Enable UPnP on this router so all of these devices will work as expected and so they can open the ports … Continue Reading Double Layered Firewall – A new approach to home internet security in uncertain times
The Basic Steps TL;DR – If you are stuck trying to debug git, then here is a step by step process I use to figure out the problems: Check permissions … Continue Reading Resolving Git Errors
I’ve implemented a lot of features and had to interface with several cross-functional teams who were all balancing competing priorities which didn’t always align. This can be very challenging when … Continue Reading New Feature Documentation
… that is the question. Not really, the real question is: When should I throw and when should I return? Existing Systems If you are already working in an infrastructure … Continue Reading When to throw and when not to throw?
The Rule of Zero, Three, and Five TL;DR If you define the destructor, copy constructor, or move constructor, then all three should be defined. If you don’t define any of those, … Continue Reading C++ and the Rule of Zero, Three, and Five
An example… If you want to know how to launch GDB, then an example program with GDB commands are provided at the bottom of this page, click here to go … Continue Reading Debugging C++ with GDB
If you see something like this: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=10700, tid=6032 # # JRE … Continue Reading How do I Enable Minidumps on Windows?
Debugging DLL using GDB called via JNI (Java Native Interface) being debugged by JetBrains IntelliJ IDEA
This post is about using GDB to debug a DLL built with debug symbols which was called from a Java application being debugged by JetBrains IntelliJ IDEA. First things first: I am … Continue Reading Debugging DLL using GDB called via JNI (Java Native Interface) being debugged by JetBrains IntelliJ IDEA