Skip to content

Instantly share code, notes, and snippets.

@vandbt
vandbt / how to install PyTorch in windows 10
Created December 14, 2018 16:06
How to Install PyTorch in Windows 10
1. Install Python
https://www.python.org/downloads/
2. update pip
python -m pip install --upgrade pip
3. install numpy first
according to PyTorch official guide recommand that install numpy first.
pip install numpy
@vandbt
vandbt / networkmanager-wifi-powersave.md
Created April 24, 2019 15:33 — 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