Skip to content

Instantly share code, notes, and snippets.

View flyingwebie's full-sized avatar
:octocat:
Coding coding coding...bug

Flying Web Solutions flyingwebie

:octocat:
Coding coding coding...bug
  • flyingwebsolutions
  • Cork
View GitHub Profile
@flyingwebie
flyingwebie / allinonemigration.md
Created January 21, 2023 16:01 — forked from giovanni-d/allinonemigration.md
All-in-One WP Migration - Restore From Server (without PRO version) - Restore

All-in-One WP Migration Restore From Server (without pro version)

If you don't want to pay for the PRO version of this plugin, and you want to use the "Restore from Server" functionally that was present in the version 6.77, follow the instructions below:

  1. Open the js file: wp-content/plugins/all-in-one-wp-migration/lib/view/assets/javascript/backups.min.js
  2. On line 1208, replace the code below:
$('.ai1wm-backup-restore').click(function (e) {
@flyingwebie
flyingwebie / wp_replace_domain.md
Created February 22, 2022 14:28 — forked from anhkevin/wp_replace_domain.md
Mysql replace domain Wordpress

Mysql replace domain Wordpress

SQL to replace domain name in Wordpress MySQL

Usage

  • Step 1: Updating serialised array in mysql
  • Step 2: Updating not serialised in mysql

MySQL Cheat Sheet

Help with SQL commands to interact with a MySQL database

MySQL Locations

  • Mac /usr/local/mysql/bin
  • Windows /Program Files/MySQL/MySQL version/bin
  • Xampp /xampp/mysql/bin

Add mysql to your PATH

@flyingwebie
flyingwebie / README.md
Created January 7, 2022 12:36 — forked from AidasK/HowToDeleteAllCloudflareRecors.md
Cloudflare delete all DNS records. Just go to cloudflare dns zones, open your browers developer console and paste this javascript code.

image

@flyingwebie
flyingwebie / delete_customers_and_orders_from_magento.sql
Last active September 16, 2021 19:08 — forked from joostvanveen/delete_customers_and_orders_from_magento.sql
Delete all customers and orders from Magento 1*
--
-- This query delelets all customers and orders from your
-- Magento 1.* install. Handy, if you have a bloated
-- Magento database and you need to do a bit
-- of cleaning up for use on a local machine.
--
-- USE AT OWN RISK. ALWAY BACKUP YOUR DATABASE FIRST.
--
-- -----------------------------------------