Skip to content

Instantly share code, notes, and snippets.

View alanRiveros's full-sized avatar
💭
Learning ML-Do

Alan Riveros alanRiveros

💭
Learning ML-Do
  • Argentina
View GitHub Profile
// extendemos el objeto array para soportar promesas
Array.prototype.asyncForEach = async function(callback) {
for (let index = 0; index < this.length; index++) {
await callback(this[index], index, this)
}
}
frontend localnodes
bind *:8080
mode tcp
default_backend nodes
timeout client 1m
backend nodes
mode tcp
balance roundrobin
server web01 127.0.0.1:4444
server web02 127.0.0.1:5555
project
|-app
|-entities
|-moneyEntitie.php
|-loqsea...
=========================================
tests
|-app
|-entities
|-monetTestEntitie.php