I hereby claim:
- I am asif2bd on github.
- I am asif2bd (https://keybase.io/asif2bd) on keybase.
- I have a public key whose fingerprint is 81A0 A0C4 CCEF 3335 3B2D 9B01 44EE 5BF4 1D7B E793
To claim this, I am signing this object:
# Edit Config File. | |
CONFIG=wp-config.php | |
# Directory to remove. | |
DIR=public | |
if ! ping -c 3 --linger=5 8.8.8.8 >> /dev/null 2>&1; then | |
# Bail if there is no internet connection | |
printf "Could not install packages\n" | |
printf "No network connection detected\n\n" | |
exit 1 |
#!/usr/bin/env sh | |
# Install the Beta Tester plugin and set it to "Bleeding Edge" releases. | |
# Note: after installing plugin and setting the option, you may need to visit | |
# the site once before updating core version. | |
wp-beta() { | |
wp plugin install wordpress-beta-tester --activate | |
wp option set wp_beta_tester_stream unstable | |
wp core update |
#!/bin/bash | |
# For this script to work, save it somewhere in the executable path, like /usr/local/sbin/backup.sh | |
# make it executable: chmod +x /usr/local/sbin/backup.sh | |
# then add it to cron: crontab -e | |
# and add the line below, which will run backup 3am each day, then upload to Dropbox | |
# 0 3 * * * /usr/local/sbin/backup.sh > /dev/null 2>&1 | |
# You also need WP CLI installed: http://wp-cli.org/ | |
I hereby claim:
To claim this, I am signing this object: