Posts

Showing posts from November, 2003

SSH and Samba

One of my tasks was to set up a Campaign office in downtown Racine, to house our Development Office. Their primary role was to raise money for the new Racine Art Museum. I set up SBC DSL, small office package for the connection to the web. Parked a Linux firewall/file-server/proxy server in front of the workstations to protect them from the baddies ;-). It was an old 233mhz machine I picked up for change, and worked like a champ. I bullet-proofed it with scripts and tutorials from Dranch and his work with TrinityOS. Great job David! I also use Tripwire , a great project. I needed to provide some sort of method to provide these users access to our file server at our main office, where we were being supplied with SBS DSL, but this time the service came with a 5 port router, and all external IP's were NAT'd to internal addresses in the router. I wanted to use FreeS/WAN , but I was having too much trouble punching a hole through the router, so I used SSH and Samba. I setup a co

Cool VBA Scripting

We use My Survey MySQL to record visitors to the museum. Unfortunately, My Survey records to the exact second each entry is recorded. We also chose to record zip codes for each visitor. That posed an interesting problem, since My Survey simply sorts the data as input, giving us no way to display by month, or sort the zip codes by state, unless mucho hacking took place, and I'm no perl dude... Since our Development Director along with the Marketing Commitee needed a more resonable way to view this, I decided to use Excel and VBA. My Survey allows the user to export a csv file, so the following code works like a champ in a code module for Excel: Option Explicit Dim intRow As Integer, sCol As String, rRange As String Dim szFilter As String Dim szTitle As String Dim szFile As String, intReturn As Integer, intCount As Integer, blnFilled As Boolean Sub SelectCSV() szFilter = "Survey Files (*.csv),*.csv" szTitle = "Please Select a survey File&