Archive | Programming RSS feed for this section

Getting Only Changed Files from Subversion (SVN)

Ever been frustrated trying to get only the changed files from Subversion (SVN) so you can copy/deploy those files and not the entire branch to another environment? Drove me crazy, too.  So I wrote a bash script to get a list of files from a specific svn changeset, and copy those files out of my […]

Rate this:

Continue reading

The Problem with Super-hero Developers

Throughout my career I have worked with some extremely talented and intelligent developers.  I have also, unfortunately, worked with some boneheaded developers who were barely able to create “Hello World” applications. I have worked with all kinds of developers.  There are pure developers who have no skills at analysis.  There are analysts who tinker enough to be considered programmers.  There […]

Rate this:

Continue reading

Password Validation Class Using RegEx in C-Sharp

I have a client that recently asked me to add password validation on a web application.  Their existing application had no password validation and users could enter any password into the system with no regards to how secure it was.  I was asked to implement the following password constraints: Passwords must be at least 8 […]

Rate this:

Continue reading

Windows 7 “Command Prompt Here”

Before Windows 7, I had to muck with the registry to get right-click context in Windows Explorer to open a DOS prompt in the folder I was viewing.  Windows 7 does it for free. Simple hold SHIFT and RIGHT CLICK within Windows Explorer to view the option to open a command prompt in that folder.

Rate this:

Continue reading
Running SQL Server Management Studio Aliased as a Different User

Running SQL Server Management Studio Aliased as a Different User

I connect to a client VPN often to work on their servers, their code, and their databases. My development machine is not a part of their domain, although I do have a domain account on their VPN. My problem; when I connect SQL Server Management Studio to a client database on their domain I cannot […]

Rate this:

Continue reading
Anonymous is attacking Orlando

A View of Anonymous and #OpOrlando

(Quite a few of you have come to me for explanation of Anonymous and OpOrlando, so this is for you.) If you’re unaware, Orlando is currently under cyber-attack by the digital group known as Anonymous.  The reason they are attacking Orlando is in protest of the recent arrests of members of a group called Food […]

Rate this:

Continue reading

Searching Contents of Files Via MS-DOS

I log into a lot of client production servers and do not have the luxury of installing my favorite GUI tools, such as UltraEdit, which (among other things) easily allows me to search within files.  On these servers I am limited to what is already installed.  Just today I was forced to search an entire […]

Rate this:

Continue reading

Removing all .svn folders from a folder via Windows batch

I needed to delete all .svn subversion folders and the files within them and did not want to take the time to do it manually. This little command prompt script will recurse a folder and delete all folders names “.svn” and all the files within. for /d /r . %d in (.svn) do @if exist […]

Rate this:

Continue reading
Directory listing (click to enlarge)

Executing multiple SQL scripts against a MySQL database from a DOS batch file

[updated 2011-06-10 because a friend  pointed out a flaw in my assumption that I needed to enter the password every time – see bottom for updates] I am architecting a project that is a C# front end, hitting SOAP web services, that communicate with a C# core, and has a MySQL database backend (accessed using a […]

Rate this:

Continue reading