December 11, 2018

Using git hooks to keep your codebase clean

Problem Let’s be honest – developers tend to be lazy. Whenever you start a new project you’re probably saying to yourself that you want to do everything better this time but often times your new project becomes the same mess as your previous one. I want to introduce a neat little trick that might help […]
READ MORE

Kai Henzler
Developer at thecodecampus </>


December 4, 2018

Introduction to Live Templates in IntelliJ IDEA

There are many ways how IntelliJ IDEA can boost your productivity by raw input speed. Firstly, there is Code Completion which is a standard for most code editors, and offers a great deal of help. Secondly, there is Postfix Completion. Maybe this name doesn’t sound familiar to you but you are probably using it already. […]
READ MORE

Christian Heitmann
Developer at thecodecampus </>


November 20, 2018

Building an Angular App in parallel for multiple languages

Problem When using the built-in Angular Internationalization (i18n) the Angular guide tells you in detail what you have to do to set up your application to support multiple languages. The guide lacks the details on how to properly integrate the build into a common web application deployment workflow. In this brief blog post I’m going to […]
READ MORE

Kai Henzler
Developer at thecodecampus </>


July 26, 2018

Locally serving the build distribution of an Angular SPA

tl;dr Use Node Package local-web-server and its command ws with the spa flag like this: ws --spa index.html While developing an Angular based SPA usually you will use the Angular CLI as build too. The CLI has an integrated development server which is able to handle client-side routing. So whenever a reload happens and you’re […]
READ MORE

Philipp Burgmer
Developer at thecodecampus </>


May 7, 2018

Use Git Bash, Cmder or ConEmu as default terminal in IntelliJ IDEA on Microsoft Windows

This post will show you how to easily set the default Terminal to a Unix/bash like terminal in IntelliJ IDEA on Windows. As the Windows CMD.EXE is quite limited in it’s functionality (and usability) you might already be using some UNIX-like terminal emulator like Git Bash (which comes with Git for Windows, so you might […]
READ MORE

Christoph Strauss
Developer at thecodecampus </>


March 5, 2018

Throwing Errors in Npm Build Script

From time to time you may want to throw an error from within an npm build script. This should be done in such a way that the complete execution of the script is recognized as faulty. So that for example, a build server recognizes that a script did not run successfully. You only need to […]
READ MORE

Can Kattwinkel
Developer at thecodecampus </>


May 5, 2017

Nativescript: Actionbar with Android Material Design Icons

Have you ever wondered how you can get a Action Bar like this one in Nativescript? It’s easy: I hope you have Android Studio preinstalled, you need it. Create and open a example Android Project with Android Studio. Now Right-Click on your Project Folder, select   New -> Vector Asset which opens a new Dialog. You can select the Icon […]
READ MORE

Frederik von Berg
Developer at thecodecampus </>


Solution: Error: NativeScript CLI not found. Use ‘nativescript.tnsPath’ workspace setting to explicitly set the absolute path to the NativeScript CLI.

Have you ever had this error message in Visual Studio Code with the nativescript-vscode extension? (I use Ubuntu 16.04) I had this problem for a while now and didn’t find any bug report that helped me, after adding the correct ‘nativescript.tnsPath’ to the workspace settings, the problem still exists. The most funny part, from the […]
READ MORE

Frederik von Berg
Developer at thecodecampus </>


March 13, 2017

What we learned in 1 year of Angular 2 trainings

When we founded theCodeCampus.de in 2014 we had some year’s experience in developing angular 1 applications. We also had a few years’ experience of doing trainings for Eclipse RCP. Last year we added our angular 2 trainings, months before angular 2 was finally released! We were really surprised how well it was received, but also […]
READ MORE

Jan Blankenhorn
Developer at thecodecampus </>