avatar

> /dev/null 2>&1

ramblings of a sysadmin

How to get A+ on SSL Labs

This will show how to get A+ on SSL Server Test from Qualys SSL Labs.

reStructuredText cheat sheet

My cheat sheet for reStructuredText syntax with examples how it will look after parsing. reStructuredText is an alternative for Markedown.

Configuring OpenVPN server on RTN66U

The router firmware Tomato, see previous post RT-N66u with Tomato by Shibby firmware, can act as an OpenVPN server. Using open Wi-Fi access points can be very useful and necessary, but it is inherently insecure. Using the router as an OpenVPN server can increase your privacy and security when you are on the go.

Better entropy with haveged

Entropy is important for generating good encryption keys. Do you have a busy server relying on crypto, generating keys, you need lot of good entropy. Or if you have a disk less system you don’t get as much entropy from the kernel that you may wish. One way to get a lot of good entropy is to use haveged.

RT-N66u with Tomato by Shibby firmware

This is a part of my personal notes. Use this information at your own risk. If you are uncertain or don’t know what you are doing. Do not proceed. Asus RT-N66U is a Linux based wireless router. The stock firmware can be a bit limiting for the more advanced user. If you want better QoS, OpenVPN or just more control over the network I recommend installing Tomato by Shibby firmware.

Find duplicate files

Find all duplicate files in current and sub-directories with bash.

Remove unused kernels

Removes all but current kernel and headers. This is a note for personal use. Use at your own risk :)

Bash getopts example

This is a small example how to use getopts in bash. I wrote it down for my own sake, as my own cheatsheet :)

Cloud virtual machine

Easiest way I know to create cloud virtual machine is to create a Droplet on Digital Ocean. DigialOcean

Modeline in vim

Options set in .vimrc applies to all vim files. You can use modelines to set specific vim options for one file. Modeline option must be set in .vimrc to take advantage of this option.