git config --global user.signingkey [email protected]
# Now you can make a release as normal, but with a signed commit.
git tag -s v0.1 -m "the best version yet"
# The only difference here is the -s.
# Before you upload the tag be sure to check your signature with
This file contains hidden or 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
<?php declare(strict_types=1); | |
/** | |
* @author hollodotme | |
* This script receives a POST request from www.serverguard24.de | |
* and transforms it to a POST request to a slack webhook URL with JSON payload | |
* 1. Configure a slack webhook URL and paste it here in line 75 | |
* 2. Put this script on a server an make it accessible via http | |
* 3. Add a contact at serverguard24.de and paste the URL to this script in HTTP Push URL field | |
* 4. Add the contact to your server guard checks | |
* NOTE: Script is written for PHP >= 7.1 |
This file contains hidden or 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
<?php | |
/** | |
* @author hollodotme | |
*/ | |
/** | |
* Class HttpCode | |
*/ | |
abstract class HttpCode | |
{ |
This file contains hidden or 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
PATTERN="*" \ | |
for file in `ls -1 "$PATTERN"`; do \ | |
git mv -f "$file" `echo "$file" | perl -nE 'say ucfirst'` \ | |
done |
# prepare
$ sudo apt-get install -y linux-headers-generic build-essential dkms
# get the right ISO from http://download.virtualbox.org/virtualbox/
$ wget http://download.virtualbox.org/virtualbox/5.2.8/VBoxGuestAdditions_5.2.8.iso
# create a mount folder
$ sudo mkdir /media/VBoxGuestAdditions
# mount the ISO
$ sudo mount -o loop,ro VBoxGuestAdditions_5.2.8.iso /media/VBoxGuestAdditions
# install the guest additions