How To Move An svn Repository

On the source system, run: svnadmin dump /path/to/repository > repository-name.dmp Copy the dump file to the new server.  There, create a new repository to house the dumped information: cd /path/to/new/repository svnadmin create repository-name svnadmin load repository-name < repository-name.dmp Now, if you have a project that you checked out from the old location, that you want [...]

Microsoft has removed the 10 half-open TCP connections limit

I received the following from my friend, ‘Andrew from Vancouver’.  Pretty interesting… ***** I just noted that in the Windows Server 2008 and Vista SP2 “What’s significant” document, that Microsoft has removed the 10 half-open TCP connections limit that they introduced to impede worms and bots on Windows XP SP2. http://technet.microsoft.com/en-us/library/dd335036.aspx “SP2 removes the limit [...]

Search and Replace on Multiple Files

Recently one of my hosting providers went and changed the path to my home directory without telling me.  So, I had to go through a gajillion files and modify a path to reflect the changes.  I thought I’d go ahead and share how I did that for anyone out there that has a similar need. [...]

Unix Utilities on Windows

Feeling crippled on Windows by not having access to such commands as grep, awk, tail, less … ?  Go here to get a copy of these utilities ported to the Win32 platform.  They’ve made my life much easier when I’m trying to do some quick command-line trickery on a Windows box.

Adobe AIR – applicationStorageDirectory – where is it?

When progamming an AIR application, you may want to make use of the applicationStorageDirectory available via the flash.filesystem package to store temporary files/folders.  You can find where your system is storing these files by doing something like the following: var f:File = File.applicationStorageDirectory.resolvePath(“Test.txt”); trace(f.nativePath + ‘ is where my file is stored’);

Converting an x509 SSL certificate from a Linux node into one usable for IIS on Windows

I don’t know how many other people out there might ever need to do something like this. Say you have a Linux web server using an SSL certificate, and you need to put that same certificate onto a Windows server for use with IIS. Here is how you would accomplish it. You’ll need the openssl [...]

Can Your Computer Run This Video Game?

About a year ago I bought a video game, Supreme Commander, to play on my PC.  I don’t buy new video games very often, which probably explains why I still think Pong totally rocks.  So needless to say, I was excited to play my new game.   My computer was relatively new and the game had [...]

Getting a Substring Out of Batch

One of my friends, Andrew from Vancouver, sent me this extremely useful tip about how to grab a sub-string via BATCH. <snip> here’s a CMD shell tip that works in W2K, WXP, and W2K3. There is a BASIC MIDSTR function equivalent in batch files… use this syntax as a modifer: ~:start,end e.g. set foo=\\servername @echo [...]

ssl certificate creation HowTo

Securing your web site or your MTA with SSL encryption (i.e. HTTPS traffic) can be a daunting task if you’ve never worked with it before. The following steps assume that you’ll be working from a Linux server running Apache web server and/or postfix. To understand how the whole SSL encryption process works, check out this [...]

How the TCP Windows change in Vista and Windows 2008

If you want a better understanding of how TCP Windows work and how they interact with round trip time to contribute to delays that you may experience with network communications, I recommend reading this newsletter by Mark Minasi, specifically the ‘Vista and 2008′s New TCP Windows’ section.

Next Page »