Blog


Silverlight’s Missing ScrollViewer .ScrollChanged Event

If you’ve worked with Silverlight’s ScrollViewer you may have noticed the ScrollChanged event is missing. It exists in WPF but Microsoft conveniently left it out in Silverlight. If you need to be notified of changes to the VerticalOffset or HorizontalOffset you can use a dependency property which listens to the change of Offset properties of […]




iOS 7 Bugs – message sent to deallocated instance

First of all, I know this error has been around way before iOS 7. However, in one of my own apps I started getting this error when I upgraded it to iOS 7 SDK. Not exactly sure why it started since it worked perfectly fine with iOS 6 SDK. After hours of debugging, I finally […]




iOS 7 Blur Effect

The Control Center, introduced in iOS 7, has a really cool blur effect when opened. Unfortunately, Apple didn’t give us access to use this blur effect in our UIViews. Luckily for us, there’s a few ways to achieve this blur effect. iOS-blur A really clever developer came up with a solution of copying the layer […]




iOS 7 Bugs – The Status Bar and Modal View Controllers

In iOS 7, the status bar and navigation bar are now unified. The status bar is translucent which is suppose to merge seamlessly with the navigation bar. This works great for the most part until you try to present a view controller or use a modal segue in storyboards. [self presentViewController:myViewController animated:YES completion:nil]; Using these […]



CSS Hacks Per Browser

First of all, most CSS hacks are generally considered bad practice and should be avoided whenever possible. With that said, there are times when using a CSS hack is necessary to target browser specific technologies. Internet Explorer IE is at the root of most CSS problems. To target IE specifically, create a seperate stylesheet for […]




Creating Custom Modules in Node.js

If you’ve been using Node.js, you’ve probably been using modules for some time. A module is basically a javascript file that exposes internally scoped functions using the exports variable. In this tutorial, I’ll show how to create a simple string splitting module to give you a basic understanding. Getting Started Lets start off by creating […]




Emailing in Node.js with Nodemailer

Emailing in Node.js is easy to do with the Nodemailer module. Nodemailer supports plain text content, HTML content, attachments, different transport methods, etc. The official documentation can be found on github. Getting Started Lets start off by creating our directory. mkdir EmailExample cd EmailExample Creating package.json In the EmailExample directory we just created, run npm […]