I hereby claim:
- I am mathamoz on github.
- I am mathamoz (https://keybase.io/mathamoz) on keybase.
- I have a public key whose fingerprint is CB68 9E93 4389 A0E5 1157 64B9 95CC 8ACD C183 354F
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
var express = require('express'); | |
var featureswitches = require('featureswitches')('customer_key', 'environment_key'); | |
var app = express(); | |
featureswitches.sync(); | |
app.get('/', function(req, res) { | |
featureswitches.is_enabled('world') | |
.then(function(result) { |
def flatten_array (arr, result=[]) | |
arr.each do |el| | |
if el.is_a?(Array) | |
flatten_array(el, result) | |
else | |
result.push(el) | |
end | |
end | |
result |
<?php | |
function integerOrDouble($val) { | |
if (is_numeric($val) && strpos($val, '.')) { | |
return 'double'; | |
} else if (is_numeric($val)) { | |
return 'integer'; | |
} | |
return NULL; | |
} |
I hereby claim:
To claim this, I am signing this object: