This file contains hidden or 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
| using System.Buffers; | |
| using System.Text; | |
| using Microsoft.Extensions.Caching.Hybrid; | |
| using Newtonsoft.Json; | |
| public class NewtonsoftJsonHybridCacheSerializer<T> : IHybridCacheSerializer<T> | |
| { | |
| public T Deserialize(ReadOnlySequence<byte> source) | |
| { | |
| return JsonConvert.DeserializeObject<T>(Encoding.UTF8.GetString(source)); |
This file contains hidden or 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 class GermanTimeProvider : TimeProvider | |
| { | |
| private static readonly TimeZoneInfo GermanTimeZone = TimeZoneInfo.FindSystemTimeZoneById( | |
| "Central European Standard Time" | |
| ); | |
| public override TimeZoneInfo LocalTimeZone => GermanTimeZone; | |
| } |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
| { | |
| "frames": [ | |
| [ | |
| " ", | |
| " ", | |
| " <span class=\"c\">+++==*%%%%%%%%%%%%*==+++</span> ", | |
| " <span class=\"c\">++****++</span> <span class=\"c\">++****++</span> ", | |
| " <span class=\"c\">++**++</span> <span class=\"c\">++**++</span> ", | |
| " <span class=\"c\">xx**+=</span> o+*%$@@@@@@$%*+o <span class=\"c\">=+**xx</span> ", | |
| " <span class=\"c\">xx**oo</span> ·=$@@@@@@@$$$$$$$$@@@@@@@$=· <span class=\"c\">oo**xx</span> ", |
This file contains hidden or 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 | |
| BACKUP_PATH="/mnt/backups/pve-host" | |
| BACKUP_FILE="pve-host" | |
| KEEP_DAYS=35 | |
| LOG_PATH="/var/log/pve-host-backup.log" | |
| PVE_BACKUP_SET="/etc/pve /etc/lvm /etc/modprobe.d /etc/network/interfaces /etc/vzdump.conf /etc/sysctl.conf /etc/resolv.conf /etc/ksmtuned.conf /etc/hosts /etc/hostname /etc/cron* /etc/aliases" | |
| PVE_CUSTOM_BACKUP_SET="/var/lib/pve-cluster /root /var/spool/cron /etc/passwd /etc/lxc/*.conf" | |
| # Ensure the backup directory exists |
This file contains hidden or 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
| /* makes sizing simpler */ | |
| *, | |
| *::before, | |
| *::after { | |
| box-sizing: border-box; | |
| } | |
| /* remove default spacing */ | |
| /* force styling of type through styling, rather than elements */ | |
| * { |
This file contains hidden or 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
| using System.IO; | |
| using System.Security.Cryptography; | |
| using Microsoft.EntityFrameworkCore.DataEncryption; | |
| using Microsoft.EntityFrameworkCore.DataEncryption.Providers; | |
| public class DynamicIvAesProvider : IEncryptionProvider | |
| { | |
| /// <summary> | |
| /// AES block size constant. | |
| /// </summary> |
This file contains hidden or 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
| { | |
| "primeng": { | |
| "startsWith": "Startet mit", | |
| "contains": "Enthält", | |
| "notContains": "Enthält nicht", | |
| "endsWith": "Endet mit", | |
| "equals": "Gleich", | |
| "notEquals": "Nicht gleich", | |
| "noFilter": "Kein Filter", | |
| "lt": "Kleiner als", |