XCode and Version Control Folder
Submitted by albert on Thu, 2008-07-17 10:05If you do this:
defaults write com.apple.InterfaceBuilder \
VersionControlDirectory "(Build, CVS, .svn)"
it will let XCode know to ignore these folders from a SCM perspective.
How to expand a cvs module and list all folders.
Submitted by luke on Wed, 2008-07-16 23:18cvs ls ${modulelist} 2> ${modulelist}.txt
cat ${modulelist}.txt | awk 'BEGIN { FS = ": " } ; { print $2 }'
Use Webmin to manage your computer or server
Submitted by albert on Mon, 2008-07-14 19:48I have used Webmin before as a better replacement to cPanel and the other web hosting control panels. Not just that it is free, but it's ease of use.
So I decided to install it on my mini-mac today. I have learned so much about my own system in 20 minutes! More than in the last 8 months I have owned the mini.
I would strongly recommend this administration front end to any one who has a computer. It works on almost all of them it seems. Requires only perl be installed.
Getting $PATH line by line
Submitted by luke on Sat, 2008-07-12 13:16echo $PATH | tr ':' '\n' will list the $PATH nicely.
So will this:
echo $PATH | sed "s/:/\\
> /g"
That is hitting return and getting the ">" that is not typed in.
Branching work in progress
Submitted by luke on Wed, 2008-07-09 23:20Perforce Knowledge Base: Branching work in progress shows how you branch work in progress.
Comments are mine. The commands are from Perforce with no known edits.
When I see strings hard coded, I want to abstract them into variables.
Maybe,
VCFOLDER=//depot
PROJECT=/project
LABELTAG=home
STREAMIN= < could be main/qa/QA a defined branch point.
STREAMOUT=work-project
LOCALIN=c:\app-src\project
LOCALOUT=c:\app-src\work-project
So this
p4 integ -v //depot/project/...@home //depot/work-project/...
xcopy/s/i $LOCALIN $LOCALOUT c:\app-src\work-project
would be
p4 integ -v $VCFOLDER$PROJECT...@$LABELTAG $VCFOLDER$STREAMOUT...
xcopy/s/i c:\app-src\project c:\app-src\work-project
REM Notice the use of the @home.
REM work-project is a new VCS folder.
p4 integ -v //depot/project/...@home //depot/work-project/...
Screen capture for the Mac.
Submitted by luke on Tue, 2008-07-08 21:27http://www.jingproject.com/ is not a product but a project. It seems much like the windows only "snag it". Jing Project is free until it becomes a real product.
This is another one: http://www.ambrosiasw.com/utilities/snapzprox/ for $69
http://www.shinywhitebox.com/home/home.html for $20
TFS Other Links
Submitted by luke on Sun, 2008-07-06 00:02http://team-foundation-server.blogspot.com came from a presentation I saw here: http://vstsmn.net/files/folders/presentationfolder/entry67.aspx You can see a java shop convert to TFS.
Also http://www.woodwardweb.com/tfs2008/ is a good source.
An XSLT file for iTunes?
Submitted by luke on Fri, 2008-06-27 10:39<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml"
version="1.0"
encoding="iso-8859-1"
indent="yes" />
<xsl:template match="/">
<xsl:element name="library">
<xsl:attribute name="value">
<xsl:value-of select="'My iTunes Library'" />
</xsl:attribute>
<xsl:apply-templates select="plist/dict/dict/dict"/>
</xsl:element>
</xsl:template>
<xsl:template match="plist/dict/dict/dict">
<xsl:element name="track">
<xsl:attribute name="value">
<xsl:value-of select="key[.='Name']/following-sibling::node()[1]"/>
</xsl:attribute>
<xsl:call-template name="artist" />
<xsl:call-template name="album" />
</xsl:element>
</xsl:template>
<xsl:template name="artist">
Nice ISP in Box page
Submitted by albert on Sat, 2008-06-14 11:43Updated! http://diymacserver.com/ is the updated site.
While we all want to have straight forward instructions on getting an Apache, MySQL and PHP set up on your mac, even a mini. It has been very valuable to me. Many recipes out there, this one hasn't left me re-configuring over and over again.
TFS-Cost Benefit Analysis
Submitted by albert on Tue, 2008-06-10 01:09http://www.hanselman.com/blog/VisualStudioTeamSystemAndPricingMyBriefHis...
Discusses the cost not just in dollars but in terms of team pain. Most places do have less than perfect processes for developing and testing code. Does that mean TFS is the only game in town?
Nothing wrong with using Bugzilla or Mantis for Project Management. Even Jira is cheaper.
Also, CVS and Sub version are not perfect but tested in house.
Now I am up at 2 AM looking at posts about TFS costing $1,500 per seat some how.
