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
| # Install NVM from https://github.com/nvm-windows/nvm | |
| winget install --id Microsoft.PowerShell --source winget | |
| # Restart terminal | |
| nvm install lts | |
| winget install -e --id DEVCOM.JetBrainsMonoNerdFont | |
| winget install --id Starship.Starship | |
| Add-Content -Path $PROFILE -Value "$([Environment]::NewLine)Invoke-Expression (&starship init powershell)" |
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
| @echo off | |
| SET CMDER_ROOT=C:\Tools\cmder | |
| "%CMDER_ROOT%\vendor\init.bat" |
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
| 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 |
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
| @echo off | |
| echo. | |
| echo ##################################### | |
| echo ## Development Certificate Factory ## | |
| echo ## ## | |
| echo ## by azzlack ## | |
| echo ##################################### | |
| echo. | |
| echo Loading paths... |
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
| /// <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 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
| 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 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
| 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 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
| var colors = [ | |
| "8dd3c7", | |
| "ffffb3", | |
| "bebada", | |
| "fb8072", | |
| "80b1d3", | |
| "fdb462", | |
| "b3de69", | |
| "fccde5", | |
| "d9d9d9", |
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
| namespace Common.Logging.Log4Net2 | |
| { | |
| using System; | |
| using System.Diagnostics; | |
| using Common.Logging; | |
| using Common.Logging.Factory; | |
| using log4net.Core; | |
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
| // Need to use cookiehandler to get cookie since it's chunked. See System.IdentityModel.Services.ChunkedCookieHandler | |
| var cookie = FederatedAuthentication.SessionAuthenticationModule.CookieHandler.Read(); |
NewerOlder