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
param($rootPath, $toolsPath, $package, $project) | |
if ($project) { | |
$projectDestinationPath = Split-Path $project.FullName -Parent | |
### Change single element value or attribute ### | |
$umbracoConfigFile = Join-Path $projectDestinationPath "Config\umbracoSettings.config" | |
$umbracoConfig = [XML](Get-Content $umbracoConfigFile) | |
# Set domain prefixes to true |
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 pageLoad() { | |
var element = document.getElementById("ctl32_ctl09"); | |
if (element) | |
{ | |
element.style.overflow = "visible"; | |
} | |
} |
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
// Need to use cookiehandler to get cookie since it's chunked. See System.IdentityModel.Services.ChunkedCookieHandler | |
var cookie = FederatedAuthentication.SessionAuthenticationModule.CookieHandler.Read(); |
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
namespace Common.Logging.Log4Net2 | |
{ | |
using System; | |
using System.Diagnostics; | |
using Common.Logging; | |
using Common.Logging.Factory; | |
using log4net.Core; | |
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 colors = [ | |
"8dd3c7", | |
"ffffb3", | |
"bebada", | |
"fb8072", | |
"80b1d3", | |
"fdb462", | |
"b3de69", | |
"fccde5", | |
"d9d9d9", |
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 getContrastColor = function(hexcolor) { | |
var hex = hexcolor.replace(/[^0-9a-f]/gi, ''); | |
var r = parseInt(hex.substr(0, 2), 16); | |
var g = parseInt(hex.substr(2, 2), 16); | |
var b = parseInt(hex.substr(4, 2), 16); | |
var yiq = ((r * 299) + (g * 587) + (b * 114)) / 1000; | |
return (yiq >= 128) ? 'black' : 'white'; | |
}; |
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 changeColorLuminosity = function (hexcolor, luminosity) { | |
var hex = hexcolor.replace(/[^0-9a-f]/gi, ''); | |
// convert to decimal and change luminosity | |
var rgb = "#", c, i; | |
for (i = 0; i < 3; i++) { | |
c = parseInt(hex.substr(i * 2, 2), 16); | |
c = Math.round(Math.min(Math.max(0, c + (c * luminosity)), 255)).toString(16); | |
rgb += ("00" + c).substr(c.length); | |
} |
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
/// <summary> | |
/// Basic Umbraco Contour Form Workflow. | |
/// </summary> | |
public class Workflow : WorkflowType | |
{ | |
/// <summary> | |
/// Initializes a new instance of the <see cref="Workflow"/> class. | |
/// </summary> | |
public Workflow() | |
{ |
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 | |
echo. | |
echo ##################################### | |
echo ## Development Certificate Factory ## | |
echo ## ## | |
echo ## by azzlack ## | |
echo ##################################### | |
echo. | |
echo Loading paths... |
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
import com.atlassian.jira.component.ComponentAccessor; | |
import com.atlassian.jira.issue.CustomFieldManager; | |
import com.atlassian.jira.issue.Issue; | |
import com.atlassian.jira.issue.fields.CustomField; | |
import com.atlassian.greenhopper.service.rapid.view.RapidViewService | |
import com.atlassian.greenhopper.service.sprint.SprintIssueService | |
import com.atlassian.greenhopper.service.sprint.SprintManager | |
import com.atlassian.greenhopper.service.sprint.SprintService | |
import org.apache.log4j.Logger | |
import org.apache.log4j.Level |
OlderNewer