I hereby claim:
- I am gsmcwhirter on github.
- I am gsmcwhirter (https://keybase.io/gsmcwhirter) on keybase.
- I have a public key whose fingerprint is 146F 35EA 509E 47B6 2220 6D5A 2068 4302 8C17 D002
To claim this, I am signing this object:
"categories": [ | |
{ | |
"name": "TF Logic", | |
"order": 0, | |
"questions": [ | |
{ | |
"question": "What does it mean for a sentence to be a tautology?", | |
"answer": "Every possible interpretation makes the sentence true.", | |
"value": 100 | |
}, |
[ | |
{ | |
"name": "TF Logic", | |
"order": 0, | |
"questions": [ | |
{ | |
"question": "What does it mean for a sentence to be a tautology?", | |
"answer": "Every possible interpretation makes the sentence true.", | |
"value": 100 | |
}, |
<?php | |
$qry_str = 'publisher=9284102052512106'; | |
$url = "http://api.indeed.com/ads/apisearch?". $qry_str . '&q=' . $_GET['q'] . '&l=' . $_GET['l']; | |
$ch = curl_init(); // initialize curl handle | |
curl_setopt($ch, CURLOPT_URL, $url); // set url to post to | |
curl_setopt($ch, CURLOPT_FAILONERROR, true); | |
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);// allow redirects | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // return into a variable | |
//curl_setopt($ch, CURLOPT_TIMEOUT, 3); // times out after 4s | |
//curl_setopt($ch, CURLOPT_POST, true); // set POST method |
I hereby claim:
To claim this, I am signing this object:
import pyglet.text as pygtext | |
class BaseObject(object): | |
pass | |
class Stuff(BaseObject, pygtext.Label): | |
pass |
<?php | |
$p = new Person(); | |
$methods = array( | |
'getContactInfo', | |
'getIdentification', | |
); | |
foreach($methods as $m) { |
<?php | |
$OrderPart = "timestamp DESC"; | |
if($Articlesearch!='' && $Wilcard!=true && $Authorsearch=='') | |
{ | |
$WherePart = "name='$Articlesearch'"; | |
} | |
elseif($Articlesearch!='' && $Wilcard==true && $Authorsearch=='') | |
{ | |
$WherePart = "name LIKE '%$Articlesearch%'"; |
<?php | |
$Wildcard_Usage = false; | |
if((isset($_POST["articlesearch"]) && substr_count($_POST["articlesearch"],'%') > 0) || (isset($_POST["authorsearch"]) && substr_count($_POST["authorsearch"],'%') > 0)) | |
{ | |
$Wildcard_Usage = true; | |
} |
<?php | |
function FileMimeType($file) | |
{ | |
static $finfo; | |
if(extension_loaded("fileinfo") || @dl("fileinfo.so")) | |
{ | |
if(!($finfo instanceOf finfo)) | |
{ | |
$finfo = new finfo(FILEINFO_MIME|FILEINFO_SYMLINK|FILEINFO_PRESERVE_ATIME, SETTINGS::$MimeMagicFile); |
CREATE TABLE IF NOT EXISTS tests( | |
id INT unsigned not null auto_increment, | |
PRIMARY KEY(id), | |
name VARCHAR(255) not null, | |
description TEXT not null | |
); |