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
| using Octokit; | |
| public GitHubClient Create(string productHeaderValue) | |
| { | |
| var client = new GitHubClient(new ProductHeaderValue(productHeaderValue)); | |
| return client; | |
| } |
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
| const functions = require('firebase-functions'); | |
| const admin = require('firebase-admin'); | |
| const rp = require('request-promise'); | |
| admin.initializeApp(functions.config().firebase); | |
| let categoryToEmojiMapping = null; | |
| let projectToChannelMapping = null; | |
| let db = admin.firestore(); | |
| db.settings({ timestampsInSnapshots: true }); |
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
| serverUrl=$1 | |
| thumbprint=$2 | |
| apiKey=$3 | |
| space=$4 | |
| environment=$5 | |
| publicHostName=$6 | |
| role=$7 | |
| configFilePath="/etc/octopus/default/tentacle-default.config" | |
| applicationPath="/home/Octopus/Applications/" |
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
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" create-instance --instance "OctopusServer" --config "C:\Octopus\OctopusServer.config" --serverNodeName "OCTOPUS-XPS" | |
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" database --instance "OctopusServer" --connectionString "Data Source=(local)\SQLEXPRESS;Initial Catalog=OctopusScriptTest;Integrated Security=True" --create --grant "NT AUTHORITY\SYSTEM" | |
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" configure --instance "OctopusServer" --webForceSSL "False" --webListenPrefixes "http://localhost:8080/" --commsListenPort "10943" --usernamePasswordIsEnabled "True" | |
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" service --instance "OctopusServer" --stop | |
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" admin --instance "OctopusServer" --username "admin" --email "[email protected]" --password "YourPasswordHere" | |
| "C:\Program Files\Octopus Deploy\Octopus\Octopus.Server.exe" service --instance "OctopusServer" --ins |
OlderNewer