Powershell: Kill Idle Terminal Server/Remote Desktop Processes

We see a lot of these RDP sessions going idle with memory-hogging applications open, like IE/Chrome, ERP software, Adobe Reader, etc. When you have dozens of sessions, these small bits of RAM can really start to add up. And because the uses are needed 24/7, the sessions can’t be terminated. I thought it would be nice if there was a way to say “Hey, this IE process has been idle for an hour, lets just kill it.”

Read more »

Pulseaudio Microphone Loopback (Listen While Recording)

I got a new headset today that features two 3.5mm audio jacks: one for the headphones, the other for included boom microphone. However, when plugging in said device and using it with the headphones on, I find it rather difficult to use VoIP applications (like Teamspeak) when I can’t hear my own voice. What’s needed is a microphone loopback, so I can hear myself through the headphones while I’m talking. Here’s how.

Read more »

Simple Spring MVC Part 1

Covers creating a new Spring MVC web application without Spring XML configuration files or a web.xml file. A good introduction to the Spring Web MVC framework for web applications.

Read more »

Adventures in Administration: USB Extension Cables over Cat5e Ethernet

While working as an admin you come across some unusual requests. We have a conference room at work where we’ve been requested to have a fixed-position USB webcam, but they want to locate the usb cable approx 25+ feet away. They’ve also requested not to have a lot of running cables in the room, so this means also hiding the cables away in the wall. This would also mean some kind of adapter/extension cable. Looking around online, you can buy USB extension cables (some powered), that run 50-ish feet, but they’re usually in the $40+ range. I’m cheap, so I wanted a viable alternative.

Read more »

Stop Online Censorship Before It Begins.

Via FightForTheFuture.org: Want a window into the minds of our opponents?  Former Senator Chris Dodd — head of the Motion Picture Association of America — says that China censors its Internet, so we can too: “When the Chinese told Google …

Read more »