Generate a list of the servers in your Active Directory (from cmd line)

Want to quickly generate a list of all of the servers located in your Active Directory? Get adfind.exe from www.joeware.net, and then from a cmd prompt, do: adfind -config -f “objectclass=server” -nodn name -csv -csvnoq > serverList.ini This will create a list of all servers in your environment, and put them in a file called [...]

Modify your WordPress theme without impacting production

As a developer, I like to have a sandbox environment where I can make changes that only I can see, and once I’ve verified that everything is working correctly, then roll them into production. This morning I wanted to make changes to the appearance of my WordPress theme’s main page (index.php), but I didn’t want [...]

Composing HTML for an Email

If you’ve ever had the unfortunate task of creating an HTML formatted Email, you’ve probably run into the fact that not every Email client is going to display it the way that you intended it. In order to get your entire readership to view it in some semblance of the original, you have to resort [...]

Debugging a memory dump and finding out what drivers are loaded in Windows

I recently decided I’d try my hand at debugging a windows memory dump. For the uninitiated, the following article by Dirk A. D. Smith, is geek gold!: http://www.networkworld.com/news/2005/041105-windows-crash.html. Contrary to what you might think (and depending on your OS-affinity, hold as a dear belief), most Windows crashes are caused by buggy third-party drivers, and not [...]

Passing an array reference in perl

In perl, when you declare a variable and assign it a value, and then later pass that variable into a function, the function is getting a copy of the variable, manipulating it, and then passing back some result. This may be fine for most operations, but if you are operating on a large array of [...]

« Previous Page