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
'use strict'; | |
(function(){ | |
require(["jquery"],function($) { | |
var ColorUtil = { | |
"getBackgroundColorCode":function(element){ | |
var colorCode = $(element).css("background-color"); | |
console.log("background-color = "+ colorCode); | |
return colorCode; |
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 jsonDecode(string) { | |
try { | |
return JSON.parse(string); | |
} catch (e) { | |
try{ | |
return JSON.decode(string); | |
}catch(e2){ | |
return {}; | |
} | |
} |
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
// ==UserScript== | |
// @name Kanban improve (common) | |
// @namespace http://tfs2012.company.net/ | |
// @version 0.1 | |
// @description Does the usability improvements over standard SharePoint Kanban board | |
// @match http://tfs2012.company.net:8080/tfs/Global/Shop/_backlogs/board | |
// @copyright 2014+ | |
// ==/UserScript==a | |
(function () { |
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
#!/bin/bash | |
destination_dir=~/Documents/training/garminData/ | |
#device=$(ls ~/Library/Application\ Support/Garmin/Devices/) | |
for device in $(ls ~/Library/Application\ Support/Garmin/Devices/) | |
do | |
echo "Copy history files for Device $device" | |
cp ~/Library/Application\ Support/Garmin/Devices/$device/History/*.TCX $destination_dir | |
done |