Skip to content

Instantly share code, notes, and snippets.

Avatar

OnlyHardOfficial OnlyHardOfficial

  • OnlyHard Projects
  • Portugal
View GitHub Profile
@OnlyHardOfficial
OnlyHardOfficial / cloudflare-update-record.sh
Created Aug 20, 2020 — forked from benkulbertis/cloudflare-update-record.sh
Cloudflare API v4 Dynamic DNS Update in Bash
View cloudflare-update-record.sh
#!/bin/bash
# CHANGE THESE
auth_email="user@example.com"
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings
zone_name="example.com"
record_name="www.example.com"
# MAYBE CHANGE THESE
ip=$(curl -s http://ipv4.icanhazip.com)
@OnlyHardOfficial
OnlyHardOfficial / mailparse installation
Last active Jun 15, 2018 — forked from thelbouffi/mailparse installation
how to instal mailparse on php7
View mailparse installation
REQUIREMENTS:
- php-pear (install automatically php7.0-xml and php-xml)
sudo apt-get install php-pear
-php7.0-mbstring
sudo apt-get install php7.0-mbstring
-php7.0-dev
sudo apt-get install php7.0-dev
INSTALLATION:
1- cd /tmp/xxxxxx (e.g: cd /tmp/pear/download)