How to open files from cygwin into Visual Studio

Had the desire to open files from the command line (a cygwin terminal, mintty, to be specific) into my existing session of Visual Studio 2008. Here is what you can do.

Adjust paths as necessary. Put this in your bash profile:

export PATH=$PATH:/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ Visual\ Studio\ 9.0/Common7/IDE/
alias devedit="devenv \$1 /edit"

Now, this gives you two [...]

How to open a window from terminal in cygwin on vista

So I got a new Dell through work with Vista installed. Naturally one of the first things I did was install cygwin so I can use mintty. This gives me a decent terminal on widnows. If you don’t know what those are, I encourage you to give them a shot.

Anyway, having used [...]

Protecting Apache Served Directories

Surprised I haven’t written this up before now. It is very simple to do.

This assumes you are using apache on a unix based system. This should work on any OS running apache though.

In the directory you want to restrict create a file named .htaccess that contains the following:

AuthType Basic
AuthName "RESTRICTED ACCESS"
AuthUserFile /home3/speedtow/.htpasswd
Require valid-user

Note: [...]

svn: Get Changes Since Revision x

Example, getting all changes since r260, followed by all changes except deleted files.

svn log -v -r 260:HEAD | grep ‘^[ ]\{3\}’
svn log -v -r 260:HEAD | grep ‘^[ ]\{3\}’ | grep -v ‘^ D’ | cut -f3- -d/ | perl -ne ‘if(/(.*)\/.*$/){print $1."\n";}’ | sort | uniq

command line reporting

Here are some things I have done in the past to pull data out of log files. I find myself referring to this list from time to time to remember how I did things in the past.

Real Queries That May Need To Be Repeated
 
ATT YIH upgrades in the month of 200709
$ listysftclog 200709* | [...]