Pete Hecht's resume on Google Docs
Submitted by pete on Tue, 2009-05-26 08:17My resume is on google docs. If you need a word or other format, please contact me.
Getting newlines
Submitted by pete on Wed, 2009-04-22 09:41defaults domains | sed 's/, /\'$'\n/g'
Will change all ", " to a real new line. Notice the use of a single quote.
Microsoft Office 2008 options
Submitted by pete on Mon, 2009-04-20 12:06While open office is the way to go, or neooffice for the Mac. Microsoft 2008 Office users should look at: http://www.maclife.com/article/tip_day/office_2008_filecompatibility_tro...
That might save your form data.
TFS Reportin links
Submitted by pete on Mon, 2009-04-20 04:39http://msdn.microsoft.com/en-us/library/ms162837.aspx
How to: Create an Aggregate Report for Team System using Report Designer and the Analysis Services Database
How to: Grant Access to the Databases of the Data Warehouse for Team System
How to: Create a Report Server Project for Team System
Managing Reports in Team Explorer
How to: Set Team Foundation Server Project Lead Permissions
Choosing the Source of Data in a Report for Team System
Choosing a Tool to Create Reports for Team System
Developer Support Team Foundation Server Blog
Submitted by pete on Tue, 2009-04-07 05:31Developer Support Team Foundation Server http://blogs.msdn.com/dstfs/ has good inks. For example: Testing Email flow from your Team Foundation Server.
Checking disk space
Submitted by pete on Mon, 2009-03-30 07:26Here is a quick and dirty diskspace script:
#!/bin/bash
ALERT=70
#ssh 10.61.37.176 df -H > /tmp/df.out
df -Hl > /tmp/df.out
cat /tmp/df.out | grep -vE 'Filesystem|tmpfs|cdrom' \
| awk '{ print $5 " " $1 " " $6 }' | \
while read output ;
do
usep=$(echo $output | awk '{ print $1}' | cut -d'%' -f1 )
partition=$(echo $output | awk '{ print $3 }' )
if [ $usep -ge $ALERT ]
then
printf "Running out of space on partition %s \t %g \t %s %s\n" \
$partition $usep $(hostname) $(date)
fi
done
Notice the hard coded ALERT level as well as the commented out ssh command.
It needs work, but should show you how little space one has on all mounted drives.
A TF Command file example
Submitted by pete on Thu, 2009-03-26 18:44Put the following into a script.tfc file called for example.
cd %3
rem Change the current directory from whatever it is to the project folder.
workspace /new /s:TeamServer2 /user:UNO\juan %1BuildWS%2
rem Create a new workspace on the TeamServer2 server as user UNO\juan.
rem Assign a name to the workspace that concatenates the first command line argument (%1) + "BuildWS" + the second command line argument (%2)
get %1 /recursive
rem retrieve the latest version of the first command line argument.
branch %1 %1V%2
checkin /comment:”This is build v%2 of %1”
label %1Build%2 /category:builds /comment:”%1 Build %2” %1V%2
workspace /delete %1BuildWorkspace%2
Keeping labels when the retention policy deletes builds.
Submitted by pete on Thu, 2009-03-26 18:29If you setup your TFS build server to delete old builds you might not know TFS deletes the label for that build as well. If you one of those old builds you want to have the label you used to build it. Many ways to deal with this issue. Changing the AT web.config is how to change it for all builds. The builds will be deleted, but the labels will remain.
From: http://social.msdn.microsoft.com/forums/en-US/tfsbuild/thread/a08bf751-4...
"The build admin can add a flag to the Web.config file on the Application Tier to specify that labels should not be deleted. Here is an example of what that line in the web.config file would look like:
"
<add key="PreserveLabelsOnBuildDeletion" value="True"/>
Large team considerations
Submitted by phecht on Wed, 2009-03-25 08:51http://tfsguide.codeplex.com/Wiki/View.aspx?title=Chapter%2010%20-%20Lar... for large teams using tfs.
Here is a piece on # of projects and some sql queries. http://msdn.microsoft.com/en-us/library/aa974183(VS.80).aspx
Building with tfs 2008
Submitted by phecht on Wed, 2009-03-25 08:10Here is an interesting add on: http://sdctasks.codeplex.com/ It has many tasks and targets.
I found the "sdctasks" from this site: http://tfsbuild.com/MainPage.ashx
http://blogs.msdn.com/msbuild/archive/2007/04/26/building-projects-in-pa... shows how to build using multiple cores. Also, shows some ability to keep projects from building at the same time.
Finally, http://wix.sourceforge.net/votive.html seems to offer Wix ability as well.
