This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(function() { | |
var tagIndex = 0; | |
$('span[tag]') | |
.each(function() { | |
var target = $(this); | |
var tag = target.attr('tag'); | |
target.data( | |
'template', | |
$.templates('tag' + tagIndex, '${' + tag + '}')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET /mahtweets/graph HTTP/1.1 | |
User-Agent: Fiddler | |
Host: hg01.codeplex.com | |
HTTP/1.1 502 Bad Gateway | |
Content-Type: text/html | |
Server: Microsoft-IIS/7.5 | |
X-Powered-By: ASP.NET | |
Date: Tue, 03 Aug 2010 11:58:33 GMT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
one-time step: | |
notepad %userprofile%\.hgrc | |
type in: | |
[ui] | |
username = Steve Godbold <[email protected]> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### TFS 2008 can't copy a file without breaking the history, which just baffles me ### | |
### This is how Hg does it: #### | |
D:\temp>mkdir HgCopyTest | |
D:\temp>cd HgCopyTest | |
D:\temp\HgCopyTest>hg init | |
D:\temp\HgCopyTest>echo Hello there > A.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET NOCOUNT ON | |
CREATE TABLE Foo | |
( | |
Id int primary key, | |
SortIndex int unique | |
) | |
GO |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
REM If PowerShell 2 is not installed, this script will automatically download and install it. | |
REM Only works on XP SP3 with .NET 3.5. Only for dev boxes, not designed for servers. | |
REM Based on http://blog.codeassassin.com/2009/12/10/no-web-browser-need-powershell/ | |
ver | find "XP" > nul | |
if %ERRORLEVEL% neq 0 goto not_xp | |
ver | find "5.1.2600" > nul |