This file contains 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
/etc/hostname and /etc/hosts are simple, but also not so simple... | |
How to quickly setup Debian /etc/hostname and /etc/hosts | |
1) Edit /etc/hostname. | |
There are 2 valid ways to set this up. | |
Either make it: | |
machine, i.e. a simple, one word name for this processor. |
This file contains 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
sync | |
sudo sync | |
sudo sh -c "/bin/echo 3 > /proc/sys/vm/drop_caches" |
This file contains 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 nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf | |
[connection] | |
wifi.powersave = 3 | |
Change value to 2. Reboot for the change to take effect. | |
--- | |
Possible values for the wifi.powersave field are: |
This file contains 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
import glob | |
import os, random | |
import sys | |
import math | |
from datetime import datetime | |
from prompt_toolkit.shortcuts import button_dialog | |
#from random import seed | |
import sox | |
from pydub import AudioSegment | |
from pydub.silence import split_on_silence |
This file contains 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
#Type this in terminal (don't use SUDO) | |
gsettings set org.gnome.mutter overlay-key "'Super_L'" | |
gsettings set org.pantheon.desktop.gala.behavior overlay-action "'wingpanel --toggle-indicator=app-launcher'" |