An open-source service monitoring system and time series database.
via Prometheus.
An open-source service monitoring system and time series database.
via Prometheus.
If you have a list/tuple in python and you want to use the items in there to return an index of the position of the item, you can do so like this:
a = ('archive', 'audio', 'document', 'video', 'executable',
'image', 'misc', 'parity')
lookup = { v:k for k,v in enumerate(a) }
With POODLE, everyone is hurrying to disable SSLv3 on their webservers. However some sites still have clients that for whatever reason have not updated from XP / IE6 (it’s only been out 13 years, what’s the rush?) Instead of immediately locking them out you might like to give them a few days warning with some Apache 2.2 config as below:
RewriteEngine On RewriteCond %{HTTPS} =on RewriteCond %{SSL:SSL_PROTOCOL} =SSLv3 RewriteRule .* http://www.webscalability.com/blog/ [L,R]
Set the RewriteRule to an explanatory page of your choosing (if it’s on the same HTTPS server, you’ll need to exclude the page to prevent a rewrite loop).
If you don’t have IE6 to hand, you can test this as below:
echo "GET /" | openssl s_client -connect yourpoodleserver.com:443 -ssl3 2>&1
Checking out Icinga 2 on Centos 7 – really impressed so far.
add
macro attach V |'lynx -stdin'\n
to .muttrc
then when you are in the attachment menu, select the HTML content and hit V. This will launch a lynx process to view the content, follow links, etc. This is on top of having text/html ; lynx -dump -force_html %s ; copiousoutput
or similar set in your ~/.mailcap to view inline.
SHAAAAAAAAAAAAA | Do you have the latest SHA???.
A great article on some reconfiguration you may need to do on your SSL certificates – have just resubmitted my certificate request and now have a SHA-256 hashed cert.
Collins – Infrastructure Management for Engineers.
A tumblr inhouse tool for CMDB / configuration management / provisioning.
Filtering Lines in a Text File using Emacs – Erik Öjebo.se.
aka “grep for Emacs”
I couldn’t get twittering-mode for emacs to work in a console (gpg decryption of credentials failed), but rainbowstream is great. Stick it in a screen or tmux session.