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 | |
| /** | |
| * 1. Add custom query variables to make them publicly available. | |
| */ | |
| function appp_query_vars( $vars ) { | |
| // Variable name changed to 'id' | |
| $vars[] = 'id'; | |
| return $vars; | |
| } |
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
| add_filter( 'tec_common_ai_mcp_is_active', '__return_false' ); |
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
| import SwiftUI | |
| /// A reusable SwiftUI view that features a stretchy header positioned below a navigation bar. | |
| /// | |
| /// This view is generic and accepts two custom view builders ("slots"): | |
| /// - `header`: The content to display in the stretchy header area. | |
| /// - `content`: The main scrollable content to display below the header. | |
| struct ReusableStretchyHeaderView<HeaderContent: View, MainContent: View>: View { | |
| // MARK: Properties |
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
| /** | |
| * Remove BP pages nag. | |
| * | |
| * @return void | |
| */ | |
| function appp_remove_bp_pages_notices() { | |
| $notices = buddypress()->admin->notices; | |
| foreach ( $notices as $key => $notice ) { |
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
| -- | |
| format_version: '11' | |
| default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
| project_type: ionic | |
| workflows: | |
| Deploy_Android: | |
| steps: | |
| - activate-ssh-key@4: | |
| run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | |
| - [email protected]: {} |
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
| <html> | |
| <head> | |
| <title>Gamefroot Arcade</title> | |
| <style> | |
| body, html { | |
| margin: 0; | |
| padding: 0; | |
| background: black; | |
| overflow: hidden; | |
| } |
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
| location ~* ^.+\.(svg|svgz|jpg|jpeg|gif|png|ico|bmp)$ { | |
| try_files $uri @image_fallback; | |
| } | |
| location @image_fallback { | |
| proxy_pass http://{PROD}; | |
| } |
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
| async function fakeasync() { | |
| const waitFor = delay => new Promise(resolve => setTimeout(resolve, delay)); | |
| await waitFor(3000); | |
| } |
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
| /** | |
| * Allow cross domain api access from iOS and Android | |
| * | |
| * @param WP_Rest_Request $request | |
| * @return void | |
| */ | |
| function appp_init_cors( $request ) { | |
| $origin_url = '*'; | |
| header( 'Access-Control-Allow-Origin: ' . $origin_url ); |
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
| <ion-header> | |
| <ion-toolbar color="clear"> | |
| <ion-buttons slot="start"> | |
| </ion-buttons> | |
| <ion-title></ion-title> | |
| <ion-buttons slot="end"> | |
| </ion-buttons> | |
| </ion-toolbar> | |
| </ion-header> |
NewerOlder