I hereby claim:
- I am rognales on github.
- I am rognales (https://keybase.io/rognales) on keybase.
- I have a public key ASAC2XEtCWsA1OgFmkVCRcyzlq6-24TlMXp-xMdFk6l7Jgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
############################################################################### | |
# Helpful Docker commands and code snippets | |
############################################################################### | |
### CONTAINERS ### | |
docker stop $(docker ps -a -q) #stop ALL containers | |
docker rm -f $(docker ps -a -q) # remove ALL containers | |
docker rm -f $(sudo docker ps --before="container_id_here" -q) # can also filter | |
# exec into container |
const R = require('ramda') | |
const { getXlsxStream } = require('xlstream'); | |
const buildFilter = (filter) => { | |
let query = {}; | |
for (let keys in filter) { | |
if (filter[keys].constructor === Array && filter[keys].length > 0) { | |
query[keys] = filter[keys]; | |
} | |
} |