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 | |
@setlocal ENABLEEXTENSIONS | |
@REM Author: Tim Cartwright | |
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP" | |
@rem https://msdn.microsoft.com/en-us/library/hh925568%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396#net_d | |
@echo. |
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
#*================================================================================================ | |
#* Purpose: Sets the full build number ([major].[minor].[build].[revision]) in a consistent global way | |
#* for all builds. We purposefully only use TeamCity to generate the incrementing [build] number. | |
#* Set | |
#*================================================================================================ | |
Task Set-BuildNumber { | |
$major = "1" | |
$minor = "0" | |
#Get buildCounter passed in from TeamCity, if not use zero |
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
if (document.getElementById('countdownTimer')) { | |
pad = function(n, len) { // leading 0's | |
var s = n.toString(); | |
return (new Array( (len - s.length + 1) ).join('0')) + s; | |
}; | |
var timerRunning = setInterval( | |
function countDown() { | |
var now = new Date(); | |
if ( (now.getDay() >= 1) && (now.getDay() <= 5) ) { // Monday to Friday only |
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
/* | |
* Implements base64 decode and encode in browser that | |
* it hasn't support of window.btoa and window.atob | |
* methods. | |
* Based in Nick Galbreath | |
* http://code.google.com/p/stringencoders/source/browse/#svn/ | |
* and Carlo Zottmann jQuery port | |
* http://github.com/carlo/jquery-base64 | |
* Adapted by SeViR in DIGIO | |
*/ |
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
/* Reto Egeter, fullparam.wordpress.com */ | |
DECLARE @SearchStrTableName nvarchar(255), @SearchStrColumnName nvarchar(255), @SearchStrColumnValue nvarchar(255), @SearchStrInXML bit, @FullRowResult bit, @FullRowResultRows int | |
SET @SearchStrColumnValue = '%searchthis%' /* use LIKE syntax */ | |
SET @FullRowResult = 1 | |
SET @FullRowResultRows = 3 | |
SET @SearchStrTableName = NULL /* NULL for all tables, uses LIKE syntax */ | |
SET @SearchStrColumnName = NULL /* NULL for all columns, uses LIKE syntax */ | |
SET @SearchStrInXML = 0 /* Searching XML data may be slow */ |
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
/** | |
* hacky plugin to allow removal of the jquery tools tooltip objects. | |
* | |
* Doesn't pay any attention to the special event configuration, and will blindly unbind all | |
* mouse[enter|leave] listeners from the trigger element. | |
*/ | |
(function($){ | |
var tooltip = $.fn.tooltip, | |
slice = Array.prototype.slice; |