Email Address in MVC 5 Google Authentication

I’m not proud to admit that I spent hours trying to figure out this very simple problem. The goal was simple: when a user logs into my web application using Google authentication, I want to be able to grab their email address so I can store it as part of their user profile. As expected, this is very simple. I’m assuming you’ve already enabled Google authentication by uncommenting app.UseGoogleAuthentication() in your Startup....

November 9, 2013

Ctrl+Alt+Arrow Flips My Screen

If this is happening to you, it could be because you are using the Intel HD Graphics drivers. You’ll certainly notice this issue if you use Sublime Text since it uses the same key combination to expand the multiline editing. To resolve the issue you can either change Intel’s keys or turn them off entirely. Right click on you desktop and select Graphics Properties in the context menu. Select Options...

October 19, 2013

Windows Automatic Log On

I have a few applications installed on my home server that are user-level applications, meaning that a user must be logged on in order for the application to start. I don’t want to have to manually log on ever time my server restarts, so I set up automatic log on for the server. Here’s how to do it. Press Windows Key + R to launch the run dialog. Type in netplwiz and click OK....

September 23, 2013

Windows Secure Logon

You may have noticed that before you log on to you office PC that you are required to press CTRL+ALT+DELETE before entering you user name and password. Apparently, this is actually a security feature. According to this Windows support article (which this post is based on), [w]hen secure logon is enabled, no other program (such as a virus or spyware) can intercept your user name and password as you enter it....

September 23, 2013

Event Log Email Alerts with PowerShell

Source on GitHub: https://github.com/blachniet/blachniet-psutils Have you ever wanted to send out email alerts when an particular event appears in the Windows Event Log? The Task Scheduler provides the ability to send out emails when an event is logged, but it doesn’t allow for SMTP servers that require any sort of authentication. I wanted to send the emails from a Gmail , so created a PowerShell script to handle this. The script takes in quite a few required parameters in order to make it more flexible and reusable, so it may seem a little complicated at first....

July 28, 2013