Sticky Scrolling Modifier (for Windows)

I’m a ‘baller, a trackballer.

Yes, I’m one of those people. My colleagues hate it. The director teases me about being a massive geek for using one. I love it.

The one thing that many trackballs seem to lack is useful scroll wheel or scroll wheel-like alternative. I have been using the Kensington Orbit w/ Scroll Ring and Expert Mouse and both of those have a decent scrolling mechanism (the “scroll ring” around the ball) but I wanted to explore the options available to ‘ballers on MS Windows whom do not have a (good) scroll mechanism on their device.

Enter X-Mouse Button Control. Among the multitude of features and options that it provides, just a single option is necessary to enable an interesting scrolling alternative: “Change Movement to Scroll”.

For my Kensington devices, I can configure pressing one or a combination of two physical buttons to send a mouse button event and then use X-Mouse Button Control to capture that event and map it to a sticky modifier for changing pointer device movement to scrolling. For non-kensington devices, use the driver/software bundled with the device to map the physical button to the desired button event.

Example

In Trackballworks, I set the left top button to “Button 5”:

2014-05-20 16_05_45-TrackballWorks

And in X-Mouse Button Control, I set “Mouse Button 5” to “Change Movement to Scroll (sticky)”:

2014-05-20 16_08_15-Program Manager

Now, when I press the top left button once, my trackball motion becomes a scrolling action and when I press it again, it switches back.

PowerShell Tips: Group AD Members & Non-expiring Passwords

Display (enabled) members of an AD group (recursively):

Get-ADGroupMember "GROUP_NAME" -Recursive | Get-ADUser | Where-Object Enabled -EQ True | Sort -Property Name | Select Name,sAMAccountName

Display accounts with password set to never expire:

Get-ADUser -Filter 'PasswordNeverExpires -eq $true' | Sort -Property Name | Select Name,sAMAccountName

Use “Where-Object” to narrow down the list, if necessary.

You’ll need the Active Directory PowerShell module that ships with Remote Server Administration Tools (RSAT) and a Windows 2008 or newer Domain Controller with AD Web Services

VMware IP Hash Algorithm Calculator

Have you ever needed to determined the uplink port that a particular IP connection uses within your VMware vSphere environment when using IP hash load balancing algorithm, but were discouraged by the time investment required to manually do the math?

Mike Da Costa describes the algorithm and troubleshooting techniques in detail in his blog post “Troubleshooting Network Teaming Problems with IP Hash” but doing the proposed calculations by hand is somewhat tedious due to various conversions and formulas.

Not to fear! I have developed a Microsoft Excel (2013) spreadsheet that will perform the calculations and display the uplink index and per-uplink sums. All you need are source IP address(es), destination IP address(es) and number of uplink ports.

My apologies for Excel. It’s not that I have particular love for Excel or proprietary Microsoft tools, it’s that these are the tools my current employer uses and are immediately available to me. It’s likely the spreadsheet can be recreated or converted to [Libre|Open]Office, if someone was motivated enough to try.

Download: VMware-IP-hash-calculator-techslaves_org.xlsx