Skip to content

Instantly share code, notes, and snippets.

@Bonno
Bonno / install_latest_docker_compose.sh
Last active May 22, 2019 17:55 — forked from luislobo/install_latest_docker_compose.sh
Install Latest Docker and Docker-compose on Ubuntu
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
##
## https://docs.docker.com/install/linux/docker-ce/ubuntu
##
# Install packages to allow apt to use a repository over HTTPS:
sudo apt install apt-transport-https ca-certificates curl software-properties-common
@Bonno
Bonno / ca.md
Last active February 11, 2024 12:08 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

@Bonno
Bonno / ubuntu-rsyslog-hack.sh
Last active April 20, 2016 12:32 — forked from dragolabs/ubunru-rsyslog-hack.sh
Hack to repair 100% CPU load by rsyslog on ubuntu 12.04 in openvz
#!/bin/sh
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start