With nagios/icinga: check_mysql_dbs
Fix MIME types of proxied content in Apache
In Apache 2.2 at least, if you have downstream (eg proxied from Appserver) content with the wrong MIME type you cannot fix it with ForceType as this only works on local files. What you want to do is something like this:
Header set Content-Type application/javascript
This is particularly important nowadays as content sniffing is bad.
Chef Development Kit for Fedora
Just download & install the version for Redhat / Centos 7
Disclaimer: works for me, might not for you
Centos/Redhat dependencies for building python
Not exhaustive:
readline-devel openssl-devel zlib-devel libffi-devel bzip2-devel
Lookup longitude/latitude on command line with lonlat
lonlat: a quick script to lookup longitude & latitude for a town on the command line: https://github.com/jamespo/commandmisc/blob/master/scripts/lonlat
Requires python 3. Run with lonlat -m usage for how to setup, then lonlat -h.
30 Amazing Python Projects
Some interesting ones here. I like the look of sanic.
Reduce firefox URL bar dropdown size
Go to about:config and change this value browser.urlbar.maxRichResults
Attach from Clipboard – thunderbird addon
Create file attachments directly from the system clipboard.
Source: Attach from Clipboard
tldr – simplified man pages
Find man pages too verbose and all you want are some examples?
Try tldr – I installed the python client in a virtualenv
Tip: you can get git subcommands docs by putting in the “proper” binary, eg tldr find git-checkout
Webextension compatible extensions for Firefox 57
Now FF 57 (Quantum) has been released, old style extensions are no longer supported.
Here are replacements that I’ve found:
- Feed RSS mini icon on Bookmarks Button – Awesome RSS
- DownThemAll – Download Star
- Click-to-Play Manager – ???
- Copy Plain Text 2 – Copy PlainText
- FireGestures – Foxy Gestures
- PrefBar – ??? Might require multiple addons
- ProxySwitcher – Proxy Switcher and Manager (annoyingly doesn’t support PAC files)
- Stylish – Stylus
- Pocket – In My Pocket
- wheelclear – ???