My new current favourite theme for emacs is spolsky.
If you use elpy / highlight-indentation, you might want to define this too:
(set-face-background 'highlight-indentation-face "#1B2025")
My new current favourite theme for emacs is spolsky.
If you use elpy / highlight-indentation, you might want to define this too:
(set-face-background 'highlight-indentation-face "#1B2025")
I use autofs to mount a windows share on my router, this stopped working with “mount error(112): Host is down”.
Looks like it was due to some arch linux update, as per dmesg:
[ 5986.858242] No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 specify vers=1.0 on mount. For somewhat newer servers such as Windows 7 try vers=2.1.
Specifying version 1.0 fixed it. (Note: this is just on my home network, you might want more security elsewhere).
Fixed autofs entry:
data -fstype=cifs,vers=1.0,username=me,password=notthis,uid=me,gid=users,workgroup=HOME ://myrouter/data
;; This maps the M1 key (global-set-key [XF86Tools] 'smex)
Smex is M-x on steroids. It gives you an ido completion buffer for all commands you run this way, prioritizing more recently used to the front.
The equivalent to install the dependencies is:
dnf install texinfo libjpeg-devel libtiff-devel giflib-devel libXpm-devel gtk3-devel \ gnutls-devel ncurses-devel libxml2-devel
eg from 3.5 to 3.6
Not foolproof, but a quick hack
# In your old virtual site-packages directory
# with your new virtualenv activated
pip install `find . -mindepth 1 -maxdepth 1 -type d | egrep -v "(info|egg)$" | egrep -v "(pycache|pkg_resources)" | sed -e 's#./##g'`
alacritty – GPU powered shell
Install dconf-editor & go to
/org/gnome/terminal/legacy/profiles
The rpm-sphere rpm doesn’t work for me.
First install some packages, you may need more, these worked for me:
dnf install libindicator-gtk3 libdbusmenu-gtk3 libappindicator-gtk3 python-appindicator \ webkitgtk3 intltool
Then create a python virtualenv & activate it.
mkvirtualenv --system-site-packages -p $(which python2) utils
Download the variety & python-distutils-extra tarballs & untar.
Install both packages into your virtualenv (python-distutils-extra first).
python setup.py install
Go to virtualenv bin directory & rename variety.py (this upsets python module import)
cd ~/.virtualenvs/utils/bin mv variety.py varietybin.py rm variety.pyc
and run
variety
If you’re using nrpe socket activation and don’t have a template file, try this in /etc/systemd/system/nrpe@.service :
[Unit] Description=nrpe socket service Requires=nrpe.socket [Service] User=nrpe ExecStart=-/usr/bin/nrpe -c /etc/nrpe/nrpe.cfg --inetd StandardInput=socket StandardOutput=inherit StandardError=journal [Install] WantedBy=multi-user.target
You’ll also need /etc/systemd/system/nrpe.socket :
[Unit] Description=Nagios Remote Plugin Executor Documentation=http://www.nagios.org/documentation Before=nrpe.service Conflicts=nrpe.service [Socket] ListenStream=5666 Accept=yes [Install] WantedBy=sockets.target Then systemctl start nrpe.socket