I hereby claim:
- I am pferretti on github.
- I am pferretti (https://keybase.io/pferretti) on keybase.
- I have a public key ASCMporekrSTfHgA9PLqVbwMRtVWj9hUrtyhkQ0lWwP-Fgo
To claim this, I am signing this object:
function handler(context,tools) | |
r = {} | |
email = string.gsub(context.GetVar("email") or "", "'", "") | |
if not email or email == '' then | |
r["Message"] = "Email address is required" | |
context.SetResponse(400, json.serialize(r)) | |
return false | |
end | |
dbconnectionstring = tools.CacheGet("dbconn") | |
if not dbconnectionstring then |
version: '3' | |
services: | |
postgres: | |
image: postgres:10.3-alpine | |
ports: | |
- "5432:5432" | |
redis: | |
image: redis:alpine | |
ports: |
version: '3' | |
services: | |
postgres: | |
image: postgres:11.5-alpine | |
ports: | |
- "5432:5432" |
I hereby claim:
To claim this, I am signing this object:
#!groovy | |
emails = [ | |
'email1@test.com', | |
'email2@test.com', | |
'email3@test.com', | |
] | |
buildsToKeep = 5 | |
failureSent = false | |
pollingMinutes = 1 |
var upperLimit= 1000000; | |
console.time('Primitive array initialization'); | |
var array1 = []; | |
for (var i = 0; i < upperLimit; i ++) { | |
array1.push(Math.random().toString()); | |
} | |
console.timeEnd('Primitive array initialization'); | |
console.time('String object array initialization'); |
<?php | |
$loopLimit = 1000; | |
$array = range(0, 1000000); | |
$value = null; | |
$startTime = microtime(true); | |
for ($i = 0; $i < $loopLimit; $i ++) { | |
$value = end($array); | |
reset($array); |