05. October 2016

Fixing NPM permissions

The problem is to use sudo everywhere and try to fix things that way. Especially while dealing with global NPM modules. Sometimes it may happen that sudo also will fail to install.

TL;DR: The fix I am using is to change the user permission to current user.

more

08. July 2016

Realm in Swift

Working on a local storage for persistence in data has a lot of solutions. While we can definitely go ahead and just store String values and play with it, Apple provides some solutions to play with local data as if its a database. The thing is, its not that intuitive. Other solutions are there, but the simplicity of Realm.io is nice and addictive.

Lets see how in swift we could play with Realm.

more