MAX BUILD SPEED
  • Home
  • About
Sign in Subscribe

Max Rohde

Max Rohde
Java: Find all instances of System.out.println()

eclipse

Java: Find all instances of System.out.println()

A good Java application should print only the absolute necessary to standard out. Not to do so can mean a serious hit in performance and can make it difficult to debug issues. Unfortunately either we ourselves or our colleagues put System.out.println() statements in the code and then forget

By Max Rohde 16 Dec 2016
Route 53 Cannot Find CloudFront Distribution

amazon-route-53

Route 53 Cannot Find CloudFront Distribution

Problem You have create a CloudFront distribution with a custom domain name (such as yourdomain.com). Now if you try to link this distribution to your domain using Route 53, you get the following error message: `No AWS resource exists with the Alias Target that you specified.` Solution Try the

By Max Rohde 04 Dec 2016
Solving 'One or more of your origins do not exist' for Cloud Front

aws

Solving 'One or more of your origins do not exist' for Cloud Front

Problem You are trying to create a CloudFront distribution using Amazon's API. You get the error: "One or more of your origins do not exist" Solution In my case, I provided a different value for these two properties: DistributionConfig.DefaultCacheBehavior.TargetOriginId and DistributionConfig.Origins.Items[0]

By Max Rohde 14 Nov 2016
Sharing Folders with VirtualBox

virtualbox

Sharing Folders with VirtualBox

Problem You would like to share a folder between a VirtualBox Linux Guest and a Windows Host. Solution * Start your VM * Switch to Windowed Mode * Select Devices / Shared Folders / Shared Folder Settings ... * Create a New Folder on your Linux Guest. e.g.: * /home/[Your User]/WinDocuments * Add a new Shared

By Max Rohde 19 Oct 2016
Fix PhoneGap Shows Black Screen after Splash

Fix PhoneGap Shows Black Screen after Splash

In order to test how an ObjectHub Micro App can be packaged as a PhoneGap application, I used PhoneGap Build to package up a simple application. Unfortunately, the application that I developed started off with a big, ugly black screen instead of a splash screen. It took me quite some

By Max Rohde 23 Sep 2016
Test if Firebase is Initialized on Node.JS / Lambda

firebase

Test if Firebase is Initialized on Node.JS / Lambda

Firebase is build on the assumption that it will only be initialized once. This can be a problem in Node.JS applications sometimes, especially if they are run as part of an Amazon Lambda function. This can lead to errors as the following: Firebase App named '[DEFAULT]' already

By Max Rohde 20 Sep 2016
Testing Internet Connection Quality (with multiple hosts)

Testing Internet Connection Quality (with multiple hosts)

It's always a good idea to test the speed of your Internet connection after getting a new router of Internet provider. However, my Internet connection sometimes becomes mysteriously slow. In that case, it is great to verify that is a problem with the Internet connection or maybe with

By Max Rohde 20 Sep 2016
Automatically Make Snapshots for EC2

aws

Automatically Make Snapshots for EC2

A quick Google search reveals that there are quite a few different approaches for automatically creating snapshots for EC2 images (such as here, here and here). All of these are rather difficult to do. Thankfully, after some more searching around I found a great way to schedule regular snapshots using

By Max Rohde 19 Aug 2016
Delete All Binary Logs for MySQL

mysql

Delete All Binary Logs for MySQL

Today I discovered that one of my servers mysteriously ran out of disk space. I ran the following Linux command to find all the biggest files and folders on the server: sudo du -a / | sort -n -r | head -n 100 ... and found that it was the binary logs used for

By Max Rohde 19 Aug 2016
Generate md5 Hash for Maven

maven

Generate md5 Hash for Maven

Maven creates and checks MD5 checksums at various times. For instance, when downloading an artifact from a repository, Maven checks whether the checksum of the downloaded files (e.g. POM, JAR) is correct. I am uploading Maven artifacts manually to a very simple, file-based repository. This requires me to calculate

By Max Rohde 15 Aug 2016
AWS Lambda: Cross-account pass role is not allowed.

aws

AWS Lambda: Cross-account pass role is not allowed.

Today I came across the following exception while working with the AWS SDK for Amazon Lambda: com.amazonaws.AmazonServiceException: Cross-account pass role is not allowed. (Service: AWSLambda; Status Code: 403; Error Code: AccessDeniedException; Request ID: xxx) At first I was a bit puzzled where this exception might come from; but

By Max Rohde 27 Jun 2016
What is Amazon Flourish (for AWS)

aws

What is Amazon Flourish (for AWS)

According to a recent article on the New Stack Blog, the Amazon Serverless Team (responsible for instance for Amazon Lambda) is about to release a new open source product called 'Floruish'. Currently, there are very few details available on this product. These are some points I could find:

By Max Rohde 27 May 2016
See all
MAX BUILD SPEED

MAX BUILD SPEED

be calm & code.

MAX BUILD SPEED
  • Sign up
Powered by Ghost

MAX BUILD SPEED

be calm & code.