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
| # Generated by Powerlevel10k configuration wizard on 2025-10-27 at 22:26 CST. | |
| # Based on romkatv/powerlevel10k/config/p10k-lean.zsh, checksum 11390. | |
| # Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 12h time, | |
| # 1 line, compact, many icons, concise, transient_prompt, instant_prompt=verbose. | |
| # Type `p10k configure` to generate another config. | |
| # | |
| # Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate | |
| # your own config based on it. | |
| # | |
| # Tip: Looking for a nice color? Here's a one-liner to print colormap. |
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 | |
| tee /lib/systemd/system/acpitz-patch.service <<EOF | |
| [Unit] | |
| Description=acpitz patch for thermal | |
| [Service] | |
| ExecStart=/bin/sh -c 'echo disabled > /sys/class/thermal/thermal_zone1/mode' | |
| [Install] |
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 | |
| # cron-exec - Execute a command from cron, capture output and exit status, log to target | |
| # SPDX-License-Identifier: MIT (https://ncurl.xyz/s/Kkn2DQsNR) | |
| LOG_TARGET="/dev/fd/1" # Log output destination | |
| TASK_DATETIME="$(date -R)" # Current date/time in RFC-2822 format | |
| TASK_CMD="$@" # Command to execute, passed as arguments | |
| # Execute the command, capture both stdout and stderr |
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
| { | |
| "mtu": 1450, | |
| "log-driver": "json-file", | |
| "log-opts": { | |
| "max-size": "10m", | |
| "max-file": "3" | |
| }, | |
| "default-network-opts": { | |
| "bridge": { | |
| "com.docker.network.driver.mtu": "1450" |
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
| services: | |
| desktop: | |
| image: dorowu/ubuntu-desktop-lxde-vnc:latest | |
| container_name: desktop | |
| ports: | |
| - "6080:80" | |
| - "5900:5900" | |
| environment: | |
| - VNC_PASSWORD=${VNC_PASSWORD} | |
| volumes: |
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
| sudo tee /etc/network/if-up.d/wifi-txpower > /dev/null << 'EOF' | |
| #!/bin/sh | |
| # Only apply to wlan0 interface | |
| [ "$IFACE" = "wlan0" ] || exit 0 | |
| # Set legal Tx-Power for Taiwan 2.4GHz | |
| iwconfig wlan0 txpower 15 | |
| # Disable Wi-Fi power-save (optional) | |
| iw dev wlan0 set power_save off |
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
Show hidden characters
| { | |
| "allowJs": true, | |
| "compilerOptions": { | |
| "lib": ["es6"], | |
| "baseUrl": ".", | |
| "paths": { | |
| "@/*": ["./src/*"] | |
| }, | |
| "types": ["vite-plugin-vue-layouts/client"] | |
| }, |
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 | |
| # irustic.sh - Execute rustic and sends a notification upon successful completion. | |
| # SPDX-License-Identifier: MIT (https://ncurl.xyz/s/Kkn2DQsNR) | |
| set -e | |
| # rustic-rs/rustic | |
| # https://github.com/rustic-rs/rustic | |
| DIR_RUSTIC="/root/.config/rustic" |
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/bash | |
| # ipam.sh | |
| # SPDX-License-Identifier: MIT (https://ncurl.xyz/s/Kkn2DQsNR) | |
| #================================================================ | |
| # Bare Metal to phpIPAM Synchronizer | |
| # | |
| # Purpose: | |
| # This script runs on any bare metal server or standalone host. | |
| # It detects its own hostname, IP, and MAC address, and reports |
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/bash | |
| # ipam-pve.sh | |
| # SPDX-License-Identifier: MIT (https://ncurl.xyz/s/Kkn2DQsNR) | |
| #================================================================ | |
| # Proxmox VE (VM & CT) to phpIPAM Synchronizer | |
| # | |
| # Features: | |
| # - Periodically scans all running VMs and Containers (CT) on Proxmox VE. | |
| # - Retrieves IP, hostname, and MAC address. |
NewerOlder