Powershell Detection Method Uninstaller

There is no detection method logic to check that a file doesn’t exist for a required Application. You have two options to accomplish this: 1. You run a script that creates a file after the uninstall if complete. Then use the file as a detection method. 2. Run a...

Most Recently Edited File

Making note of this because I use it so often. ┬áIt is an easy way to find where configuration files are after making a change in a GUI. Lists the last 10 recently edited files: find . -type f -printf ‘%T@ %p\n’ | sort -n | tail -10

Samba shares with PowerBroker Identity Services

Install PowerBroker Identity Services from their website. I personally only install the the pbis-open.deb and pbis-open_upgrade.deb. Prerequisites: sudo apt-get install samba samba-common You are going to get an error about PAM conflicts with likewise. Just ignore and...

Gimp 2.8 in Ubuntu 12.04

I’m a big fan of the newest feature in GIMP called Single Window Mode. You have to add this PPA to get Gimp 2.8 in Ubuntu 12.04. sudo su add-apt-repository ppa:otto-kesselgulasch/gimp -y && apt-get update && apt-get install gimp -y Open GIMP,...

Clone Linux Hard Drive

So the other day I wanted to swap out the hard drives in my laptop. I had a sata hard drive that had slightly better performance and I wanted to trade to use the slower hard drive in another project. I figured it would be an easy fix since I pretty much have a good...

Ubuntu Desktop

This is basically for my own documentation as there are hundreds of howto’s already for Ubuntu. I always do a basic install. After that I start customizing… installing many of my basic programs. I always run this immediately after install… Update...

Virus Cleanup

Ran into a virus that changed all the windows attributes on all the files/folders at the root of a network share. Every file and folder had the Read Only, System, and Hidden attribute set. I tried using “attrib -r -h -s /s /d” but for some reason it...

Delete Dated Subfolders

I have a backup scheme that creates a folder structure such as this… X:\BACKUP X:\BACKUP\SERVER1 X:\BACKUP\SERVER1\BACKUP-10-27-2012 X:\BACKUP\SERVER1\BACKUP-10-28-2012 X:\BACKUP\SERVER1\BACKUP-10-29-2012 X:\BACKUP\SERVER1\BACKUP-10-30-2012 X:\BACKUP\SERVER2...