(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| #!/bin/bash | |
| HYPERTHREADING=1 | |
| function toggleHyperThreading() { | |
| for CPU in /sys/devices/system/cpu/cpu[0-9]*; do | |
| CPUID=`basename $CPU | cut -b4-` | |
| echo -en "CPU: $CPUID\t" | |
| [ -e $CPU/online ] && echo "1" > $CPU/online | |
| THREAD1=`cat $CPU/topology/thread_siblings_list | cut -f1 -d,` |
| #!/usr/bin/env python | |
| import requests | |
| import urllib.request | |
| from bs4 import BeautifulSoup | |
| '''When given a list of YouTube URLs inside `yt.txt`, this script will | |
| use Requests and BeautifulSoup4 to iterate over that list of URLS and | |
| scrape video titles from each link. The output is then appended on to | |
| the same `yt.txt` input file. Because of this appendage action, note | |
| that running this script multiple times on the same file will result in |
NixOS provides good support for the Xfce desktop environment out-of-the-box, but the defaults are minimal. The files in this Gist provide a more complete experience, including a suite of basic software and plugins as well as an optional home-manager configuration for theming.
The key additions to the default Xfce provided by NixOS are: