Hello and welcome to WanariLeaks.

OAuth2 Tutorial

Intro OAuth2 is a widely used authorization framework enables third-party applications to obtain limited access to a web service and it has been around for some time now. Though it is popular and there are a handful of really helpful introductions and descriptions on the subject, it can be a challenge for someone unfamiliar with […]

A more insightful look into IBDesignable and IBInspectable

Intro If you’re an iOS developer, you’ve probably come across the keywords IBDesignable and IBInspectable at some point. Their concept is fairly simple and easy to grasp: An IBInspectable property can be set from the Interface Builder, and an IBDesignable view will reflect your IBInspectable property changes immediately in the IB after your set it. […]

Rancher and Grafana – A long case-study to learn some DevOps

Motivation Cryptotrading is so cool and profitable these days… So I decided to try it out. But if you want to do something well, you need a lot of information and tools. I wanted some visualization, with chat (Slack) integration, and some alerting tools/bots. This post will describe the tools I found and started playing […]

Push Notifications – a bigger picture

Many applications we create require the ability to send push notifications. Sometimes we are the ones who made the client and the backend side as well. The available tutorials are helpful but not always entirely clear; we met quite a few challenges. Let’s look at a specific example. –          We’d like to send a push notification from […]

How to make a custom Username Password Authentication Filter with Spring Security

  Introduction Basically I’ll show you how to use Spring Security and how to customize it if you want. First we’ll implement the basic authentication with basic responses and other stuff, and I’ll show you how to customize the login and logout process as you wish  Simple Authentication After you added the required dependencies described on Spring’s website, […]

Ray Tracing with Akka – Part 4

Where did we stop last time? Read the first part of this series for an intorduction to ray tracing and what I wanted to achieve. Here we created a sphere and a shadow. Read part two for a discussion on creating a plane and letting our objects reflect and refract. Part three has been the most advanced, in here we built […]

Easy open source licenses

A simple description of open source licences so you’ll know how to use them The Open Source Community and Licenses The open source community creates and uses free software. A copyright ensures that the author possesses exclusive rights to their product. With a licence the copyright holder provides the rights to study, change, and distribute the software to […]