Skip to content

Instantly share code, notes, and snippets.

#requires -Version 5.0
<#
.SYNOPSIS
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication.
.DESCRIPTION
My Veeam Report is a flexible reporting script for Veeam Backup and
Replication. This report can be customized to report on Backup, Replication,
@2ZZ
2ZZ / proxmox-hook.sh
Last active January 7, 2024 11:28 — forked from kiler129/proxmox-hook.sh
5900x->5950x
#!/bin/bash
set -e -o errexit -o pipefail -o nounset
###################################
# This script can be used by itself, but it's recommended that you read
# a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/
###################################
# Do not modify these variables (set by Proxmox when calling the script)
vmId="$1"
@2ZZ
2ZZ / PhotoOrganizer.ps1
Last active October 15, 2022 21:17 — forked from jongio/PhotoOrganizer.ps1
A PowerShell script to organize photos by date taken
Param(
[Parameter(Mandatory=$true)][string]$source,
[Parameter(Mandatory=$true)][string]$dest,
[string]$format = "yyyy/MM"
)
$shell = New-Object -ComObject Shell.Application
function Get-File-Date {
[CmdletBinding()]
1:C 26 Jun 2020 08:20:16.500 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 26 Jun 2020 08:20:16.500 # Redis version=5.0.8, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 26 Jun 2020 08:20:16.500 # Configuration loaded
1:M 26 Jun 2020 08:20:16.501 * Running mode=standalone, port=6379.
1:M 26 Jun 2020 08:20:16.502 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
#!/bin/bash
json_get() { # get values from json
echo 1: $1 json
echo 2: $2 challenges
echo 3: $3 type
echo 4: $4 http-01
echo 5: $5 url
echo
1:C 06 Nov 2019 16:45:29.680 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 06 Nov 2019 16:45:29.680 # Redis version=5.0.5, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 06 Nov 2019 16:45:29.680 # Configuration loaded
1:M 06 Nov 2019 16:45:29.681 * Running mode=standalone, port=6379.
1:M 06 Nov 2019 16:45:29.681 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 06 Nov 2019 16:45:29.681 # Server initialized
1:M 06 Nov 2019 16:45:29.681 # WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.
1:M 06 Nov 2019 16:45:29.682 * <ft> RediSearch version 1.6.3 (Git=v1.6.3)
1:M 06 Nov 2019 16:45:29.682 * <ft