Category Archives: devops

Linux: query remote ntp (and show time difference)

Sometimes you just want to query a remote ntp server (and maybe see the difference between the two clocks). In this case you can use the tool sntp. From the sntp man page: The default is to write the estimated …

Read more »

OpenSSL Cheat Sheat

I know I know, there are plenty of openssl cheat sheets out there already1)http://www.sslshopper.com/article-most-common-openssl-commands.html2)https://github.com/stanzgy/wiki/blob/master/network/openssl-self-signed-certs-cheatsheet.md. But as I keep using googling it again and again to find the most useful openssl commands I decided to do my own – the first …

Read more »

Howto: Disable persistent Network Interface Names (Debian Stretch)

How to disable persistent network interface names in Debian 9 (Stretch) edit /etc/default/grub and change the following line GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″ afterwards run “update-grub“

View “raw” diff on Github

Viewing a “raw” diff in Github is easy – if you know how. If you are viewing a commit on github the URL looks something like this: https://github.com/voxpupuli/puppet-php/commit/50e1c1733a931dd3d9d21db8a4f584c9984100d1 Adding “.diff” to the URL will generate the raw diff for you …

Read more »