https://www.youtube.com/playlist?list=PLKK11Ligqitg9MOX3-0tFT1Rmh3uJp7kA
Discover gists
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
[{ | |
"id": 99, | |
"account": { | |
"first": "First", | |
"middle": "", | |
"last": "Last", | |
"email": "email@addr.tld", | |
"email_verified_at": { | |
"$date": "2022-01-04T23:49:25" |
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
let widget = await createWidget(); | |
if (!config.runsInWidget) { | |
await widget.presentSmall(); | |
} | |
Script.setWidget(widget); | |
Script.complete(); | |
async function createWidget(items) { |
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
Show hidden characters
{ | |
// Commented-out options have their default values. | |
"include": ["src/**/*"], | |
"exclude": ["node_modules/*"], | |
// "files": [], // A list of relative or absolute file paths to include. | |
// "extends": "", // A string containing a path to another configuration file to inherit from. | |
// "references": [], // An array of objects `{"path": "./to/dirOrConfig"}` that specifies projects to reference. | |
// "compileOnSave": false, // Signals to the IDE to generate all files for a given tsconfig.json upon saving. | |
"compilerOptions": { |
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
{# | |
/** | |
* @file | |
* Theme override of a container used to wrap child elements. | |
* | |
* Used for grouped form items. Can also be used as a theme wrapper for any | |
* renderable element, to surround it with a <div> and HTML attributes. | |
* See \Drupal\Core\Render\Element\RenderElement for more | |
* information on the #theme_wrappers render array property, and | |
* \Drupal\Core\Render\Element\container for usage of the container render |
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
<# | |
Correct the default UEFI partition layout created by ConfigMgr to save some disk space. | |
https://docs.microsoft.com/de-de/windows-hardware/manufacture/desktop/configure-uefigpt-based-hard-drive-partitions | |
## Notes: | |
* The recovery partition size for Windows 10 1703 needs to be at least 900 MB or the partition will ignored. | |
* Windows 10 1511 Winre.wim size: 313.009.179 Bytes | |
* Windows 10 1607 Winre.wim size: 324.995.101 Bytes |
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
rem == CreatePartitions-UEFI.txt == | |
rem == These commands are used with DiskPart to | |
rem create five partitions | |
rem for a UEFI/GPT-based PC. | |
rem Adjust the partition sizes to fill the drive | |
rem as necessary. == | |
select disk 0 | |
clean | |
convert gpt | |
rem == 1. Windows RE tools partition =============== |
In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.
Add the following line to /etc/pve/lxc/<CT_ID>.conf
mp0:/mount/point/on/host,mp=/mount/point/on/lxc
OR
pct set 100 -mp0 /mnt/bindmounts/shared,mp=/shared
In order for the LXC container to have full access the proxmox host directory, a subgid is set as owner of a host directory, and an ACL is used to ensure permissions.
Add the following line to /etc/pve/lxc/<CT_ID>.conf
mp0:/mount/point/on/host,mp=/mount/point/on/lxc
In the default Proxmox configuration, unpriviliged container subgids will have the prefix "10" followed by the expected 4-digit gid.
NewerOlder