Updated on November 10, 2018
Like Mac, Ubuntu has some screenshot abilities built in that allow for a more friendly screenshot experience. One tool that I really enjoy using is the “screenshot of an area”, sometimes called a “region screenshot”.
Macs have the keybindings set up so that taking a screenshot involves one hand, allowing you to use the mouse to select a region with the other hand. Ubuntu, however requires you to press the Print Screen button along with the other modifier keys, which is usually on the other side of the keyboard.
Updated on September 10, 2018
When working with Git, it’s important to know what branch you’re currently on. Ubuntu doesn’t list the branch by default, so we need to modify Bash in order to display the branch name. Below we will be modifying Bash to display the current branch in parentheses.
Updated on September 10, 2018
This is some advice that I’ve discovered through working on various React projects. Some of these practices are in response to issues with these projects. They are not intended to be a standard, but more of a guide – mainly for myself.
Posted on November 10, 2017
I was asked by a colleague if it’s possible to replace the color of a stock car image with a different color using an automated script. I found that ImageMagick has the ability to replace black and white with different colors using the +level-colors filter, but it’s a dumb find-replace method which replaces all instances of white with red. You can see with the image below that it’s just not perfect.
Updated on May 3, 2017
Let me first state that I’m a professional Angular 1.x developer. I know Angular inside and out, and have fully grasped many of the complexities within Angular’s framework. However, I have little to no experience with Angular 2+, so I decided to try the latest Angular 4 code with robwormald’s ng-universal demo. The intent was to create a simple website with server-side rendering and a couple of minor AJAX service requests.
Updated on April 12, 2017
I have a Brother HL-2280DW network printer which is also a scanner, as many printers are nowadays. Brother, to their benefit, has decent Linux drivers and the printers are great for their reliability. The problem people have recently had, from around the Ubuntu 16.04 release is that the scanner drivers no longer work for some people. Hopefully this article can help guide people to the right solution.
Updated on March 28, 2017
This article will attempt to draw similarities between the various Angular scaffold types in regards to Angular 1 and Angular 2+ (known as AngularJS). The sections will be separated by Angular 2+ scaffold types, while the similar Angular 1 types will be described within each section.
Updated on March 7, 2017
Angular is a framework that offers impressive testing ability through unit tests and template-based testing, which we will consider template-based unit testing.
Updated on December 20, 2016
Many of you might have run into this error at some point in time:
Error: $digest already in progress
This is typically created when someone calls $scope.$apply() in the middle of their code. Angular can be finicky about calling $apply when the $digest loop (2) is being executed. The error is essentially saying “I’m already $applying a bunch of stuff, I can’t add any more to the list right now.”