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: Hello World 4 | |
Plugin URI: http://ocaoimh.ie/ | |
Description: A simple hello world plugin | |
Version: 0.1 | |
Author: Donncha O Caoimh | |
Author URI: http://ocaoimh.ie/ | |
*/ |
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: User Certifications | |
Plugin URI: | |
Description: Adds User Certifications fields in user profile. User certifications can be rendered anywhere using template tags. | |
Version: 1.0 | |
Author: Ali Roshan | |
Author Email: [email protected] | |
License: |
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
.url-preview { | |
border-top: 1px solid #EAEAEA; | |
font-family: calibri; | |
} | |
.share_form { | |
width: 625px; | |
} | |
.share_form input { | |
width: 500px; | |
} |
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 | |
echo "<table>"; | |
echo "<tr><td>upload_max_filesize</td><td>" .$max_upload = (int)(ini_get('upload_max_filesize')) . "</td></tr>"; | |
echo "<tr><td>post_max_size</td><td>" . $max_post = (int)(ini_get('post_max_size')) . "</td></tr>"; | |
echo "<tr><td>memory_limit</td><td>" . $memory_limit = (int)(ini_get('memory_limit')) . "</td></tr>"; | |
// echo $upload_mb = min($max_upload, $max_post, $memory_limit); | |
echo "</table>"; |
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 it($m,$p){echo ($p?'✔︎':'✘')." It $m\n"; if(!$p){$GLOBALS['f']=1;}}function done(){if(@$GLOBALS['f'])die(1);} |
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 "startup.php"; | |
$action = (isset($_REQUEST['action']) && $_REQUEST['action']!="" && file_exists(__DIR__."/{$_REQUEST['action']}.php")) ? $_REQUEST['action'] : "sources"; | |
?> | |
<?php if(! isset($_REQUEST['request_type']) || $_REQUEST['request_type']!="ajax"): ?> | |
<?php include('header.php');?> | |
<div id="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
[ | |
{"group":"US (Common)", | |
"zones":[ | |
{"value":"America/Puerto_Rico","name":"Puerto Rico (Atlantic)"}, | |
{"value":"America/New_York","name":"New York (Eastern)"}, | |
{"value":"America/Chicago","name":"Chicago (Central)"}, | |
{"value":"America/Denver","name":"Denver (Mountain)"}, | |
{"value":"America/Phoenix","name":"Phoenix (MST)"}, | |
{"value":"America/Los_Angeles","name":"Los Angeles (Pacific)"}, | |
{"value":"America/Anchorage","name":"Anchorage (Alaska)"}, |
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 custom post types on Tag, Category, Author archive pages | |
add_filter('pre_get_posts', 'query_post_type'); | |
function query_post_type($query) { | |
if(is_category() || is_tag() || $query->is_author) { | |
$post_type = get_query_var('post_type'); | |
if($post_type) | |
$post_type = $post_type; | |
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
sudo chown -R apache:apache /var/www/html/site_name/ | |
That was it!!! I've spent many hours on this problem. Thank you!! | |
For those of you where changing the directories to 777 does not work, then this may be your problem. I just replaced the path with my own and then: service httpd restart. |
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
using System; | |
using System.Windows.Forms; | |
using Market = CSharpAPI6.betfair.api.exchange.Market; | |
using Runner = CSharpAPI6.betfair.api.exchange.Runner; | |
namespace CSharpAPI6 | |
{ | |
/// <summary> | |
/// Summary description for MarketViewRow. | |
/// </summary> |