By default, the embedded tomcat port number for a Spring Boot application is 8080. If you are like me and run multiple machines while developing locally, you have no doubt encountered a situation where port 8080 is already in use or where you will need 8080 for something else. There are three ways to set […]
Spring Boot Set Root Logging Level
Sometimes it is nice to be able to see all debugging information from your spring boot application. I am not going to go over the various Java logging frameworks but rather the quick and easy way to set a logging level. Logging Level Types By default, ERROR, WARN and INFO level messages are logged. You […]
SOLVED: Force Assets to use HTTPS in Laravel
I have been doing some work with Laravel lately and needed to force a site to use https for everything. One of the first problems I encountered was figuring out how to force https in Laravel for linked stylesheets, javascript assets, etc… I found a few different solutions, but none of them solved the issue. […]
SOLVED: Protractor Config to show iframes in PhantomJS
If you are reading this post, you probably figured out that PhantomJS won’t display iframes without additional configuration out of the box. The flags that would normally be passed are: –ignore-ssl-errors=true –web-security=false I am adding this post as a good place to reference this later on. I found a bunch of answers online with this […]
AngularJS Add $scope to Controller Unit Test
First off, you really shouldn’t be adding $scope to your controller. Always use ControllerAs syntax as a best practice. If you aren’t familiar, John Papa has an excellent style guide for AngularJS coding practices: Angular 1 Style Guide Alright, now that we got that out of the way. You probably have an edge case or […]