Skip to content

Instantly share code, notes, and snippets.

@andreiavram
andreiavram / extend_lvm.txt
Created June 27, 2017 17:47
Increasing LVM disk space
# inspired from
# https://www.transip.nl/vragen/446-mijn-partitie-via-lvm-vergroten/
# first, check that you have lvm installed
sudo lvdisplay
# if you get nothing, you don't have lvm and you don't have a lot of options
# check you actually have additional free space
sudo parted /dev/vda
# you can then use, inside parted
@pauloromeira
pauloromeira / tlp
Last active May 12, 2024 21:36
My TLP config file (/etc/default/tlp) for ThinkPad
# ------------------------------------------------------------------------------
# tlp - Parameters for power saving
# See full explanation: http://linrunner.de/en/tlp/docs/tlp-configuration.html
# dir: /etc/default/tlp
# Hint: some features are disabled by default, remove the leading # to enable
# them.
# Set to 0 to disable, 1 to enable TLP.
@bradmontgomery
bradmontgomery / install-comodo-ssl-cert-for-nginx.rst
Last active June 10, 2024 15:37
Steps to install a Comodo PositiveSSL certificate with Nginx.

Setting up a SSL Cert from Comodo

I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.

These are the steps I went through to set up an SSL cert.

Purchase the cert