Geeks With Blogs

News Please visit me at my new blog!!

profile for Aligned at Stack Overflow, Q&A for professional and enthusiast programmers
"free in Christ Jesus from the law of sin and death." Romans 8:2 (ESV) Check out the Falling Plates video on YouTube.
more about the Gospel
And then listen to Francis Chan speaking at LifeLight in SD.

Programming and Learning from SD August 2013 Entries
2012 MCSD Resources
I recently passed all the tests to get the MCSD and our company just achieved the Gold status (next to Silver Application Development) with the 4th developer passing the 3rd test. Here are some of the links and resources we used. The books for the tests are just coming out in September, so they weren’t available for our studying. 70-480 My thoughts: ......

Posted On Friday, August 30, 2013 4:42 PM

Alt+Shift+Y to compile all Less files
Install the Web Essentials extension (Visual Studio 2012+, maybe 2010). Create some Less files, nested or otherwise. Press Alt+Shift+Y and all the less files will be compiled to css. Stackoverflow question with my answer. Keyboard options in Visual Studio: ......

Posted On Friday, August 30, 2013 2:02 PM

Video about REM units for font sizing in HTML
There is a 5 minute video from Sitepoint from Russ Weakley that is worth watching. Basically REM uses the size from the root, where EM uses the size from the parent. Em can have compounding of sizes. Note, this doesn’t work in IE 6-8. Using PX first, then REM is a fallback for old IE (IE will only read the first value and ignore the second). There's also a poly-fill library, but the fallback seems better. Here’s the example from the video. h1{ font-size: 32px; font-size: 2rem; } From the comments ......

Posted On Friday, August 30, 2013 11:03 AM

Using Knockout to Assist in Responsive Design
I'm creating a responsive website from a mock we received. I'm using Bootstrap 3.0 RC and I really like the grid system and the ability to hide and show using their CSS classes (.hidden-xs, visible-sm, etc). One problem to solve when using the responsive design approach is sending the correct image (smaller to save bandwidth and screen space). If you set the <img src, the browser will immediately download that image. However, if you set the src with JavaScript, you can detect the screen size, ......

Posted On Monday, August 26, 2013 1:07 PM

Ninject property has to be public for Inject Attribute
This might be obvious, but it tripped me up for a bit. If you are using Ninject have a property (in my case a WebForms MasterPage code behind) and don't make it public, it will always be null.Here's a link to a tutorial.Also when using IIS Express, you must stop the site and then F5 after making changes in the NinjectWebCommon.cs RegisterServices method ......

Posted On Tuesday, August 20, 2013 10:38 AM

IE 11 Updates its Developers Tools
I installed the IE 11 preview for Windows 7 (I’m getting upgraded to Windows 8 at work next week). I’ve never been a fan of the IE 8 – 10 developer tools so I’ve mostly been using Chrome or Firefox’s Firebug. This revamp looks great and seems to work well. I think I’ll be spending more time in IE with the developer tools, once IE 11 is released. “F12 Tools in Internet Explorer 11 Preview has been rebuilt from the ground up to give you: a new, cleaner user interface. new Responsiveness, Memory, and ......

Posted On Thursday, August 1, 2013 3:30 PM

Copyright © Aligned | Powered by: