I hereby claim:
- I am noiseeee on github.
- I am noiseeee (https://keybase.io/noiseeee) on keybase.
- I have a public key ASBfpwazpWkU63jH7fSPL6e6sudEcxgPEwXXoxj0FUcHugo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var url = require('url'), | |
fs = require('fs'), | |
io = require('socket.io'), | |
sys = require(process.binding('natives').util ? 'util' : 'sys'), | |
express = require('express'), | |
Caman = require('caman').Caman, | |
bodyParser = require('body-parser'), | |
app, | |
server; |
import Ember from 'ember'; | |
import DS from 'ember-data'; | |
export default DS.Model.extend({ | |
firstName: DS.attr(), | |
lastName: DS.attr(), | |
fullName: Ember.computed('firstName','lastName', function() { | |
return `${this.get('firstName')} ${this.get('lastName')}`; | |
}), | |
equipmentItems: DS.hasMany('equipment-item'), |
{ | |
data: { | |
type: "survey", | |
id: "158c8173-463d-494b-b94b-b1078a8b6aef", | |
attributes: { | |
id: "513376a8-3102-4254-bd46-3a47910b0b1e", | |
key: "513376a8-3102-4254-bd46-3a47910b0b1e", | |
name: "Daily Check-In", | |
isActive: 1, | |
instructions: null, |
import DS from 'ember-data'; | |
import ENV from '../config/environment'; | |
export default DS.JSONAPIAdapter.extend({ | |
host: ENV.apiHost | |
}); |
<?php | |
/** | |
* The Gearman Worker script | |
*/ | |
$worker= new GearmanWorker(); | |
$worker->addServer(); | |
$worker->addFunction("LayoutbooksAssembler", "sendToCasper"); | |
while ($worker->work()); |
[xdebug] | |
#PHP 7 extension dir below; use appropriate path | |
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so | |
xdebug.remote_enable=1 | |
xdebug.remote_autostart=1 | |
xdebug.remote_connect_back=1 | |
xdebug.remote_port=9000 | |
xdebug.profiler_enable=1 | |
xdebug.profiler_output_dir="/tmp" |
<?php | |
class Something() { | |
/** | |
* @var \User | |
*/ | |
private $user; | |
} |
<?php | |
class Whatever() { | |
/** | |
* The database connection | |
* @var \PDO | |
*/ | |
protected $db; |
<?php | |
/* | |
* a class that writes a basic webpage with a javascript alert, and options | |
* | |
* @param string $destinationURL the webpage to be redirected to | |
* @param string $windowMessage the message presented to the user in the javascript alert | |
* @param string $windowAction what to do: redirect to a new page, close (when called in a popup), or a combination. | |
*/ | |
class popupMessage { | |