- 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 […]
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 […]
I was recently asked to create a signature pad for desktop and mobile browsers to save customer signatures. The solution included using the <canvas> element and adding event listeners for both mouse and touch events to draw the signature lines on the canvas. First thing is we have to create a canvas element. <canvas id=”canvas” […]