Visual Studio Extension to Compile Sass

Sam RuebyCSS, Uncategorized, Web Development 29 Comments

I’m very excited to have written my first Visual Studio Extension. Prior to this, my team and I heavily relied on Web Essentials 2013. It was somewhat clunky: it compiles simple Sass files very well. However, we kept running into a few issues: It wasn’t always up to date with the latest version of Sass, making it difficult to use mixin …

ASP.NET MVC BundleConfig, scripts returning an empty response?

Sam Rueby.NET Tips, Web Development 2 Comments

The Visual Studio template for ASP.NET MVC 5 comes with Microsoft.AspNet.Web.Optimization, which is used in BundleConfig they provide you. I haven’t used this much and wanted to try it. I wiped out the default stuff and included a line for the only script I needed. public class BundleConfig { // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862 public static void RegisterBundles( BundleCollection …

Firefox is releasing support for CSS display: contents

Sam RuebyCSS, Web Development 3 Comments

I’m finding Twitter to be the best aggregate web development news source for me. Sunday I caught wind that Firefox is going to support for display: contents . Mozilla Firefox Intent to Ship: CSS ‘display: contents’ – https://t.co/PXcHUzDk3Z — HTML5 News (@HTML5Weekly) February 7, 2015 Why? What’s that? I’ve never heard of display: contents . Why do we need it? I think MDN is …

Why is HTTPS faster than HTTP?

Sam RuebyWeb Development 3 Comments

Last weekend I was at Shmoocon, getting my annual fix of hacker-socialness. Unrelated to the conference I caught a tweet from @KatieHaxx: http://t.co/gR97nWuIB1 — Katie (@KatieHaxx) January 17, 2015 And if you go to www.httpvshttps.com you may be as surprised as I was. https was 70% faster than http. If you’re not as shocked as I was you either already understand …

What are Amazon AWS vCPUs?

Sam RuebyAmazon Web Services 1 Comment

I was really surprised to find this. I was trying to get an idea of the difference in performance between my current m1.large instances and the new m3.large instances. First, I used to CPU-Z to see what it detected. Okay we’ve got: An Xeon E5-2650 running at a detected 1.8 Ghz 2 CPU cores with 1 thread each. Next I …

JavaScript: Always Use Triple-equals When Checking Equality

Sam RuebyUncategorized Leave a Comment

I wanted to reblog this because I didn’t realize until recently how important this is and I keep running into it. A Tweet from @dNetGuru ( Farzad E. ) shows an excellent chart of why this is important and not just nit-picking. A good reason to use “===” instead of “==” for equality testing in Javascript http://t.co/aBSXZrpKKn (via: @sdepouw) pic.twitter.com/O3PDEKC5FF — …