Icinga 2
Checking out Icinga 2 on Centos 7 – really impressed so far.
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 …
Continue reading ‘Hitting a link in an HTML email in mutt’ »
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”
perf.fail – do, learn, fail forward.. Great blog about web & system performance gotchas.
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.
Here’s a way to move your wordpress login page from wp-login.php to (in this case) /blog/secret-login-page with Apache rules. Note this is akin to moving ssh from port 22, you should set up strong authentication, rename your admin user and possibly consider one of the wordpress security plugins before using this. # move WordPress login …
Continue reading ‘Move WordPress login page with Apache config’ »
A command-line utility written in Go to sleep for a random period, then run another command line executable. Typical usage would be to run puppet agent in onetime mode in cron to save resources – the random sleep will help to avoid thundering herd issues at the puppetmaster. rndsleep –randmax=30 –command=”puppet agent –no-daemonize –onetime” would …
Continue reading ‘rndsleep – add a random delay to cron jobs’ »
To comment/uncomment a line in emacs, add this to your ~/.emacs ;; comment line (defun comment-or-uncomment-region-or-line () “Comments or uncomments the region or the current line if there’s no active region.” (interactive) (let (beg end) (if (region-active-p) (setq beg (region-beginning) end (region-end)) (setq beg (line-beginning-position) end (line-end-position))) (comment-or-uncomment-region beg end) ;(next-line) )) (global-set-key (kbd “M-#”) …