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
import clr | |
clr.AddReference("Apollo.Core.Scripting") | |
import sys | |
import Apollo.Core.Scripting | |
# Verify that we don't have an active project | |
hasactiveproject = projects.HasActiveProject() | |
if hasactiveproject: | |
print 'Fail: Active project already 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
<?xml version="1.0" encoding="utf-8" ?> | |
<sherlock configurationVersion="1.2"> | |
<description> | |
<product>Apollo.Console</product> | |
<version>0.1.7.9</version> | |
<testpurpose>Integration tests for Apollo.Console</testpurpose> | |
</description> | |
<environments> | |
<environment name="Client"> |
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
<% currentYear = "" %> | |
<% for document in @collection.toJSON(): %> | |
<% date = @moment(document.date) %> | |
<% year = date.format("YYYY") %> | |
<div class="archive"> | |
<% if year isnt currentYear: %> | |
<div class="archive-year"><%= year %></div> | |
<% currentYear = year %> | |
<% end %> | |
<div class="archive-title"><a href="<%= document.url %>"><%= document.title %></a></div> |
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
--- | |
title: 'Home' | |
isPage: true | |
order: 1 | |
isPaged: true | |
pagedCollection: 'posts' | |
pageSize: 5 | |
--- | |
<% for page in @getPageCollection("posts").toJSON(): %> | |
<div id="post-spacer"> |
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
# Halt immediately if there is a problem | |
$ErrorActionPreference = "Stop" | |
"PATH is: " | |
$env:Path | |
"GitHub-release environment variable is: " | |
$env:GitHubReleasePath | |
$currentDir = $pwd |
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
# Halt immediately if there is a problem | |
$ErrorActionPreference = "Stop" | |
git config --global user.email "nBuildKit.AppVeyor@example.com" | |
git config --global user.name "nBuildKit AppVeyor deployment" | |
$currentDir = $pwd | |
$scriptDir = "c:\projects\scripts" | |
$installDir = "c:\tools\githubrelease" |
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
<# | |
.SYNOPSIS | |
Gets a PSSession that can be used to connect to the remote virtual machine. | |
.DESCRIPTION | |
The Get-PSSessionForAzureVM function returns a PSSession that can be used to use Powershell remoting to connect to the virtual | |
machine with the given name. |
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
<# | |
.SYNOPSIS | |
Creates a new Azure VM from a given base image in the given resource group. | |
.DESCRIPTION | |
The New-AzureVMFromTemplate function creates a new Azure VM in the given resources group. The VM will be based on | |
the provided image. |
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
<# | |
.SYNOPSIS | |
Copies a set of files to a remote directory on a given Azure VM. | |
.DESCRIPTION | |
The Add-AzureFilesToVM function copies a set of files to a remote directory on a given Azure VM. | |
OlderNewer