Skip to content

Instantly share code, notes, and snippets.

View mattie02's full-sized avatar

Matthew Hansen mattie02

View GitHub Profile
@wernersmit
wernersmit / plesk-run-composer-in-php7-mode.sh
Created February 24, 2017 21:08
Plesk Run Composer using PHP7
#!/bin/bash
sudo -u mypleksuser /opt/plesk/php/7.0/bin/php /usr/lib64/plesk-9.0/composer.phar install
anonymous
anonymous / child.js
Created February 13, 2015 21:50
map code
.maps iframe{
pointer-events: none;
}
jQuery( document ).ready(function($) {
$('.maps').click(function () {
$('.maps iframe').css("pointer-events", "auto");
});
});
@BFTrick
BFTrick / woocommerce-remove-virtual-billing-fields.php
Last active February 19, 2024 17:23
Remove the billing address fields for free virtual orders in WooCommerce
<?php
/**
* Plugin Name: WooCommerce Remove Billing Fields for Free Virtual Products
* Plugin URI: https://gist.github.com/BFTrick/7873168
* Description: Remove the billing address fields for free virtual orders
* Author: Patrick Rauland
* Author URI: http://patrickrauland.com/
* Version: 2.0
*
* This program is free software: you can redistribute it and/or modify
@jonthewayne
jonthewayne / doubletaptogo.js
Created July 29, 2013 19:34
doubletaptogo.js
/*
AUTHOR: Osvaldas Valutis, www.osvaldas.info
*/
;(function( $, window, document, undefined )
{
$.fn.doubleTapToGo = function( params )
{