Updated: Just use qutebrowser (and disable javascript). The web is done for.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Name: YOURLS WordPress Widget | |
Description: A WordPress widget to display a YOURLS shorturl and QR code | |
Code URI: https://gist.github.com/joshp23/3f990e6ec36e24ba53985968bbfa89f1 | |
Author: Josh Panter | |
Author URI: https://unfettered.net | |
====================================================================== | |
This widget will create &/or fetch the existing short URL for a WordPress post from YOURLS, | |
provide a button to copy the short url, and optionally display a qrcode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define( 'ALTERNATE_WP_CRON', true ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Gravity Wiz // Gravity Forms Coupons // Exclude Products from Coupon Discount | |
* | |
* Exclude specific products when calculating discounts with the Gravity Forms Coupons add-on. | |
* | |
* Requires Gravity Forms Coupons v1.1 | |
* | |
* @version 1.2 | |
* @author David Smith <david@gravitywiz.com> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* WARNING! THIS SNIPPET MAY BE OUTDATED. | |
* The latest version of this snippet can be found in the Gravity Wiz Snippet Library: | |
* https://github.com/gravitywiz/snippet-library/blob/master/gravity-forms/gw-edit-product-and-payment-details.php | |
*/ | |
/** | |
* Gravity Wiz // Gravity Forms // Edit Products & Payment Details | |
* | |
* Edit products (and payment details) via the Gravity Forms Edit Entry view. |
- Auto-brightness is constantly changing when switching apps or views of an app, eventhough the surrounding ambient light doesn't change much. I've disabled it.
- Press both 'Home' button and 'Sleep/wake' button, takes screenshot, like iPhone.
- Gallery, Camera, Music app, etc don't work without a microSD memory card in the phone.
- If 'USB mass storage' option is enabled in Settings app -> 'Media storage', Gallery and Camera app doesn't work while plugged in (charging) to the computer, stating that the memory card is in use.
- 3 ways to install web apps; via Marketplace, Firefox browser or the Search screen. Sometimes generate different icons on the Home screen from each method.
Firefox browser seems to have a viewport issue, where web pages seems to be 2x zoomed out. Once the web page is added to Home screen, relaunch from there, the web page is no longer 2x zoomed out.[1] Marketplace app somehow still have issue.- Scrolling on t
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp' , 'wc_order_tabs' ); | |
function wc_order_tabs() { | |
// Remove tabs | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_description_tab', 10 ); | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_attributes_tab', 20 ); | |
remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30 ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Template Name: Print Processing Orders :) | |
*/ | |
if (!is_user_logged_in() || !current_user_can('manage_options')) wp_die('This page is private.'); | |
?> | |
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> |