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
export default function createExternalRoot(rootElement) { | |
const inputSelector = "input[data-testid*=searchbox]"; | |
return { | |
render(props) { | |
rootElement.innerHTML = `<style> | |
.inputBoxHelpText { | |
display: none; | |
color: #FFF; | |
background: #4B4B4B; | |
border-radius: 6px !important; |
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 file was initially generated by Windows Terminal 0.11.1121.0 | |
// It should still be usable in newer versions, but newer versions might have additional | |
// settings, help text, or changes that you will not see unless you clear this file | |
// and let us generate a new one for you. | |
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"alwaysShowTabs": true, |
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"?> | |
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet"> | |
<CodeSnippet Format="1.0.0"> | |
<Header> | |
<SnippetTypes> | |
<SnippetType>Expansion</SnippetType> | |
</SnippetTypes> | |
<Title>xUnit Fact</Title> | |
<Shortcut>fact</Shortcut> | |
<Description>Code snippet for an xUnit test method (Fact) following the naming convention UnitOfWork_StateUnderTest_ExpectedBehaviour.</Description> |
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
Write-Host "Restarting all Tridion Services" | |
Get-Service -displayname Tri* | Stop-Service -force | |
Get-Service -displayname Tri* | Start-Service | |
Write-Host "Restarting IIS" | |
iisreset | |
pause |
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
###################################################################################### | |
# SDLWeb8PowerShellProfile.ps1 | |
# Description: Powershell profile script for starting and stopping SDL Web 8 (a.k.a. Tridion) services | |
# Inspired by Tridion2011PowerShellProfile.ps1 from Nuno Mendes (nmendes@sdl.com) and Daniel Iyoyo | |
# Modified by Guus Beltman | |
# Change Date: 22/7/2016 | |
# Product Scope: SDL Web 8 | |
# | |
# Installation instructions: | |
# Open PowerShell and execute the following commands: |
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
###################################################################################### | |
# Tridion2011PowerShellProfile.ps1 | |
# Originally created by Nuno Mendes (nmendes@sdl.com) and Daniel Iyoyo | |
# Modified by Guus Beltman | |
# Change Date: 19/12/2015 | |
# Product Scope: SDL Tridion 2011 and 2013 (all versions) | |
###################################################################################### | |
###################################################################################### | |
# Installation instructions: |
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
# Check if script is run with Administrator permissions. If not: stop directly. | |
If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(` | |
[Security.Principal.WindowsBuiltInRole] "Administrator")) | |
{ | |
Write-Warning "You do not have Administrator rights to run this script!`nPlease re-run this script as an Administrator!" | |
Break | |
} | |
function ExtractZipsAndInstall { |
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
public static class EnumHelper<T> | |
{ | |
public static T Parse(string value) | |
{ | |
return EnumHelper<T>.Parse(value, true); | |
} | |
public static T Parse(string value, bool ignoreCase) | |
{ | |
return (T)Enum.Parse(typeof(T), value, ignoreCase); |
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
$configFiles=get-childitem . config.xml -rec | |
foreach ($file in $configFiles) | |
{ | |
Write-Host "Processing file" $file.FullName | |
(Get-Content $file.PSPath) | Foreach-Object {$_ -replace "MaxSize=""10000000""", "MaxSize=""20000000"""} | Set-Content $file.PSPath | |
} |
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 | |
input=list.txt | |
output=urls_result.txt | |
siteprefix=https://www.site.com | |
rm -rf $output | |
while read LINE | |
do |
NewerOlder