In this post, we’re going to be creating a sample comments system using Node, Express and Mongoose. Mongoose provides an object oriented interface for using MongoDB in Node. Everything in Mongoose starts with a Schema. Each schema maps to a MongoDB collection and defines the shape of the documents within that collection. If you are […]
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 […]
- October 10, 2013
#Blur, #Hacks, #iOS, ...
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 […]
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 […]
- August 27, 2013
#Chrome, #CSS, #Hacks, ...
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 […]