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
{ | |
"_creatorName": "Morten Christensen", | |
"_url": "/", | |
"_writerName": "Administrator", | |
"_hasChildren": true, | |
"_level": 1, | |
"_createDate": "2019-08-29T12:04:38.363Z", | |
"_id": "ca4249ed-2b23-4337-b522-63cabe5587d1", | |
"_updateDate": "2019-08-29T12:04:43.507Z", | |
"_links": { |
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
Some suggestions for things to go see / experience with kids while visiting Copenhagen, Denmark. | |
Website about activities for kids in Copenhagen - always up-to-date. | |
Its in Danish so you'd need a google translator, but they list all the stuff going on currently, so you could check the week you are here or the week before. | |
Link: https://bornibyen.dk/koebenhavn | |
Tivoli obviously :) | |
Old historic amusement part in the central Copenhagen | |
https://www.tivoli.dk/en/ |
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
$step = $OctopusParameters['Unpackage step'] | |
$username = $OctopusParameters['Username']; | |
$password = $OctopusParameters['Password']; | |
$customExeFilename = $OctopusParameters['Exe filename']; | |
$outputPath = $OctopusParameters["Octopus.Action[$step].Package.CustomInstallationDirectory"] | |
if(!$outputPath) | |
{ | |
$outputPath = $OctopusParameters["Octopus.Action[$step].Output.Package.InstallationDirectoryPath"] | |
} |
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
$step = $OctopusParameters['Unpackage step'] | |
$username = $OctopusParameters['Username']; | |
$password = $OctopusParameters['Password']; | |
$customExeFilename = $OctopusParameters['Exe filename']; | |
$outputPath = $OctopusParameters["Octopus.Action[$step].Package.CustomInstallationDirectory"] | |
if(!$outputPath) | |
{ | |
$outputPath = $OctopusParameters["Octopus.Action[$step].Output.Package.InstallationDirectoryPath"] | |
} |
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"?> | |
<feed xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.w3.org/2005/Atom"> | |
<title>Web Platform Installer 4.0 Feed</title> | |
<updated>2013-12-05T16:00:10Z</updated> | |
<id>http://url/to/Feed.xml</id> | |
<link href="http://url/to/Feed.xml" /> | |
<author> | |
<name>Author Name</name> | |
<uri>http://url</uri> | |
</author> |
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
#!/bin/sh | |
#Git hook parameters | |
prevHEAD=$1 | |
newHEAD=$2 | |
checkoutType=$3 | |
if [ $checkoutType -eq 1 ] | |
then | |
#Set variable with name of Branch | |
BRANCH=$(git rev-parse --abbrev-ref HEAD) |
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
using System.Net; | |
using System.Net.Http; | |
using Umbraco.Web.WebApi; | |
namespace Example.Controllers | |
{ | |
/// <summary> | |
/// Protectec Backoffice controller - Users must be logged in to call this | |
/// Url: /umbraco/backoffice/api/bulk/PostPerformBulkUpdate | |
/// </summary> |
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
workflow Start-AzureVMsOnSchedule { | |
param( | |
# The name of the VM(s) to start on schedule. Can be wildcard pattern. | |
[Parameter(Mandatory = $true)] | |
[string]$VMName, | |
# The service name that $VMName belongs to. | |
[Parameter(Mandatory = $true)] | |
[string]$ServiceName, | |
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
workflow Stop-AzureVMsOnSchedule { | |
param( | |
# The name of the VM(s) to start on schedule. Can be wildcard pattern. | |
[Parameter(Mandatory = $true)] | |
[string]$VMName, | |
# The service name that $VMName belongs to. | |
[Parameter(Mandatory = $true)] | |
[string]$ServiceName, | |
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
using Umbraco.Core; | |
using Umbraco.Core.Events; | |
using Umbraco.Core.IO; | |
using Umbraco.Core.Services; | |
namespace Startup | |
{ | |
public class MediaEventHandler : ApplicationEventHandler | |
{ | |
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext) |
NewerOlder