Skip to content

Instantly share code, notes, and snippets.

@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