Skip to content

Instantly share code, notes, and snippets.

View ilyasfoo's full-sized avatar

Ilyas Foo ilyasfoo

View GitHub Profile
@ilyasfoo
ilyasfoo / wc-restore-old-tooltips.php
Last active August 26, 2024 12:47 — forked from mino129/restore-old-tooltips.php
Restore the old tooltip functionality in WooCommerce (show order comments).
<?php
/**
* Plugin Name: Restore WooCommerce Order Status Tooltip
* Description: Restores the old tooltip functionality in WooCommerce to show order comments as it was before 9.1.0.
* Version: 1.0
* Author: mino129 & ilyasfoo
* Author URI: https://gist.github.com/ilyasfoo/2d614e01b2100f2b476e235bd4cdba06
* License: GPL-2.0+
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
*
<?php
/**
* Plugin Name: WooCommerce Calypso Bridge Helper
* Plugin URI: https://woocommerce.com
* Description: Utility to assist testing wc-calypso-bridge locally
* Author: WooCommerce
* Version: 0.1
*/
if ( ! class_exists( 'Atomic_Plan_Manager' ) ) {
@ilyasfoo
ilyasfoo / innobackupex-restore.sh
Created January 24, 2017 18:44 — forked from dalecaru/innobackupex-restore.sh
Scripts to create and restore full and incremental backups (for all databases on server) using innobackupex from Percona.
#!/bin/sh
#
# Script to prepare and restore full and incremental backups created with innobackupex-runner.
#
# This script is provided as-is; no liability can be accepted for use.
#
INNOBACKUPEX=innobackupex-1.5.1
INNOBACKUPEXFULL=/usr/bin/$INNOBACKUPEX
TMPFILE="/tmp/innobackupex-restore.$$.tmp"