Skip to content

Instantly share code, notes, and snippets.

@tprelog
tprelog / enable-docker.sh
Last active November 23, 2023 01:58
Use docker-compose on TrueNAS SCALE 22.12 (Bluefin) without Kubernetes
#!/usr/bin/env bash
#
# Enable docker and docker-compose on TrueNAS SCALE (no Kubernetes)
#
# This script is a hack! Use it at your own risk!!
# Using this script to enable Docker is NOT SUPPORTED by ix-systems!
# You CANNOT use SCALE Apps while using this script!
#
# 1 Create a dedicated Docker dataset in one of your zpools
@tprelog
tprelog / boot.sh
Last active February 6, 2022 02:19 — forked from Jip-Hop/boot.sh
# See comment
@tprelog
tprelog / unifi.py
Last active January 21, 2024 18:41 — forked from joestump/unifi.py
A simple Python client to shutdown or reboot the Ubiquiti UDM Pro
import argparse
import requests
import json
import urllib3
import unifi_secrets
HOST = unifi_secrets.unifi_host
USER = unifi_secrets.unifi_username
PASS = unifi_secrets.unifi_password
@tprelog
tprelog / gist:e73f38c72ef042f025eea219f1aec217
Created June 24, 2020 18:48 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@tprelog
tprelog / networkmanager-wifi-powersave.md
Created December 9, 2019 23:00 — forked from jcberthon/networkmanager-wifi-powersave.md
NetworkManager Wi-Fi powersaving configuration

NetworkManager WiFi Power Saving

NetworkManager supports WiFi powersaving but the function is rather undocumented.

From the source code: wifi.powersave can have the following value:

  • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
  • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
  • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave