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 | |
| /** | |
| * Kadence Elements Preview Fix | |
| * | |
| * This plugin fixes the content for Kadence Elements previews in | |
| * Gutenberg. When previewing, the unsaved content is spliced into | |
| * $GLOBALS['post'], but Kadence runs pulling the saved content | |
| * instead. This plugin ensures that the correct content is | |
| * displayed in the preview. | |
| */ |
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 | |
| // Usage: Drop this file into `wp-content/mu-plugins/` and it will disable logins and authentication. | |
| namespace WPFreeze; | |
| // In addition, the salts should be temporarily rotated in wp-config.php to invalidate existing sessions. | |
| define( 'WP_FREEZE_MESSAGE', 'This site is currently frozen for maintenance. Please check back later.' ); |
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 | |
| // Plugin Name: George Load Time Debugging | |
| function qm_track_current_action( $suffix = '' ) { | |
| static $last_action = null; | |
| if ( $last_action ) { | |
| do_action( 'qm/stop', $last_action ); | |
| } | |
| if ( function_exists( 'current_action' ) ) { |
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 | |
| /** | |
| * Plugin name: Georgestephanis Custom CSS | |
| */ | |
| namespace Georgestephanis\CustomCSS; | |
| add_action( 'admin_menu', function() { | |
| add_theme_page( |
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 | |
| /** | |
| * This code's purpose is to ensure that any clones of a | |
| * site hosted on Atomic are run safely so that processes | |
| * meant to happen only on production (emailing customers, | |
| * api calls, cron jobs, etc) are properly removed and that | |
| * Safety Net is appropriately configured. | |
| */ | |
| $cached_ATOMIC_SITE_ID = get_option( 'team51_ATOMIC_SITE_ID' ); |
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 | |
| define( 'DICT_FILE', '/usr/share/dict/words' ); | |
| $allwords = file_get_contents( DICT_FILE ); | |
| $qty = preg_match_all( '/^\w{4}$/m', $allwords, $matches ); | |
| echo "\r\n\e[32mLoaded \e[37m{$qty}\e[32m four-letter words in from \e[37m" . DICT_FILE . "\e[32m ...\r\n\e[0m"; | |
| $fourletter = $matches[0]; |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>40k Datacard Testing</title> | |
| <link rel="stylesheet" href="style.css" /> | |
| </head> | |
| <body> | |
| <div class="datacard"> | |
| <header> | |
| <h2>Terminator Squad</h2> |
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 | |
| function set_myself_afk() { | |
| $tz = date('I') ? 'EST' : 'EDT'; | |
| $expiration = strtotime( "+1 Weekday 9am {$tz}" ); | |
| $weekday = array( | |
| 'status_text' => 'AFK for the evening.', | |
| 'status_emoji' => ':family:', | |
| 'status_expiration' => $expiration, |
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
| <?xml version="1.0" encoding="iso-8859-1" ?> | |
| <!DOCTYPE muclient> | |
| <muclient> | |
| <plugin name="LotJ_Race_Exporter" author="@Daljo" id="d75f227c34fe0f9af2f20f66" language="Lua" purpose="Export race data." requires="4.73" version="0.1" save_state="y"> | |
| <description trim="y"> | |
| <![CDATA[ | |
| -- Race Scraper / Exporter -- | |
| ]]> |
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
| <?xml version="1.0" encoding="iso-8859-1" ?> | |
| <!DOCTYPE muclient> | |
| <muclient> | |
| <plugin name="LotJ_Cargo_Scraper" author="@Daljo" id="e95b128bc53345a4a39b29b4" language="Lua" purpose="Scrape cargo data." requires="4.73" version="0.1" save_state="y"> | |
| <description trim="y"> | |
| <![CDATA[ | |
| -- Cargo Scraper / Exporter -- | |
| ]]> |
NewerOlder