This file contains hidden or 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
| <# | |
| Taken from Julian Kay's Blog | |
| http://juliankay.com/development/querying-tfs-with-tfpt-exe-and-powershell/ | |
| #> | |
| Function Get-WorkItemHours | |
| { | |
| $month = (Get-Date).ToString("MMMM") |
This file contains hidden or 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
| <# | |
| Taken from Julian Kay's Blog: | |
| http://juliankay.com/development/querying-tfs-with-tfpt-exe-and-powershell/ | |
| #> | |
| $TFSSERVER = "hq-tfs08-01.branded3.net" |
This file contains hidden or 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
| <html> | |
| <!-- GLK: | |
| This is taken directly from | |
| https://github.com/bdargan/techradar | |
| --> | |
| <head id="headElement"> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script> |
This file contains hidden or 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
| window.tfs_toggle = null; | |
| (function(){ | |
| alert('initing toggle'); | |
| var expanded = false; | |
| // Support TFS Web Portal Work Item query expand/collapse all functionality | |
| var toggle = function(){ | |
| var collapse = function(){ | |
| $('.tswa-qrgminus').each(function(){ $(this).trigger("click"); }); | |
| }, | |
| expand = function(){ |
This file contains hidden or 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
| /* GIVEN: <div id='foo' /> such that out := $('#foo') | |
| */ | |
| /* Enclosed code block (anonymous namespace) for execution */ | |
| (function(){ | |
| /* Wait times for window.setTimeout in seconds */ | |
| var times = [0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.5,2.0]; | |
| /* This is so that we have a stopping point to avoid infinite recursion |
This file contains hidden or 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
| <div class="This-is-just-an-enclosure"> | |
| <div id='mathOut'> </div> | |
| <div><input type='text' id='testasdf' /><input type='button' id='testbutton' value='Tell Me The Answer' /></div> | |
| <div id="result"> </div> | |
| <script type="text/javascript"> | |
| (function(){ | |
| var $ = jQuery; | |
| var upperLimit = 13, lowerLimit = 1; | |
| var math$ = $('#mathOut'); |
This file contains hidden or 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(){ // self-executing function | |
| var id; | |
| $('selectSomethingHere').hover(function () { | |
| id = window.setTimeout("doTheSnapShotCrap();", 10000); | |
| }, function () { | |
| window.clearTimeout(id); | |
| }); | |
| })(); |
This file contains hidden or 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
| <h1>This page is meant to redirect you to Gustavo Keener's new site,</h1> | |
| <h1 style="padding-left: 25%;"><a href="http://www.keenerweb.com">KeenerWeb™</a></h1> | |
| <h1>in <span id="number">8</span> seconds<span id="wait">...</span></h1> | |
| <script type="text/javascript"> | |
| var span = document.getElementById('wait'), number = document.getElementById('number'); | |
| var waitStates = ['....', '..', '...'], first = true; | |
| var count = 0, intervalSeconds = 0.5, maxSeconds = 8, intervalsPerSecond = (1 / intervalSeconds), maxCount = (maxSeconds * intervalsPerSecond); | |
| var interval = window.setInterval(function () { | |
| if (count >= maxCount) { | |
| window.clearInterval(interval); |
NewerOlder