Skip to content

Instantly share code, notes, and snippets.

@hmngwy
hmngwy / wp_backup.sh
Last active July 20, 2017 08:02
Backs Up Wordpress Folder and DB in one go
function wpbackup {
folder=$1
name=$1
dest="."
if [ ! -z $2 ]; then
dest=$2
fi
if [ ! -z $3 ]; then
name=$3
fi
@hmngwy
hmngwy / install-all-firehol.sh
Created March 12, 2019 15:37
Install the whole firehol suite
#!/bin/bash
# from https://github.com/firehol/firehol/wiki/Install-the-whole-firehol-suite
LC_ALL=C
# you need to install a basic build environment
# this is for ubuntu, change it according to your needs for other systems
# apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autogen automake pkg-config traceroute ipset curl nodejs zip unzip jq ulogd autoconf-archive firehol || exit 1
for x in iprange firehol netdata

Keybase proof

I hereby claim:

  • I am hmngwy on github.
  • I am patambrosio (https://keybase.io/patambrosio) on keybase.
  • I have a public key ASCgb23a1pULQ4RYeNJJi0WWRhlrd-h7gIGDdncJUGOn_Qo

To claim this, I am signing this object: