PR #45 on Protractor Flake added the ability to specify custom parsers. On my project we’re sharding (running multiple instances of) Protractor and using the following parser to re-run only the failing spec files.

You’ll want to replace the /test/functional/specs/ and the browser name (chrome) below with your actual values.

I just spent 10 minutes perusing every Adium menu and options to find where I could disable the message “entered the room” and “left the room” on Adium. Turns out, it’s easy: Right click on the IRC channel name tab and the option “Show Join/Leave messages” will appear.

So, I prefer spaces, and when I press tab, it should instead write 4 spaces. I forgot to set this option on Sublime Text and did some commits with tabs. The following git command will rewrite the repo history and replace tabs by 4 spaces.

At work, we have to test our app in a snapped state, so we need a way to programmatically make it happen. We discovered that there are two keyboard shortcuts for this action. Windows Key + . (the period key) snaps to the right edge, and Windows Key + Shift + . snaps to the left edge.

So all we have to do is send these keys to the operating system. Sending the Windows Key is tricky, and not supported using only [System.Windows.Forms.SendKeys]::SendWait.

All of sudden, the game Star Wars: The Old Republic is crashing my Nvidia drivers. I have a GeForce GTX 460. Oddly, I played the game for months without any issues, but since the last update, it crashes multiple times.