Start command:
ddrescue -d /dev/sda output.img output.mapfileNOTE: If direct disc access is not available in your system, try raw devices.
| /* Available globally */ | |
| :root { | |
| --wpe-transition-distance: 15px; | |
| --wpe-transition-rotation: 15deg; | |
| /* use as globals if you wish to | |
| e.g. var(--wpe-animation-duration--fast); | |
| */ | |
| --wpe-animation-duration--fast: 0.2s; |
| <?php | |
| // //remove emoji support | |
| remove_action('wp_head', 'print_emoji_detection_script', 7); | |
| remove_action('wp_print_styles', 'print_emoji_styles'); | |
| // // Remove rss feed links | |
| remove_action( 'wp_head', 'feed_links_extra', 3 ); | |
| remove_action( 'wp_head', 'feed_links', 2 ); |
| // Save the current language in post_meta when checkout is processed (used to identify correct Email language) | |
| add_action('woocommerce_checkout_update_order_meta', 'dartrax_save_language_on_checkout', 10, 2 ); | |
| function dartrax_save_language_on_checkout( $order_id, $posted ) { | |
| if( ! class_exists('TRP_Translate_Press') ) return ''; | |
| global $TRP_LANGUAGE; | |
| update_post_meta( $order_id, 'order_language', $TRP_LANGUAGE ); | |
| } | |
| // Woocommerce Shipment Mails | |
| add_action( 'woocommerce_order_status_processing_to_cancelled_notification','dartrax_prepare_locale_for_Mail_with_order_id', 5, 1 ); |
| <?php | |
| /** | |
| * Plugin Name: [Forminator] Skip Steps in Pagination Form | |
| * Plugin URI: https://premium.wpmudev.org | |
| * Description: With this snippet and some extra configurations in your form is possible to skip steps according to user-selected choices in a control field - works with checkboxes, radio buttons and selects. | |
| * Author: Glauber Silva @ WPMUDEV | |
| * Author URI: https://premium.wpmudev.org | |
| * Jira Task: FOR-428 and SLS-263 and SLS-2035 | |
| * License: GPLv2 or later | |
| * |
| # source: | |
| # https://discussions.apple.com/message/32354266#message32354266 | |
| sudo mdutil -Ea | |
| sudo mdutil -ai off | |
| sudo mdutil -ai on |
| /** | |
| * @OnlyCurrentDoc | |
| */ | |
| var MAXROWS = 1000 | |
| var SEEKWELL_J_SHORT_DATES = { day: "yyyy-MM-dd", month: "yyyy-MM", year: "yyyy", dayNum: "dd", monthNum: "MM", yearNum: "yyyy", week: "W" } | |
| var SEEKWELL_J_TIMEZONE = "UTC" | |
| var HOST = '35.196.130.133' | |
| var PORT = '3306' | |
| var USERNAME = 'apps_script_demo' |
| // Removing plugin controls from admin | |
| function remove_plugin_controls($actions, $plugin_file, $plugin_data, $context){ | |
| if (array_key_exists('edit', $actions)) { | |
| unset($actions['edit']); | |
| } | |
| if (array_key_exists('deactivate', $actions)) { |
| /** Import CSV with basic auth | |
| * https://modjeska.us/csv-google-sheets-basic-auth/ | |
| * Synopsis: | |
| populateSheetWithCSV(foo, csvUrl, base64pw, ignoreHeaders, bustCache) | |
| * Usage: | |
| =populateSheetWithCSV("Any Value", "https://csv-url", "base64pw", TRUE, TRUE) |