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
var shape = r.rect(x, y, 100, 40, 2); | |
var label = r.text(x+50, y+20, devices[i]); | |
label.box = shape; | |
shape.label = label; |
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 | |
if (!is_user_logged_in() && $_GET["page_id"]!=7) | |
{header('Location: '.wp_login_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
return empty($theme_my_login->options['email']['new_user']['message']) ? $message : jkf_tml_custom_email_replace_vars($theme_my_login->options['email']['new_user']['message'], $user_id, $replacements); |
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 ((strpos($_SERVER['PHP_SELF'], 'wp-login.php') === false) && (strpos($_SERVER['PHP_SELF'], 'wp-register.php') === false)) { | |
auth_redirect(); | |
} |
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 | |
$pageURL = 'http'; | |
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} | |
$pageURL .= "://"; | |
if ($_SERVER["SERVER_PORT"] != "80") { | |
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; | |
} else { | |
$reqURI = explode("?",$_SERVER["REQUEST_URI"]); | |
$pageURL .= $_SERVER["SERVER_NAME"].$reqURI[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
<?php | |
$pageURL = 'http'; | |
if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} | |
$pageURL .= "://"; | |
if ($_SERVER["SERVER_PORT"] != "80") { | |
$pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; | |
} else { | |
$pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; | |
} | |
if (!is_user_logged_in() && $pageURL!=wp_login_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
if ( $this->load_includes ) { | |
require_once( BACKPRESS_PATH . 'functions.core.php' ); | |
require_once( BACKPRESS_PATH . 'functions.compat.php' ); | |
require_once( BACKPRESS_PATH . 'functions.formatting.php' ); | |
require_once( BACKPRESS_PATH . 'functions.plugin-api.php' ); | |
require_once( BACKPRESS_PATH . 'class.wp-error.php' ); | |
require_once( BB_PATH . BB_INC . 'functions.bb-core.php' ); | |
require_once( BB_PATH . BB_INC . 'functions.bb-meta.php' ); | |
require_once( BB_PATH . BB_INC . 'class.bp-options.php' ); | |
require_once( BACKPRESS_PATH . 'functions.bp-options.php' ); |
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
============================================================================== | |
World of WarCraft (build 11159) | |
Exe: F:\Users\Public\Games\World of Warcraft\WoW.exe | |
Time: Jan 31, 2010 2:36:18.884 PM | |
User: Tom | |
Computer: TOM-PC | |
------------------------------------------------------------------------------ | |
This application has encountered a critical error: |
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
class myclass(object): | |
def __init__(self): | |
self._x = 5 | |
@property | |
def x(self): | |
return self._x | |
@x.setter | |
def x(self, value): | |
self._x = value | |
@x.deleter |
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
# Method 0 | |
attribs = {} | |
for elem in config_etree: | |
try: | |
attribs[elem.tag] = elem.text | |
except: | |
ET.dump(elem) #prints the xml to stdout so I can see why it failed | |
curr_tileset.__dict__.update(attribs) | |
# Method 1 |
NewerOlder