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
# Download and install uv | |
curl -L https://github.com/astral-sh/uv/releases/latest/download/uv-x86_64-unknown-linux-gnu.tar.gz | tar zxvf - -C /usr/local/bin --strip-components=1 | |
# .profile | |
export UV_TOOL_BIN_DIR=/usr/local/bin | |
export UV_TOOL_DIR=/usr/local/lib/uv | |
export ANSIBLE_COLLECTIONS_PATH=/usr/share/ansible/collections | |
# Install ansible | |
sudo -i uv tool install ansible-core |
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
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"title": "Generated schema for Root", | |
"type": "object", | |
"additionalProperties": false, | |
"properties": { | |
"areas": { | |
"type": "array", | |
"items": { | |
"$ref": "#/$defs/area" |
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
{ | |
"$defs": { | |
"ExtAttrValue": { | |
"title": "Value", | |
"type": "string" | |
}, | |
"ExtAttrEnum": { | |
"properties": { | |
"value": { | |
"$ref": "#/$defs/ExtAttrValue" |
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
#!/usr/bin/env python3 | |
# vim: autoindent tabstop=4 shiftwidth=4 expandtab softtabstop=4 filetype=python | |
# This file is part of Supermicro IPMI certificate updater. | |
# Supermicro IPMI certificate updater is free software: you can | |
# redistribute it and/or modify it under the terms of the GNU General Public | |
# License as published by the Free Software Foundation, version 2. | |
# | |
# This program is distributed in the hope that it will be useful, but WITHOUT |
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
[Unit] | |
Description=AutoSSH | |
Documentation=man:autossh(1) | |
After=network-online.target sshd.service | |
[Service] | |
EnvironmentFile=/etc/default/autossh | |
EnvironmentFile=/etc/autossh/autossh.conf | |
ExecStart=/usr/lib/autossh/autossh -M ${MONITOR_PORT} -nNT -o ServerAliveInterval=60 -o ServerAliveCountMax=3 -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -i ${TUNNEL_KEY_PATH} -R ${TUNNEL_MAPPING} ${TUNNEL_USER}@${TUNNEL_HOST} | |
ExecReload=kill -SIGUSR1 $MAINPID |
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
{ | |
"devices": [ | |
{"name": "SW1", "id": "123"}, | |
{"name": "SW2", "id": "456"} | |
] | |
} |
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
# -*- shell-script -*- | |
# | |
# Configuration file for ferm(1). | |
# | |
domain (ip) { | |
table nat chain (POSTROUTING PREROUTING OUTPUT INPUT DOCKER) @preserve; | |
table filter chain (FORWARD DOCKER DOCKER-ISOLATION-STAGE-1 DOCKER-ISOLATION-STAGE-2) @preserve; | |
} |
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
--- /tmp/acme/acme.sh | |
+++ /usr/local/libexec/acme/acme.sh | |
@@ -2217,6 +2217,11 @@ | |
_save_conf "$DOMAIN_CONF" "$@" | |
} | |
+#key value base64encode | |
+_savedomainconf_mutable() { | |
+ _savedomainconf "SAVED_$1" "$2" "$3" | |
+} |
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
https://github.com/powerline/fonts/blob/master/DejaVuSansMono/DejaVu%20Sans%20Mono%20for%20Powerline.ttf | |
https://github.com/altercation/solarized/tree/master/putty-colors-solarized |
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
# start-process powershell -argumentlist "-ExecutionPolicy Bypass" -verb runAs | |
# . { iwr -useb https://boxstarter.org/bootstrapper.ps1 } | iex; Get-Boxstarter -Force | |
# Install-BoxstarterPackage -PackageName https://gist.github.com/KalleDK/512ddedb2329f657635098acb0deed5d/raw/f78d7ef7751e4e967cd4e4c230bdcc62e3026998/Boxstarter -DisableReboots | |
Enable-MicrosoftUpdate | |
Install-WindowsUpdate -Criteria "IsHidden=0 and IsInstalled=0" | |
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -DisableShowProtectedOSFiles -EnableShowFileExtensions -EnableShowFullPathInTitleBar -EnableOpenFileExplorerToQuickAccess | |
Set-BoxstarterTaskbarOptions -Size Small -Dock Bottom -Combine Never -AlwaysShowIconsOn | |
Set-BoxstarterTaskbarOptions -MultiMonitorOn -MultiMonitorMode Open -MultiMonitorCombine Never | |
Enable-RemoteDesktop |
NewerOlder