| Profile | download (kb/s) | upload (kb/s) | latency (ms) |
|---|---|---|---|
| Native | 0 | 0 | 0 |
| GPRS | 50 | 20 | 500 |
| 56K Dial-up | 50 | 30 | 120 |
| Mobile EDGE | 240 | 200 | 840 |
| 2G Regular | 250 | 50 | 300 |
| 2G Good | 450 | 150 | 150 |
| 3G Slow | 780 | 330 | 200 |
This file contains hidden or 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 | |
| //remove <?php when you paste inside your functions.php file | |
| function admin_login_redirect( $redirect_to, $request, $user ) { | |
| global $user; | |
| if( isset( $user->roles ) && is_array( $user->roles ) ) { | |
| if( in_array( "administrator", $user->roles ) ) { | |
| return $redirect_to; | |
| } |
This file contains hidden or 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
| #! /usr/bin/env ruby | |
| # NOTE: Requires Ruby 2.1 or greater. | |
| # This script can be used to parse and dump the information from | |
| # the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
| # | |
| # It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
| # | |
| # It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
This file contains hidden or 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 | |
| // Version CSS file in a theme | |
| wp_enqueue_style( 'theme-styles', get_stylesheet_directory_uri() . '/style.css', array(), filemtime( get_stylesheet_directory() . '/style.css' ) ); | |
| // Version JS file in a theme | |
| wp_enqueue_script( 'theme-scripts', get_stylesheet_directory_uri() . '/js/scripts.js', array(), filemtime( get_stylesheet_directory() . '/js/scripts.js' ) ); | |
| // Version CSS file in a plugin | |
| wp_enqueue_style( 'plugin-styles', plugin_dir_url( __FILE__ ) . 'assets/css/plugin-styles.css', array(), filemtime( plugin_dir_path( __FILE__ ) . 'assets/css/plugin-styles.css' ) ); | |
| // Version JS file in a plugin | |
| wp_enqueue_script( 'plugin-scripts', plugin_dir_url( __FILE__ ) . 'assets/js/plugin-scripts.js', array(), filemtime( plugin_dir_path( __FILE__ ) . 'assets/js/plugin-scripts.js' ) ) |
This file contains hidden or 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
| 'AT': (/^(AT)(U\d{8}$)/i), // Austria | |
| 'BE': (/^(BE)(\d{10}$)/i), // Belgium | |
| 'BG': (/^(BG)(\d{9,10}$)/i), // Bulgaria | |
| 'CY': (/^(CY)([0-5|9]\d{7}[A-Z]$)/i), // Cyprus | |
| 'CZ': (/^(CZ)(\d{8,10})?$/i), // Czech Republic | |
| 'DE': (/^(DE)([1-9]\d{8}$)/i), // Germany | |
| 'DK': (/^(DK)(\d{8}$)/i), // Denmark | |
| 'EE': (/^(EE)(10\d{7}$)/i), // Estonia | |
| 'EL': (/^(EL)(\d{9}$)/i), // Greece | |
| 'ES': (/^(ES)([0-9A-Z][0-9]{7}[0-9A-Z]$)/i), // Spain |
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export your tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
This file contains hidden or 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
| ######################################################################## | |
| # OPTIMAL .htaccess FILE FOR SPEED AND SECURITY @Version 2.0.9 - 03/2024 | |
| # ---------------------------------------------------------------------- | |
| # @Author: Andreas Hecht | |
| # @Author URI: https://seoagentur-hamburg.com | |
| # License: GNU General Public License v2 or later | |
| # License URI: http://www.gnu.org/licenses/gpl-2.0.html | |
| ######################################################################## | |
This file contains hidden or 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
| // open console and run cmd+v every time | |
| var i = 0; | |
| var el = document.querySelectorAll('[aria-label="Unstar this repository"]'); | |
| function myLoop () { | |
| setTimeout(function () { | |
| el[i].click() | |
| i++; | |
| if (i < 30) { |
This file contains hidden or 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_filter( 'caldera_forms_field_attributes', function( $attrs, $field, $form ){ | |
| if( 'button' === Caldera_Forms_Field_Util::get_type( $field, $form ) ){ | |
| $attrs[ 'data-form-id' ] = $form[ 'ID' ]; | |
| } | |
| return $attrs; | |
| }, 20, 3 ); |
NewerOlder