I develop apps almost exclusively for IE, but I prefer Firefox as my own, personal web browser, because of the add-ons:
Thursday, September 27, 2007
My Favorite Tools
Who knows what will happen with the upcoming sale of the company, so i'll bookmark my favorite tools (in case I need to download them again):
- AstroGrep - for text searching files
- AutoRuns - for cleaning up the startup (and you've gotta love the name)
- Eclipse - just in case I need to do any Java development again
- Fiddler - a great http debugging aid
- Foxit Reader - a great, incredibly small pdf reader
- LDP - this has helped me immensely with my AD development
- Notepad++ - I've just started using this, but it is my new favorite text editor
- Paint.Net - This is the perfect graphics program for my meager needs
- Process Explorer - another great tool from sysinternals
- PureText - a helpful little app to allow me to easily paste only text
- TCPView - allows me to watch ports
- Window's Powershell - this is a new one for me that I like a lot
- Zoomit - not a lot of practical need for this, but it is a neat toy
- 7Zip - my open-source winzip replacement
- Subversion - what a great source code repository!
- TortoiseSVN - one of the main reasons why I love Subversion so much
- Display Fusion - For greater desktop control of multiple monitor setups
- Vs 2005 Cmd Prompt Here - Right click a folder in window's explorer, and you can open a vs 2005 cmd prompt at that folder.
- Clipx - A nice clipboard extender
Wednesday, September 26, 2007
Not all code - NBA
Shawn Marion reminds me today why I'm finding it increasingly harder to stomach the NBA:
"I'll do what I've got to do," he said. "I'm a professional. I'm not bitter. I love the fans, but I've got to take care of me."
Setting up svnsync
Now that I have my svnserve services running, it's time to setup svnsync. Here's the steps I followed:
- Begin with a blank, copy repository
- Created a user to be used for the synch process (svnsync)
- User has read permissions on original repository
- User has r/w on the copy repository
- I had to create a pre-revprop-change.bat file. This was a bit of a pain, as I've written very few DOS scripts, and the templates provided were unix shell scripts. I finally sludged my way through it and ended up with the following, incredibly basic implementation:
IF %3==svnsync exit 0
ELSE (
echo "Only the svnsync user can change revprops"
exit 1
)
- I then needed to initialize the sync, with the following command:
- svnsync init --username svnsync svn://copyRepository:port svn://originalRepository:port
- Finally, I executed a sync
- svnsync sync svn://copyRepository:port
Running two separate svnserve instances
I have subversion installations and repositories at two separate remote locations. I have been tasked with keeping each repository in synch with a master repository at a central location. To do this, I have setup two separate subversion repositories on the central server. I've setup two services on the central server that run svnserve, each is running on it's own non-standard port, each is attached to one of the repositories.
Deleting Services
Of course I didn't get my service setup correctly on the first try, so I had to delete it. The command is as follows:
sc delete [servicename]
In this case for me, servicename = svnserve
sc delete [servicename]
In this case for me, servicename = svnserve
Subversion Setup Notes
- Download the and install the latest Subversion release from here:
- http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
- Create a repository (from the command line):
- svnadmin create C:\desired\path\to\repository\
- Setup the repository configuation file (C:\desired\path\to\repository\conf\svnserve.conf), by adding something similar to:
- [general]
anon-access=read
auth-access=write
password-db=passwd - Add users and passwords to the "C:\desired\path\to\repository\conf\passwd" file
- Setup user permissions on the repository in the "C:\desired\path\to\repository\conf\authz" file
- Setup a svnserve as a service (from the command line):
- sc create svnserve binpath= "C:\Subversion Installation Directory\svnserve.exe --service --root C:\desired\path\to\repository\" displayname= "Subversion" depend= tcpip start= auto
Connect via Tortoise, and you are off and running. Now I need to do some research on AD integration for authentication.
Subscribe to:
Posts (Atom)