Skip to content

Instantly share code, notes, and snippets.

Tibor Szentmarjay tibu

Block or report user

Report or block tibu

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tibu
tibu / add-dns-record.sh
Last active Sep 19, 2017 — forked from justinclayton/add-dns-record.sh
CLI to add DNS Records in Route53
View add-dns-record.sh
#!/bin/bash
## Allows for creation of "Basic" DNS records in a Route53 hosted zone
function main() {
zone_name=$1
record_name=$2
record_value=$3
[[ -z $record_value ]] && usage && exit 1
@tibu
tibu / whois-watch.sh
Created Aug 4, 2017 — forked from wei/whois-watch.sh
Monitor whois changes
View whois-watch.sh
#!/bin/bash
#
# Run this script once per minute
#
# * * * * * /path/to/whois-watch.sh google.com apple.com >> /var/log/whois-watch.log 2>&1
# update username in mail command
# update sed command depending on server return text
#
@tibu
tibu / phpmailer.sh
Last active Dec 28, 2016 — forked from cebe/phpmailer.sh
command for finding phpmailer files and line of code and change it to the latest version
View phpmailer.sh
#!/bin/bash
wget https://raw.githubusercontent.com/PHPMailer/PHPMailer/master/class.phpmailer.php
for file in $(find /var/www/ -name 'class.phpmailer.php' -print) ; do
echo $file
cp $file $file.bak
cp ./class.phpmailer.php $file
# dir=$(dirname $file)
# chown $(stat -c '%U' $dir):$(stat -c '%G' $dir) $file
You can’t perform that action at this time.