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
// | |
// This Pre-script will fetch a token from the discovery token service | |
// and store it as the global variable "access_token" | |
// The actual reequest can than use the following header entry | |
// Authorization: "Bearer {{access_token}}" | |
// | |
// It assumes the following variables to be available | |
// Server (example: "https://cme.sdlproducts.com") | |
// DiscoveryPort (example: 8083) | |
// ClientSecret (example: "CduserPassword" ) |
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
// ==UserScript== | |
// @name Wowescape | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://www.wowescape.com/* | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// @grant none | |
// ==/UserScript== |
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
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$false)] | |
[int]$delta = 1, | |
[Parameter(Mandatory=$false)] | |
[string]$outputFile = "results.csv", | |
[Parameter(Mandatory=$false)] | |
[string]$delimiter = ";", | |
[Parameter(Mandatory=$false)] | |
[string]$decimalSeparator = "," |
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
SELECT | |
CONVERT(varchar(max),CONVERT(varbinary(max),content)) | |
FROM COMPONENT_PRESENTATIONS | |
where <where_criteria> |
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
<filter for="Script" type="Tridion.Web.UI.Resources.Filters.JScriptMinifier, Tridion.Web.UI.Resources.Filters" enabled="never"> | |
<config outputmode="SingleLine" localrenaming="CrunchAll" strictmode="false" termsemicolons="true" evaltreatment="MakeAllSafe" inlinesafestrings="true" removeunneededcode="false" stripdebugstatements="false"/> | |
</filter> |
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
<# | |
.Description | |
sets relevant tridion core service client settings | |
Write password by running | |
Read-Host -AsSecureString | ConvertFrom-SecureString | Out-File $CredentialFile | |
#> | |
[CmdletBinding()] | |
Param ( | |
[Parameter(Mandatory=$false)] |
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 | |
Add All folders from a given base folder as Virtual Directtories to a given Site | |
.Description | |
Add All folders from a given base folder as Virtual Directtories to a given Site | |
.Example | |
.\AddFoldersToSite.ps1' -BasePath 'D:\Example\Folder' -Site "Example Site" | |
#> |
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
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$true)] | |
[string]$dll, | |
[Parameter(Mandatory=$false)] | |
[string]$eventsystemconfig = "" | |
) | |
function Copy-ItemRetry ($source, $destination,$maxattemps, $sleep) |
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
[CmdletBinding()] | |
Param( | |
[Parameter(Mandatory=$false)] | |
[string]$BusinessProcessType = 'DXA Staging/Live', | |
[Parameter(Mandatory=$false)] | |
[string]$TopologyType = 'StagingLive', | |
[switch]$DryRun = $false | |
) |
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
############################## | |
# Convert Publish States # | |
############################## | |
# Settings assumed to be available from previous script, uncomment, and optionally correct, if this is not the case | |
# $StagingLiveTopologyType="StagingLive" | |
# $purposeLive="Live" | |
# $purposeStaging="Staging" | |
# Additional Settings, to be updated |