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 | |
require "session.php"; | |
if(empty($_SESSION['loggedin'])) | |
{ | |
include('templates/index.php'); | |
die(); | |
} | |
else |
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
cmake_minimum_required(VERSION 3.5) | |
project(hello_tutorial) | |
if (NOT ENV{NACL_SDK_ROOT}) | |
get_filename_component(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY) | |
get_filename_component(NACL_SDK_ROOT "${PARENT_DIR}/.." REALPATH) | |
endif () | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++98 -Wno-long-long -Wall -Wswitch-enum -pedantic -Werror") |
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 | |
abstract class YARPP_Cache { | |
protected $core; | |
protected $yarpp_time = false; | |
public $score_override = false; | |
public $online_limit = false; | |
public $last_sql; |
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 get_header(); ?> | |
<div id="main-content"> | |
<div class="container"> | |
<div id="content-area" class="clearfix"> | |
<div id="left-area"> | |
<h1><?php single_cat_title(); ?></h1> | |
<div><?php echo get_term_meta( get_queried_object()->term_id, 'location_description', true ); ?></div> |
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 | |
// Jetpack infinite scroll does it's own WP_Query, so we need to hijack it at runtime | |
function searchwp_infinite_scroll_query_args( $query_args ) { | |
if( class_exists( 'SearchWPSearch' ) ) { | |
$query = get_search_query(); | |
if( empty( $query ) ) { | |
if( isset( $_GET['query_args']['s'] ) ) { | |
$query = sanitize_text_field( $_GET['query_args']['s'] ); | |
} |
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 | |
/** | |
* Fix a race condition in alloptions caching | |
* | |
* See https://core.trac.wordpress.org/ticket/31245 | |
*/ | |
function _wpcom_vip_maybe_clear_alloptions_cache( $option ) { | |
if ( ! wp_installing() ) { | |
$alloptions = wp_load_alloptions(); //alloptions should be cached at this point |
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
<? | |
if (!class_exists("BP_Shortcodes")) | |
{ | |
class BP_Shortcodes | |
{ | |
public $call; | |
public function __construct() | |
{ |
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
//team showcase | |
$(document).unbind("click").on("click", ".tshowcase-box", function (event) { | |
$this = $(this); | |
$this.siblings().removeClass('active'); | |
$('.person-content-wrap').hide(); | |
$this.toggleClass('active'); | |
var url = $(this).find('a').attr('href'); //get url | |
var new_url = url.substring(0, url.indexOf(' ')); //substirng url | |
//get person content |
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
BLACKFIRE_CLIENT_ID=b5ee8ca3-****-****-****-5d227546a4c0 | |
BLACKFIRE_CLIENT_TOKEN=3a2b88cbfb*******************************22763 | |
BLACKFIRE_SERVER_ID=4b8ac335-****-****-****-b34439207732 | |
BLACKFIRE_SERVER_TOKEN=98f7fdf4b12b7**************************12b837cf080d |
OlderNewer