- Java 11
- Maven
- Redis
- PostgreSQL
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 | |
| /** | |
| * Include ACF fields in REST API response | |
| * | |
| * Post, Page or Custom Posttype | |
| */ | |
| function my_theme_acf_to_rest_api( $response, $post, $request ) { | |
| if ( ! function_exists( 'get_fields' ) ) { | |
| return $response; | |
| } |
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: Cryptonote-based Coin Adapter for XYZ coin | |
| Plugin URI: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/monero-coin-adapter-extension | |
| Description: Example of how to add a CryptoNote-based wallet to the Monero Coin Adapter extension for Bitcoin and Altcoin Wallets. | |
| Version: 0.1.1 | |
| Author: Alex Georgiou <alexgeorgiou@gmail.com> | |
| Author URI: http://alexgeorgiou.gr | |
| */ | |
| function wallets_cryptonote_coins_filter( $coins ) { |
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
| @extends('layouts.app') | |
| @section('head') | |
| <link rel="stylesheet" href="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css"> | |
| <script src="https://code.jquery.com/jquery-1.12.4.js"></script> | |
| <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script> | |
| <script src="https://cdn.jsdelivr.net/lodash/4.17.2/lodash.min.js"></script> | |
| <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/gridstack.js/0.2.6/gridstack.css"/> |
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
| from os.path import basename | |
| from urlparse import urlparse | |
| from os.path import splitext, basename | |
| from multiprocessing.dummy import Pool | |
| from urllib3 import HTTPConnectionPool | |
| from tqdm import tqdm | |
| import fnmatch | |
| import json | |
| import os | |
| import errno |
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
| function my_wp_bouncer_number_simultaneous_logins($num) { | |
| return 3; | |
| } | |
| add_filter('wp_bouncer_number_simultaneous_logins', 'my_wp_bouncer_number_simultaneous_logins'); |
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
| // The button clicked events can be replaced with any slots, and/or you can define the | |
| // switchPalette() to be a slot to use with QObject::connect() | |
| // Dark Palette push button | |
| void MainWindow::on_switchToDarkTheme_clicked() | |
| { | |
| this->switchPalette(darkPalette); | |
| } | |
| // Light palette push button |
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
| qApp->setStyle(QStyleFactory::create("Fusion")); | |
| QPalette darkPalette; | |
| darkPalette.setColor(QPalette::Window, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::WindowText, Qt::white); | |
| darkPalette.setColor(QPalette::Base, QColor(25,25,25)); | |
| darkPalette.setColor(QPalette::AlternateBase, QColor(53,53,53)); | |
| darkPalette.setColor(QPalette::ToolTipBase, Qt::white); | |
| darkPalette.setColor(QPalette::ToolTipText, Qt::white); | |
| darkPalette.setColor(QPalette::Text, Qt::white); |
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: WooCommerce - Show products IDs | |
| * Plugin URI: http://www.remicorson.com/easily-find-woocommerce-products-id/ | |
| * Description: Adds a new columns to products list page to display product IDs | |
| * Version: 1.0 | |
| * Author: Remi Corson | |
| * Author URI: http://remicorson.com | |
| * Requires at least: 3.5 | |
| * Tested up to: 3.5 |
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 the action setting | |
| add_filter( 'wc_points_rewards_action_settings', 'points_rewards_newsletter_action_settings' ); | |
| function points_rewards_newsletter_action_settings( $settings ) { | |
| $settings[] = array( | |
| 'title' => __( 'Points earned for newsletter signup' ), | |
| 'desc_tip' => __( 'Enter the amount of points earned when a customer signs up for a newsletter via MailChimp.' ), |
NewerOlder