Stateless tokens with JWT

Let's talk about use cases. You're tasked with creating a user signup form that sends the user an email for verification. Or maybe you're tasked with adding a forgot my password to login form that sends an email to the user to reset his password. Imagine we had to implement…

Quick start guide for any node-based SPA with Mithril

A few weeks ago, I was tasked with creating a single-page application for a company. Like with any other project that I'm tasked with, I set down and did some thinking. Knowing that such a big project won't be an easy task, I did some brainstorming and came up with…

KISS: Having fun with WPF - Creating cool loading animation

While searching online for a simple loading animation to use in my WPF application, I discovered Excellent WPF Loading Animation. Digging into it the solution from the link I found the code was... far from optimal in my opinion. It was long, complicated and contained a lot of XAML.Here…

Running a (semi-)stateless linux router for private network

It comes to no surprise that you should always avoid nf_conntrack when you can. Many problems can arise from having your linux keeping track of every connection being made. There are some optimisation that you can do for it but there is always the maximum connections you have to…

Extending pillar data in saltstack

If you've worked with pillars in saltstack, you'll have undoubtedly encounter the issue of being unable to extend data in pillars in different files.This is easily done in states using include and extend but unfortunately, those do not exist for pillars (or not the way you think they do)…

Advanced Registry - Getting a cd-rom drive to work

I was working on a computer when I encountered an interesting problem: One of the computer was having problem communicating with new devices. Hardware popup wizard would popup on every occasion, even when a single usb key was plugged in. It couldn't find any drivers for some of the many…

Shooter 1.0 computer game released

As a proof-of-concept for Network Library, I created a simple computer game called Shooter to demonstrate how Network Library can be used as well as to prove it's use in computer games. Shooter is a tactical console 3rd person over-the-head shooting game. Head on to the Github page for more…

Network Library updated to 1.0.0.4 (stable)

Huge updates on both Network Library and the included SharpTCP (NetworkLibrary TCP/IP plugin). The project is now officially stable. You can grab the latest version from the Github Repo.Changes include:Lots of bugfixes.Optimization in both core and serializer.Support for ObservableCollection.And lots of other things.…

Network Library 0.3.2.26 released

After many days of work, the official release of Network Library I created a long time ago has been released. The Network Library has many features:Event drivenSupports binding over networkObject registrationMany more.Head over to the wiki and read more about it. You can also grab it directly from…

Visual Studio - Add file from a relative position

One of the things I encounter when working with Visual Studio solutions + plugins is that the plugin has to be either manually updated or some other hack has to be made. If you take the usual route of "Add Existing File" from the context menu in your solution and select…