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
[ | |
{ | |
"id": "Sample-1", | |
"name": "Sample 1", | |
"description": "This is sample data #1" | |
}, | |
{ | |
"id": "Sample-2", | |
"name": "Sample 2", | |
"description": "This is sample data #2" |
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
{ | |
"AWSTemplateFormatVersion": "2010-09-09", | |
"Description": "Produces the simple Read Model API. Includes S3 storage for static data, a user for accessing and an API", | |
"Parameters": { | |
"StackName": { | |
"Type": "String", | |
"Description": "Name to be used for the Stack and all associated items. Should be unique." | |
} | |
}, | |
"Resources": { |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<TargetFramework>netstandard2.0</TargetFramework> | |
<RestoreSources> | |
https://www.myget.org/F/red-folder/api/v3/index.json; | |
https://api.nuget.org/v3/index.json; | |
</RestoreSources> | |
</PropertyGroup> | |
<ItemGroup> | |
<PackageReference Include="Red-Folder.WebCrawl.Data" Version="0.1.87"/> |
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"?> | |
<configuration> | |
<packageSources> | |
<add key="NAME" value="FEEDURL" /> | |
<add key="NuGet official package source" value="https://nuget.org/api/v2/" /> | |
</packageSources> | |
<activePackageSource> | |
<add key="All" value="(Aggregate source)" /> | |
</activePackageSource> | |
</configuration> |
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
DocumentClient client; | |
client = new DocumentClient(new Uri(endpointUri), primaryKey); | |
DocumentCollection resultCollection = client.ReadDocumentCollectionAsync(UriFactory.CreateDocumentCollectionUri(databaseName, collectionName)).Result; | |
resultCollection.Id = collectionName; | |
resultCollection.IndexingPolicy.IncludedPaths.Clear(); | |
resultCollection.IndexingPolicy.IncludedPaths.Add( | |
new IncludedPath | |
{ | |
Path = "/timestamp/?", |
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
<div class=wsd wsd_style="napkin"> | |
<pre> | |
$body | |
</pre> | |
</div> | |
<script type="text/javascript" src="http://www.websequencediagrams.com/service.js"></script> |
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
commands: | |
01-install_mssql: | |
command: yum -y --enablerepo=amzn-updates install php-mssql | |
test: "php -r \"exit(extension_loaded('mssql') ? 1 : 0);\"" |
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
git add * | |
git commit -m "Commit message" | |
git push |
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
build("BackgroundServicePlugin Prepare For Github", BUILDOUTPUTPATH: pluginpath) | |
build("BackgroundServicePlugin Source Prepare For Github", SOURCEPATH: sourcepath) |
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
. "C:\JenkinsWorkspace\PSScripts\HelperScripts.ps1" | |
syncFolders $env:SOURCEPATH $env:workspace |
NewerOlder