sed -i ‘s#tray.manage_screen(global.screen, Main.panel.actor)#tray.manage_screen(Main.panel.actor)#’ ~/.local/share/gnome-shell/extensions/TopIcons@phocean.net/extension.js
A new nagios check I’ve written for checking a lot of URLs quickly: check_multi_url.
sudo dkms autoinstall
Do pgrep -a process instead Update: seems like older pgrep (such as that which comes with RHEL6) doesn’t support this, you can do pgrep -l instead though.
I removed Plymouth – it’s pointless anyway. yum remove plymouth* dracut –force reboot Also took the opportunity to move to the negativo17 nvidia repo.
I’ve only just discovered you can have wildcards in your hosts in ssh_config, ie Host db* User dbman Host www* User wwwadmin
If you’ve recently received a mail from Dropbox “[Action required] We’re updating Linux system requirements” and will be getting support discontinued due to running an old version of glibc, you probably want to move to Dropbox containerized via Docker. This will affect you if you run Centos / RHEL 6 or 7. Update: this docker …
A small skeleton you can put into your python emacs editing session: ;; insert python skeleton with auto-insert (eval-after-load ‘autoinsert ‘(define-auto-insert ‘(“\\.\\py\\'” . “python skeleton”) ‘(“” “#!/usr/bin/env python” \n “# ” (file-name-nondirectory (buffer-file-name)) \n \n “def main():” \n “pass” \n \n “if __name__ == ‘__main__’:” \n “main()” \n \n)))
Modern versions of logwatch support journalctl logs, to enable this in Centos / RHEL 7 just install the FC27 RPM (dependencies are minimal) and configure like so.
Was jealous that monodraw is only available for mac but jave is cross-platform (java) and pretty good. Also a mention for the related tool ditaa which is also very cool.