• Skip to main content
  • Skip to primary sidebar

Ryan McCormick

Spring Boot Set Port Number

July 30, 2017 by Ryan Leave a Comment

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 the port number for your application: Command Line, … [Read more...] about Spring Boot Set Port Number

Spring Boot Set Root Logging Level

July 30, 2017 by Ryan Leave a Comment

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 can show more specific logs by explicitly setting the type. There are five … [Read more...] about Spring Boot Set Root Logging Level

SOLVED: Force Assets to use HTTPS in Laravel

July 21, 2017 by Ryan 2 Comments

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. I was able to combine a couple of different approaches and found one … [Read more...] about SOLVED: Force Assets to use HTTPS in Laravel

SOLVED: Protractor Config to show iframes in PhantomJS

June 29, 2017 by Ryan Leave a Comment

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 one buried in an issue under the … [Read more...] about SOLVED: Protractor Config to show iframes in PhantomJS

AngularJS Add $scope to Controller Unit Test

March 19, 2017 by Ryan Leave a Comment

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 something where you need to add it. Cool, I got you covered. … [Read more...] about AngularJS Add $scope to Controller Unit Test

« Previous Page
Next Page »

Primary Sidebar

Recent Posts

  • Force Quit Kill all Chrome Windows MacOS
  • SOLVED: Angular 6 CLI Karma Stuck in Single Run | Karma Stops Running
  • How to Manually Install Java 8 on Ubuntu 18.04 LTS
  • Remove VirtualBox from Ubuntu 16.04 Xenial
  • Clear all Node Modules Folders Recursively Mac/Linux

Recent Comments

  1. KKV on Webstorm adding spaces between imports and braces | JavaScript and TypeScript
  2. jusopi on Clear all Node Modules Folders Recursively Mac/Linux
  3. Qaisar Irfan on Clear all Node Modules Folders Recursively Mac/Linux
  4. mustafa on Remove VirtualBox from Ubuntu 16.04 Xenial
  5. Pourya on How to Manually Install Java 8 on Ubuntu 18.04 LTS

Copyright © 2025 · Magazine Pro on Genesis Framework · WordPress · Log in