Docker Cheatsheet

This is not by any means a comprehensive list of commands, but are the one's I most commonly use when working with Docker. Docker VM List...

Mac OS X - Unable to sudo delete a file or folder

If you can't edit, modify, or delete a file or folder as root (or via sudo) on your Mac, you've just run into Apple's "Rootless System...

OpenVPN Connect - Profile Import Error

"Have you tried turning it off and on again?" This may save someone searching on Google from going mad... So after running OpenVPN Connect on Mac...

AngularJS Concepts

AngularJS has a plethora of features available for developers. While these topics are all available reading in the AngularJS official docs and Developer Guide, I just...

Strategy Pattern in Java

Concept: A creational pattern. The Strategy Pattern is essentially a way to provide multiple ways to perform some sort of similar action. I've used the Strategy...

SQL Optimization for MySQL / MariaDB

Ok, so you have your server configured at optimal performance, a great caching strategy, and your code has been refactored into its best working order. Now...

Getting Started with Python and Django - Part 3

Continued from Part 2 Unit Testing Django Models In order to create tests for whateverapp, we populate the whateverapp/tests.py with the tests we would...

Unit Testing PHP with PHPUnit

For a background on Unit Testing in general, check out the post on Unit Testing Overview. Example PHPUnit Tests If you have installed PHPUnit and want...

Unit Testing Overview

With software testing in general, we focus on two types of testing: Unit Testing for testing each single component Integration Testing for testing of an entire...

Getting Started with Python and Django - Part 2

Continued from Part 1 Django Models Database tables are represented in Python code using Models, which use Django's built-in ORM (Object-Relational Mapping). A model class is...