How to Activate Your MSDN Pluralsight Benefit

Sam Rueby.NET Tips, Software Development 4 Comments

Update 5/25/17 It’s a bit easier to activate the benefit now. As John Henckel pointed out in comments, all you need to do now is go to https://my.visualstudio.com and click on the Pluralsight logo. Done!   I found it pretty un-Googleable to figure out how to get your recently-announced Pluralsight subscription through your MSDN subscription. (I had to watch a video to …

Using CSS to prevent the user from scrolling

Sam RuebyWeb Development 3 Comments

I was creating a mobile menu for a project today. The normal, click-the-hamburger, expose a drawer with menu items, etc. I mocked this up in JsFiddle. I darkened the background by making a simple overlay: .mobileNavOverlay { position: fixed; width: 100%; height: 100%; background: rgba(0, 0, 0, .7); z-index: 2; top: 0; left: 0; } But I noticed that on …

How to fix ReSharper’s bad ToDo item color in Visual Studio.

Sam RuebyUncategorized 2 Comments

Excuse me as I continue to post fixes to trivial but nevertheless annoying problems that I run into. So after updating to the new ReSharper EAP, this happened: I totally can’t read the NOTE in my source code. What gives ReSharper? But if you go into the Visual Studio settings, Todo items should be colored a lighter, readable blue. Alexander Kurakin …

Articles I’ve Recently Read

Sam RuebyReadings Leave a Comment

Chaos Monkey Released Into The Wild Violating the “smart enum” pattern in C# Writing Cleaner Code with Reactive Extensions I’m stuck in someone’s for loop Atomic design (EN) (Video) Improving Site Performance with the Navigation Timing API

Can’t click and drag?

Sam RuebyUncategorized Leave a Comment

There has been a few times where I, completely confused, don’t understand how I lost the ability to click and drag in Windows. it happens suddenly. When this happens, the icons of what you’re attempting to drag won’t follow the cursor as you attempt to click and drag them, and they definitely won’t perform the operation you’re dragging them to. …

Disabled Disqus Comments in WordPress

Sam RuebyUncategorized Leave a Comment

I somehow just struggled to be able to turn off Disqus comments on a WordPress page. How could this possibly be difficult? Here’s how. It would be intuitive to think that unchecking “Comments” in the Screen Options at the top of the page editor. Don’t be fool, that checkbox actually seems to do nothing at all. But when you Google …

Great Tool for Converting WebForms Views to Razor Views

Sam Rueby.NET Tips, Web Development 1 Comment

The ASP.NET MVC Razor view engine has been out for a while now. I think it’s great for improving readability in complex MVC views. Especially with its magical-context-guessing ability, it greatly improves readability over the WebForms syntax. I found a great tool from Telerik that helped me convert an entire solution to Razor syntax. The word ‘helped’ is important here …

Did you know Chrome has its own color picker?

Sam RuebyUncategorized 6 Comments

Because I didn’t! If you Google “Chrome color picker” get you a bunch of extensions and definitely not obvious information about this wonderful feature. I was recently disappointed by ColorZilla (my previous color picker) because you’re not allowed to use the eye dropper for local files. I stumbled upon this feature in a talk I was watching  and even had …