http://confluence.jetbrains.com/display/TCD8/Installing+and+Configuring+the+TeamCity+Server
net user tcservice * /add /expires:never /passwordchg:no
Set-StrictMode -Version Latest | |
# Constants | |
if (!(Test-Path variable:\NET_FW_DISABLED)) { Set-Variable NET_FW_DISABLED $False } | |
if (!(Test-Path variable:\NET_FW_ENABLED)) { Set-Variable NET_FW_ENABLED $True } | |
if (!(Test-Path variable:\NET_FW_IP_PROTOCOL_TCP)) { Set-Variable NET_FW_IP_PROTOCOL_TCP 6 } | |
if (!(Test-Path variable:\NET_FW_IP_PROTOCOL_UDP)) { Set-Variable NET_FW_IP_PROTOCOL_UDP 17 } | |
if (!(Test-Path variable:\NET_FW_PROFILE_DOMAIN)) { Set-Variable NET_FW_PROFILE_DOMAIN 0x1 } | |
if (!(Test-Path variable:\NET_FW_PROFILE_PRIVATE)) { Set-Variable NET_FW_PROFILE_PRIVATE 0x2 } | |
if (!(Test-Path variable:\NET_FW_PROFILE_PUBLIC)) { Set-Variable NET_FW_PROFILE_PUBLIC 0x2 } |
function Out-Diff { | |
<# | |
.Synopsis | |
Redirects a Universal DIFF encoded text from the pipeline to the host using colors to highlight the differences. | |
.Description | |
Helper function to highlight the differences in a Universal DIFF text using color coding. | |
.Parameter InputObject | |
The text to display as Universal DIFF. | |
#> | |
[CmdletBinding()] |
http://confluence.jetbrains.com/display/TCD8/Installing+and+Configuring+the+TeamCity+Server
net user tcservice * /add /expires:never /passwordchg:no
$commandArgs = "/i Octopus-Server.msi /quiet INSTALLLOCATION=C:\OctopusServer /lv Octopus-Server-Install-Log.txt" | |
Start-Process "msiexec" $commandArgs -Wait -Verb RunAs |
var server = "http://yourserveraddress:8065/"; //Your server and IP address | |
var apiKey = "API-XXXXXXXXXXXXXXXXXXXXXXXXX"; // Get this from your 'profile' page in the Octopus web portal | |
var endpoint = new OctopusServerEndpoint(server, apiKey); | |
var repository = new OctopusRepository(endpoint); | |
var task = new Octopus.Client.Model.TaskResource(); | |
task.Name = "AdHocScript"; | |
task.Description = "Script invoked via API"; |
$ sudo apt-get install dex | |
$ /usr/bin/dex -c /usr/bin/dex -t ~/.local/share/applications/ | |
Markdown files allow embedding images in it. However it requires the image to be hosted at some location and we can add the url of the image to embed it.
Example:

We can use services like imgur or other services to host the images and use the hosted URL.
#!/bin/bash | |
# Author: Matthieu Fronton <[email protected]> | |
# Profile: github.com/frntn | |
# Description: GnuPG web of trust : automate multiple scenarii to help the understanding of https://www.gnupg.org/gph/en/manual/x334.html | |
WAIT=4 | |
if [ -t 1 ]; then | |
cya="$(tput setaf 6)" |