This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
| Param( | |
| [string]$srcPath | |
| ) | |
| function Invoke-DedupeOutput { | |
| Param( | |
| [System.Collections.ArrayList]$includes | |
| ) | |
| $dedupedIncludes = [System.Collections.ArrayList]@() |
| function Get-FormData($formId, $startDate, $endDate) { | |
| $provider = [Sitecore.DependencyInjection.ServiceLocator]::ServiceProvider.GetService([Sitecore.ExperienceForms.Data.IFormDataProvider]) | |
| $entries = $provider.GetEntries($formId.Guid, $startDate, $endDate) | |
| if (-not $entries) { | |
| return $null | |
| } | |
| # Get all column title | |
| $titles = new-object System.Collections.Generic.HashSet[string] | |
| $entries | % { $_.Fields | % { $titles.Add($_.FieldName) > $null } } |
| <# | |
| .SYNOPSIS | |
| Lists the pages which are not published yet (in the current version or any version at all). | |
| .NOTES | |
| Manuel Fischer | |
| #> | |
| function Get-AllUnpublishedPages { | |
| Get-ChildItem -Path $homeFolder -Recurse | IsPage | IsPublished |
| $readVariableParams = @{ | |
| Parameters = @( | |
| @{Name="root"; Title="Root item"; Editor="droptree"; } | |
| @{Name="template"; Title="Template"; Editor="droptree"; Source="DataSource=/sitecore/templates" } | |
| @{Name="fieldname"; Title="Field name" } | |
| ) | |
| Title = "Search Edited Items" | |
| Description = "Search items with non-default value in the field." | |
| } |
| #Requires -RunAsAdministrator | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string] | |
| $SitePrefix, | |
| [Parameter(Mandatory=$false)] | |
| [string] | |
| $LicensePath = "$PSScriptRoot/license.xml", | |
| [switch] | |
| $WhatIf |
| using Newtonsoft.Json.Linq; | |
| using Sitecore; | |
| using Sitecore.Data.Items; | |
| using Sitecore.Diagnostics; | |
| using Sitecore.LayoutService.Configuration; | |
| using Sitecore.LayoutService.ItemRendering; | |
| using Sitecore.Links; | |
| using Sitecore.Mvc.Presentation; | |
| namespace Nomad.Jss.CodeFirst.ItemRendering |
| using Ionic.Zip; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace Comcast.ExtractPostProcessDllFromPackage | |
| { |