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
#Requires -Version 3.0 | |
#Requires -Module AzureRM.Resources | |
#Requires -Module Azure.Storage | |
Param( | |
[string] $Environment = 'dev', | |
[string] $Location = 'uk', | |
[string] $Company = 'moocowco', | |
[string] $WebLogsStorageAccountKey = 'mystorageaccountkey' | |
) |
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
#https://docs.go.cd/current/installation/install/agent/windows.html | |
$goSetupExe = "go-agent-16.2.1-3027-setup.exe" | |
cd / | |
New-Item C:\go -ItemType Directory -ErrorAction SilentlyContinue | |
cd c:\go | |
if(Test-Path "c:\go\$goSetupExe"){ | |
write-host -ForegroundColor green "c:\go\$goSetupExe exists" |
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( | |
[string]$WEBSITE_NAME ='WEBSITE_NAME', | |
[string]$PUBLISH_PROFILE_URL ='https://xxx-staging.scm.azurewebsites.net:443', | |
[string]$PUBLISH_PROFILE_USERNAME='$yyy__staging', | |
[string]$PUBLISH_PROFILE_PASSWORD='zzz' | |
) | |
Write-Host -ForegroundColor Cyan "------------------------------------------------------" | |
Write-Host -ForegroundColor Cyan "WEBSITE_NAME: $WEBSITE_NAME" | |
Write-Host -ForegroundColor Cyan "PUBLISH_PROFILE_URL: $PUBLISH_PROFILE_URL" |
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
gocd.slack { | |
login = "..." | |
password = "..." | |
server-host = "https://go...com:8154/" | |
webhookUrl = "https://hooks.slack.com/services/aaa/bbb/ccc" | |
# optional fields | |
channel = "#slack-test" | |
slackDisplayName = "go-server" | |
slackUserIconURL = "https://www.thoughtworks.com/imgs/products/go-logo.png" |
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 Midnight Surfing - SVN | |
// @description Just my attempt at a svn dark style. | |
// @author Damo | |
// @run-at document-start | |
// @version 0.1 | |
// ==/UserScript== | |
(function() {var css = ""; | |
css += [ | |
"@namespace html url(http://www.w3.org/1999/xhtml);", |
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([String]$revision) | |
$log = & 'C:\Program Files (x86)\VisualSVN Server\bin\svn.exe' --username myUser --password foobarfoobar log https://svnRepo/svn/folder -r $revision | |
$revisionIndex = $log[1].IndexOf("|") | |
$revision = $log[1].Substring(0,$revisionIndex) | |
$committer = $log[1].Split("|")[1] | |
$logMsg = $log[3] |
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 | |
powershell "C:\Program` Files\Splunk\bin\scripts\SplunkSlackAlert.ps1 -ScriptName '%SPLUNK_ARG_0%' -NEvents '%SPLUNK_ARG_1%' -TriggerReason '%SPLUNK_ARG_5%' -BrowserUrl '%SPLUNK_ARG_6%' -ReportName '%SPLUNK_ARG_4%'" |
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
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> | |
<opml version="1.0"> | |
<head> | |
<title>PodcastAddict registration feeds</title> | |
<dateCreated>3 Nov 2015 8:53:35 pm</dateCreated> | |
<dateModified>3 Nov 2015 8:53:35 pm</dateModified> | |
</head> | |
<body> | |
<outline text=".NET Rocks!" type="rss" xmlUrl="http://www.pwop.com/feed.aspx?show=dotnetrocks&filetype=master" htmlUrl="http://www.dotnetrocks.com" /> | |
<outline text="60-Second Mind" type="rss" xmlUrl="http://www.scientificamerican.com/podcast/sciam_podcast_i_psych.xml" htmlUrl="http://www.scientificamerican.com/podcast/60-second-mind/" /> |
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 Go server dark | |
// @namespace https://go.server.com | |
// @description Just my attempt at a dark style for go cd. | |
// @author Damo | |
// @run-at document-start | |
// @version 1 | |
// ==/UserScript== | |
(function() {var css = ""; | |
css += [ |
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 Go PipeLine Filter | |
// @namespace http://pipelinefilter.foldingair.blogspot.com | |
// @version 0.1 | |
// @description Ge Server Pipelines filter | |
// @author Ingenie | |
// @match https://goserver:8154/go/ | |
// @grant none | |
// ==/UserScript== |
NewerOlder