Gerade kürzlich ist mir die Formelsammlung der Physik in die Hände gefallen und ich hatte irgendwie Lust, ein Pendel zu programmieren. Ich habe früher bereits einen Artikel geschrieben, wie man mit JavaScript physikalische “Experimente” durchführen kann und bin nach wie vor der Überzeugung, dass dies eine ideale Tätigkeit ist, um das Programmieren zu erlernen. Man braucht… Continue reading JavaScript und Physik
Author: admin
AngularJS allow invalid values to be set on the model
The default behavior of AngularJS when you have a validator on an input field is to set the model to undefined if the validation failed. This might be convenient for most cases, but sometimes you want to have the invalid value in your model. It is really easy to tell Angular to allow invalid values on your… Continue reading AngularJS allow invalid values to be set on the model
Run EasyTax2014 with Docker
I just created a Docker image that runs the EasyTax2014AG application. It was pretty straight forward to write the Dockerfile. I have based it on the official Ubuntu image because I wanted the Dockerfile to be transparent so that you can actually trust there was nothing installed that tries to steal your data in some… Continue reading Run EasyTax2014 with Docker
Java 8 default methods
Why OK, so interfaces can now provide a default implementation. This makes sense if you want to be able to add new methods to your interface without breaking existing implementations. Oracle uses default methods quiet extensively (see java.util.Collection). Simple example public class SimpleExample { interface Interface1 { default void test() { System.out.println(“– default test”); } default void test2() { System.out.println(“–… Continue reading Java 8 default methods
Docker
Lately I had a short presentation about Docker for which I created some slides. The idea was to run the presentation (AngularJS, HTML, CSS) inside a container. You can find the presentation here. Maybe you find it useful.
Spring Boot Health Checks
Spring Boot brings along some cool “production ready” features. Among them are the health checks. They are a great way to give you a quick overview about the system state. Is the database up and running, is my disk running out of space? Getting started Having a Spring Boot application already setup you just have… Continue reading Spring Boot Health Checks
I just solved a Java Performance Puzzle by @javaplumbr
I just solved a Java Performance Puzzle by @javaplumbr. Are you up for a challenge? https://plumbr.eu/blog/java-puzzle It was pretty fun, thank you guys!
Full height multi column layout
Full height multi column layout using CSS3 vh,vw,vmin and vmax unit I had to create multi column layouts that span the entire height of the visible space pretty often. And it was very frustrating every single time. Since CSS 3 there is a new unit you can use that defines a relative value of the viewport’s dimension.… Continue reading Full height multi column layout
CSS Grid System
Layout für deine Webseite Um mit HTML und CSS ein hübsches Layout zu erstellen, gibt es ganz viele verschiedene Möglichkeiten. Vor langer, langer Zeit war es einmal üblich alles mit Tabellen (<table>) zu lösen. Damit war man allerdings nicht so ganz zufrieden (eine Tabelle ist für Daten und nicht für das Layout gedacht!) und ist… Continue reading CSS Grid System
Lets create a 3D cube with CSS
Basic idea Although I’m not sure how useful 3D transformations are in modern web design and how extensively you should use them, there is no doubt that they are just cool. Therefore I want to show you how to create a simple 3D cube using some simple HTML divs and CSS3 3D transforms. The basic idea… Continue reading Lets create a 3D cube with CSS