Brief Overview of Pelican
Recently I switched this website from Django to a static site. This article gives an overview of the core concepts of [Pelican](https://github.com/getpelican/pelican/), covering areas that are not directly captured in the official docs. This is written pri
Reflecting server errors in Angular form validation
Here's some sample code that shows how to display server validation errors sent by a django-restframework REST server. Specifically, note how `ngIf` & `ngFor` tags are used to conditionally detect and display error messages set on individual controls. The
How to programmatically emulate Appple special keys such as media navigation & power keys
Media keys along with some other keys are not handled through the standard apple keyboard event subsystem. They are treated differently, and therefore emulating them from software requires special code (EventTap won't work!). Here's a function that does th
Converting a std
An excellent piece of code to do the above is [here](https://gist.github.com/jeremy-w/3777700): Again, thanks to this [gist](https://gist.github.com/jeremy-w).