Skip to content

Instantly share code, notes, and snippets.

View Asif2BD's full-sized avatar
💭
I may be slow to respond.

M Asif Rahman Asif2BD

💭
I may be slow to respond.
View GitHub Profile
@Asif2BD
Asif2BD / wp_core_setup_local_by_flywheel.sh
Created April 17, 2020 05:42 — forked from mehul0810/wp_core_setup_local_by_flywheel.sh
WordPress Core Development SetUp on Local By FlyWheel
# 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
@Asif2BD
Asif2BD / wp-beta-setup.sh
Created August 19, 2016 22:54 — forked from morganestes/wp-beta-setup.sh
Set up a WordPress site for beta testing with wp-cli.
#!/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
@Asif2BD
Asif2BD / backup.sh
Last active August 29, 2015 14:11 — forked from codeablehq/backup.sh
#!/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/

Keybase proof

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: