I hereby claim:
- I am Relequestual on github.
- I am relequestual (https://keybase.io/relequestual) on keybase.
- I have a public key whose fingerprint is C55E 97EB 864D 2984 91BE 35F2 476E C3A2 DB2A 4974
To claim this, I am signing this object:
{ | |
"type":"object", | |
"$schema": "http://json-schema.org/draft-03/schema", | |
"title": "MatchMakerExchange Search Request", | |
"name": "MatchMakerExchangeSearchRequest", | |
"required":true, | |
"properties":{ | |
"id": { | |
"type":"string", | |
"maxLength":255, |
I hereby claim:
To claim this, I am signing this object:
<?php | |
if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Blog_model extends CI_Model { | |
function __construct() { | |
parent::__construct(); | |
//var_dump(get_instance()); exit; | |
// $CI = get_instance(); | |
// $CI->load->database(); |
// Load live.js on local envs only | |
// Make sure the path is right and your dev env passes the test. | |
/* Delete these characters to disable it temporarily -> */ | |
(function() { | |
if(/^https?:\/\/(localhost|127.0.0.1|(dev|test).*?)\/|^file:\/\/\//.test(document.location.href)) { | |
var live = document.createElement('script'); | |
live.src = 'js/live.js'; | |
var s = document.getElementsByTagName('script')[0]; | |
s.parentNode.insertBefore(live, s); |
<?php | |
/* | |
/ Created while using the Last.FM API. | |
/ The Last.FM API is split into sections. Artists, Album, Track etc. | |
/ The method names are for example "artists.getTopTracks". If I'm using magic method __call | |
/ and calling artistsGetTopTracks, I can then split the call down into the section and method with the following regex | |
/ which can then be used to construct API call URL | |
*/ | |
preg_match_all('/^[a-z]*|[A-Z]\w*/', $candidate, $results); |
$("input, textarea").focus(function(){ | |
if ($(this).val() == $(this).attr("title")) { | |
$(this).val(""); | |
} | |
}).blur(function () { | |
if ($(this).val() == "") { | |
$(this).val($(this).attr("title")); | |
} | |
}); |
# Replace TABLE and COLUMN as appropriate | |
Update TABLE Set COLUMN = Replace(COLUMN, CHAR(3), ''); |
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (robot.parentId) { | |
robot.ahead(1); | |
robot.turnGunRight(1); | |
} | |
else { |
var Robot = function(robot){ | |
robot.turnLeft(robot.angle % 90); | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (robot.parentId) { | |
robot.ahead(1); | |
robot.turnGunRight(1); | |
} | |
else { |