I hereby claim:
- I am jimrubenstein on github.
- I am jrub (https://keybase.io/jrub) on keybase.
- I have a public key whose fingerprint is 9A3E 223C B262 4C98 8EA3 2592 E80D ADCA E737 323D
To claim this, I am signing this object:
$ mysql -e 'show slave status \G' -u root | grep "Running: No" | |
$ echo $? | |
1 | |
$ mysql -e 'show slave status \G' -u root | grep "Running" | |
Slave_IO_Running: Yes | |
Slave_SQL_Running: Yes | |
$ echo $? | |
0 |
"autoload": { | |
"classmap": [ | |
"database" | |
], | |
"psr-4": { | |
"app\\": "app/" | |
}, | |
"files": [ | |
"app/helpers/helpers.php" | |
] |
var React= require('react/addons'); | |
var Router = require('react-router'); | |
var AppConstants = require('../../constants/AppConstants'); | |
var GroupActionCreators = require('../../actions/GroupActionCreators'); | |
var Link = Router.Link; | |
module.exports = React.createClass({ | |
mixins: [Router.Navigation], |
function createOption($listItem, $input) | |
{ | |
$listItem.on('click tap', function(evt) | |
{ | |
$input.prop('checked', ! $input.prop('checked')); | |
if ($input.is(':checked')) | |
{ | |
$listItem.addClass('selected'); |
zip_code,city,state | |
84536,Monument Valley,Arizona | |
85001,Phoenix,Arizona | |
85002,Phoenix,Arizona | |
85003,Phoenix,Arizona | |
85004,Phoenix,Arizona | |
85005,Phoenix,Arizona | |
85006,Phoenix,Arizona | |
85007,Phoenix,Arizona | |
85008,Phoenix,Arizona |
<?php | |
function findObjectById($objects, $id) | |
{ | |
foreach ($objects as $obj) | |
{ | |
if ($obj->programId == $id) | |
{ | |
return $obj; | |
} |
# goes in folder that holds symlinks to project files (/home/jim/sites/dev) | |
RewriteEngine on | |
RewriteCond %{HTTP_HOST} ^([^.]+)\.local.dev | |
RewriteCond %1::%{REQUEST_URI} !^(.*?)::/\1/ | |
RewriteRule ^(.*)$ /%1/$1 [L] | |
RewriteCond %{HTTP_HOST} ^([^.]+)\.dev\.local | |
RewriteCond %1::%{REQUEST_URI} !^(.*?)::/\1/ | |
RewriteRule ^(.*)$ /%1/$1 [L] |
$generateKpiValue = function($metric_info) { | |
$words = explode('_', $metric_info['uid']); | |
array_shift($words); | |
return implode('', array_map('ucfirst', $words)); | |
}; |
I hereby claim:
To claim this, I am signing this object:
var Entry = (function($) { | |
function Entry(attributes) { | |
this.attributes = attributes; | |
} | |
Entry.prototype.get = function(attr) { | |
return this.attributes[ attr ] || null; |