Copyright 2015 Barry Allard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
################################################ | |
# Cleanup Linux Installation | |
# Author: Thomas Burger | |
# Version 2.0 | |
# Date: 2022-08-10 | |
# NO WARRANTIES. ABSOLUTELY USE AT OWN RISK! | |
# Version 2.0 implements a new method - script | |
# works read only in dry run by default. Use | |
# -e parameter to execute the changes. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PID_LIST= | |
platform='unknown' | |
unamestr=`uname` | |
if [[ "$unamestr" == 'Linux' ]]; then | |
platform='linux' | |
elif [[ "$unamestr" == 'FreeBSD' ]]; then | |
platform='freebsd' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.type.storage,.type.storage.declaration, .storage.class.modifier { | |
font-family: 'flottflott'; | |
font-size: 1.7em; | |
} | |
.type.storage.arrow.function { | |
font-family: 'Fira Code' | |
} | |
.decorator.name, .decorator.punctuation:not(.block), .import.keyword { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am f33rx on github. | |
* I am f33rx (https://keybase.io/f33rx) on keybase. | |
* I have a public key ASB-2fmsbeVr2i5bmUU9Xsx9SSUHKkpjBuQu1J6x4dASQwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am f33rx on github. | |
* I am sekur (https://keybase.io/sekur) on keybase. | |
* I have a public key ASAkzWZqOyJAG9Ku-f96282klAoJ88WMGLI_FhIwFzeAygo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Perform the Puppet master migration by changing the server value in | |
# puppet.conf | |
# and reset nodes certificates | |
# | |
class puppet::migrate ( $puppetmaster ) { | |
if $puppetmaster == undef { | |
fail('You must define the targeted Puppet master to perform the migration') | |
} |
This was obtained from y-yoshinoya at https://gist.github.com/y-yoshinoya/413fcd3f6bfcfce54456
wget -q -O - http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | sudo apt-key add -
sudo sh -c 'echo "deb http://download.virtualbox.org/virtualbox/debian precise non-free contrib" >> /etc/apt/sources.list.d/virtualbox.org.list'
sudo apt-get update
sudo apt-get install linux-headers-$(uname -r) build-essential virtualbox-4.3 dkms
#Some discussions on logging from docker: Using logstash Using Papertrail
A lot of this boils down to whether you want a single or multi-process (systemd, supervisord etc.) container...
NewerOlder