国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
# Nautilus Backspace Back Extension | |
# | |
# Place me in ~/.local/share/nautilus-python/extensions/, | |
# ensure you have python-nautilus package, restrart Nautilus, and enjoy :) | |
# | |
# This script was written by molaeiali and is released to the public domain | |
import os, gi | |
gi.require_version('Nautilus', '4.0') | |
from gi.repository import GObject, Nautilus, Gtk, Gio, GLib |
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
#!/bin/sh | |
# | |
# This script should prevent the following suspend errors | |
# which freezes the Dell Inspiron laptop. | |
# | |
# Put it in /usr/lib/systemd/system-sleep/xhci.sh | |
# | |
# The PCI 00:14.0 device is the usb xhci controller. | |
# | |
# kernel: [67445.560610] pci_pm_suspend(): hcd_pci_suspend+0x0/0x30 returns -16 |