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
ALTER USER csg WITH LOGIN = csg |
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
git remote add github https://github.com/Company_Name/repository_name.git | |
git push github master |
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
//table2excel.js | |
; (function ($, window, document, undefined) { | |
var pluginName = "table2excel", | |
defaults = { | |
exclude: ".noExl", | |
name: "Table2Excel" | |
}; | |
// The actual plugin constructor | |
function Plugin(element, options) { |
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
var $overlay = $('<div class="ui-widget-overlay"></div>').hide().appendTo('body'); | |
// $overlay.width($(document).width()); | |
// $overlay.height($(document).height()); | |
$overlay.fadeIn(); | |
$(window).resize(function () { | |
$overlay.width($(document).width()); | |
$overlay.height($(document).height()); | |
}); |
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
CREATE FUNCTION [dbo].[udf_StripHTML](@HTMLText VARCHAR(MAX)) | |
RETURNS VARCHAR(MAX) | |
AS | |
BEGIN | |
DECLARE @Start INT | |
DECLARE @End INT | |
DECLARE @Length INT | |
SET @Start = CHARINDEX('<',@HTMLText) |
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
CREATE FUNCTION [dbo].[udf_HTMLDecode] (@text NVARCHAR(MAX)) | |
RETURNS NVARCHAR(MAX) AS | |
BEGIN | |
DECLARE @vcResult NVARCHAR(MAX) | |
DECLARE @vcCrLf NVARCHAR(2) | |
DECLARE @siPos SMALLINT | |
DECLARE @vcEncoded NVARCHAR(7) | |
DECLARE @siChar SMALLINT | |
SET @vcCrLF = CHAR(13) + CHAR(10) |
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
// http://msdn.microsoft.com/en-us/library/dd236908.aspx | |
// You must be a member of the Team Foundation Administrators security group or the Project Administrators security group for the team project collection. | |
cd %programfiles%\Microsoft Visual Studio 11.0\Common7\IDE | |
// On a 64-bit edition of Windows, replace %programfiles% with %programfiles(x86)%. | |
witadmin destroywi /collection:CollectionURL /id:id |
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
"tfsdeleteproject.exe" located in C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE | |
tfsdeleteproject.exe /force /collection:https://<YourCollection>.VisualStudio.com/DefaultCollection "My project name with spaces" |
NewerOlder