Todd Boss
Ubuntu Cleanup: How to Remove All Unused Linux Kernel Headers, Images and Modules
I had an Ubuntu Server 12.04 VM with a full root filesystem today; it turned out that it had a few GB of old kernel versions hanging around. This command helped me clean them out:
dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Outlook Calendar Stuck in List View
Earlier today, my Outlook 2010 calendar got stuck in List View. It only took a couple of clicks to fix it, but List View would return each time I pulled up my calendar. The problem persisted even after deleting and re-creating my Outlook profile. I found the answer at the bottom of this Microsoft support thread:
Close Outlook, then run the command “outlook /cleanviews” from the “Start->Run…” menu […], then start Outlook again.
Worked like a charm. Of course, in Windows 7, you’ll want to either type the command in the search box on your Start Menu or hit Win+R to bring up the Run dialog.
Dell XPS 400 “Unknown Device”
Recently, I rebuilt a Dell XPS 400 and there was one pesky device in Device Manager that I couldn’t find a driver for. I tried searching Google by the device instance ID (ACPI\AWY001\2&DABA3ff&0), but mostly found other people with the same problem.
Finally, I stumbled upon this post on Dell’s support site. Austinpctech provided the link to the driver for Intel’s Quick Resume Technology: http://bit.ly/v8KDEw
Print Friendly for Chrome Lets You Easily Remove Unwanted Web Page Elements Before Printing
This extension allows you to remove ads, navigation bars, logos, and irrelevant text, resulting in a cleaner, hopefully shorter printout.
How to show connected VPN and SSH users on a Cisco ASA
VPN:
sh vpn-sessiondb remote (IPSec Remote VPN Clients)
sh vpn-sessiondb l2l (L2L Tunnels)
sh vpn-sessiondb svc (SSL VPN / Anyconnect Clients)
SSH:
sh ssh sessions (show users connected to ASA via SSH)
(Thanks to russman for the tip)
How to Make Your Android or iOS Mobile Device Show in the “Devices” tab in Spotify
I’ve been a Spotify user for a few weeks now, and recently subscribed to the premium service so that I can sync tracks to my Android device. However, I found that I couldn’t get my local music to sync over wifi to the phone. I though perhaps it was a problem with my Droid X2, but as it turns out, the problem was actually a Windows Firewall setting (thanks to Rex S. for the tip). Here’s how to fix it in Windows 7:
- Press the Windows key, then type “allow a program”.
- Find “Allow a program through Windows Firewall” at the top of the Start Menu and click on it.
- Scroll down the list to find Spotify.
- Check the boxes for the networks you want Spotify to be able to access. You will likely find that “Public” is already checked. You’ll want to check “Domain” and/or “Home/Work (Private)” depending on which type(s) of network you connect to.
In a few moments, your device should show up in the “Devices” tab and you will be able to sync all of your playlists!