I hereby claim:
- I am thoov on github.
- I am thoov (https://keybase.io/thoov) on keybase.
- I have a public key ASAbTcXto41w5gbslX6GC-d4VowkgCUXiPmSfOYNJK1P4go
To claim this, I am signing this object:
<?php | |
private function flatten($array, $base = "", $div_char = "/") | |
{ | |
$ret = array(); | |
if(is_array($array)) | |
{ | |
foreach($array as $k => $v) | |
{ | |
if(is_array($v)) |
/* | |
There are four patterns of invocation in JavaScript: | |
- the method invocation pattern | |
- the function invocation pattern | |
- the constructor invocation pattern | |
- the apply invocation pattern | |
The patterns differ in how the bonus parameter this is initialized. |
function Promise(promise) { | |
if (promise instanceof Promise) { | |
return promise; | |
} else { | |
// this is a new promise chain | |
this.callbacks = []; | |
} | |
} | |
Promise.prototype.then = function(callback_ok, callback_error) { |
// 20 is the number of zero filled places | |
var zeroFilledArray = new Array( 20 ).join( "0" ).split(""); |
import Ember from 'ember'; | |
import stateFor from 'ember-state-services/state-for'; | |
export default Ember.Controller.extend({ | |
data: stateFor('todos', 'model') | |
}); |
import Ember from 'ember'; | |
const { get } = Ember; | |
export default Ember.Component.extend({ | |
name: 'Travis', | |
didReceiveAttrs() { | |
this._super(...arguments); |
FROM node:8.5 | |
WORKDIR /app | |
ADD . /app | |
RUN npm -q install | |
RUN npm -q install -g ember-cli | |
EXPOSE 4200 | |
EXPOSE 49152 |
I hereby claim:
To claim this, I am signing this object: