Skip to content

Instantly share code, notes, and snippets.

# meant to go with Ubuntu 18.04.
$ echo "deb [trusted=yes] https://apt.fury.io/caddy/ /" \
| sudo tee -a /etc/apt/sources.list.d/caddy-fury.list
$ sudo apt update
$ sudo apt install caddy
# start/restart commands
$ sudo systemctl daemon-reload
@Helmi
Helmi / divi-hide-remove-projects-cpt.php
Last active June 24, 2018 13:29
Divi: "Projekte" Inhaltstyp verstecken
<?php
//
// Versteckt den Inhaltstyp Projekte im Adminbereich von WordPress beim Einsatz des Divi Builders/Themes
//
// Mehr Infos bei Divi.World unter:
// https://divi.world/projekte-aus-divi-entfernen
add_filter('et_project_posttype_args', 'mytheme_et_project_posttype_args', 10, 1);
function mytheme_et_project_posttype_args($args) {
return array_merge($args, array(

Keybase proof

I hereby claim:

  • I am helmi on github.
  • I am helmi (https://keybase.io/helmi) on keybase.
  • I have a public key whose fingerprint is D77B 8B79 3530 0C52 8FE5 AB94 80CB AB3F B086 7700

To claim this, I am signing this object:

@Helmi
Helmi / nodereinstall.sh
Created February 26, 2018 08:41 — forked from brock/nodereinstall.sh
Complete Node Reinstall. I've moved this to a repo at http://git.io/node-reinstall
#!/bin/bash
# node-reinstall
# credit: http://stackoverflow.com/a/11178106/2083544
## program version
VERSION="0.0.13"
## path prefix
PREFIX="${PREFIX:-/usr/local}"
@Helmi
Helmi / ProfitTrailer-ssl.md
Last active April 20, 2019 22:56
ProfitTrailer SSL Encryption Tutorial (Ubuntu 16.04)

Read before you start

Since this little guide has been posted time has pased by. While it still should work you might want to look at a better alternative to get Profit Trailer on SSL and at the same time easily run a bunch of addons.

Check my project Profit Docker on its own Github Repo.


Securing ProfitTrailer behind SSL Reverse Proxy