General

Palm

WiX

XML

XSL

Here's some code to copy XML using XSLT

<?xml version="1.0" encoding="utf-8"?>
<!-- This is just a generic XSLT script to copy all elements. -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:template match="/ | @* | node()">
    <xsl:copy>
      <xsl:apply-templates select="@* | node()" />
    </xsl:copy>
  </xsl:template>
</xsl:stylesheet>

Visual Studio

Guid Macro

Here is a macro that will generate and insert a new GUID into the current text insertion point in Visual Studio:

Imports EnvDTE
Imports System.Diagnostics
Public Module General
  Sub InsertGuid()
    Dim txtSelection As TextSelection = DTE.ActiveDocument.Selection
    Dim newGuid As System.Guid
    newGuid = System.Guid.NewGuid()
    txtSelection.Text = newGuid.ToString.ToUpper
  End Sub
End Module

Adding WiX Intellisense to VS.Net

http://weblogs.asp.net/sweinstein/archive/2004/08/31/223461.aspx

Cygwin

How can I get bash filename completion to be case insensitive?

Add the following to your ~/.bashrc file:

        shopt -s nocaseglob

and add the following to your ~/.inputrc file:

        set completion-ignore-case on

Hi,

Here are two approaches to get rid of the annoying “Terminate batch job (Y/N)” when you close a cygwin bash window:

From: "Alex Malinovich" <baggend at howlermonkey dot net>

  • To: "'Birl'" <sbirl at astro dot ocis dot temple dot edu>, <cygwin at cygwin dot com>
  • Date: Thu, 6 Dec 2001 17:01:24 -0600
  • Subject: RE: Terminate batch job (Y/N)?

I'm surprised that no one has responded with the "quick" answer yet. We had a short discussion about this a few months ago, and there are 2 ways

to get around it:

A) Instead of running cygwin.bat, just create a shortcut to run "bash

--login -i"

B) Modify cygwin.bat, and in front of the "bash --login -i" line add

"start". (i.e. start bash --login -i)

-Alex 

microsof.public.dotnet*

Google