Skip to content

Instantly share code, notes, and snippets.

View sr2ds's full-sized avatar
:octocat:
Coding

David Silva sr2ds

:octocat:
Coding
View GitHub Profile
@sr2ds
sr2ds / febraban_banks.json
Created July 23, 2018 19:17 — forked from talesluna-zz/febraban_banks.json
Lista de Bancos Associados FEBRABAN (json)
[
{
"_id": "59ada9772bc5be4a37aaa435",
"name": "Banco ABC Brasil S.A.",
"febraban": true,
"clearing": true,
"code": "246",
"alias": null
},
{
@sr2ds
sr2ds / load-test.sh
Created March 13, 2019 17:04 — forked from bigomega/load-test.sh
A simple bash script to do load (performance) testing of a web service
max="$1"
date
echo "url: $2
rate: $max calls / second"
START=$(date +%s);
get () {
curl -s -v "$1" 2>&1 | tr '\r\n' '\\n' | awk -v date="$(date +'%r')" '{print $0"\n-----", date}' >> /tmp/perf-test.log
}