This plugin adds completion for the Kubernetes cluster manager, as well as some aliases for common kubectl commands.
To use it, add kubectl
to the plugins array in your zshrc file:
plugins=(... kubectl)
This plugin adds completion for the Kubernetes cluster manager, as well as some aliases for common kubectl commands.
To use it, add kubectl
to the plugins array in your zshrc file:
plugins=(... kubectl)
<?xml version="1.0" encoding="UTF-8"?> | |
<configuration | |
xmlns:patch="www.sitecore.net/.../"> | |
<sitecore> | |
<eventing defaultProvider="sitecore"> | |
<eventQueueProvider> | |
<eventQueue name="rrh" patch:after="evertQueue[@name='web']" type="Sitecore.Data.Eventing.$(database)EventQueue, Sitecore.Kernel"> | |
<param ref="dataApis/dataApi[@name='$(database)']" param1="$(name)" /> | |
<param ref="PropertyStoreProvider/store[@name='$(name)']" /> | |
</eventQueue> |
# Define the folder path | |
$folderPath = "master:/sitecore/media library" | |
# Get all child media items recursively | |
$mediaItems = Get-ChildItem -Path $folderPath -Recurse -Language * -ErrorAction SilentlyContinue | |
# Calculate total size (in bytes) using the "Size" field | |
$totalSizeInBytes = 0 | |
foreach ($item in $mediaItems) { |
<%@ Page language="c#" %> | |
<%@ Import Namespace="Microsoft.Extensions.DependencyInjection" %> | |
<%@ Import Namespace="Sitecore.Abstractions" %> | |
<%@ Import Namespace="Sitecore.Configuration" %> | |
<%@ Import Namespace="Sitecore.Data" %> | |
<%@ Import Namespace="Sitecore.Data.Items" %> | |
<%@ Import Namespace="Sitecore.DependencyInjection" %> | |
<%@ Import Namespace="Sitecore.Events" %> | |
<%@ Import Namespace="Sitecore.Globalization" %> | |
<%@ Import Namespace="Sitecore.Pipelines" %> |