npm v3.10 - ◾
npm install -g npm
# Downgrade to a specific version
npm install -g npm@6
Latency Comparison Numbers | |
-------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns | |
Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
Read 4K randomly from SSD* 150,000 ns 0.15 ms |
npm install -g npm
# Downgrade to a specific version
npm install -g npm@6
docker exec -it container-name redis-cli FLUSHALL |
postgres: | |
image: postgres:9.4 | |
volumes: | |
- ./init.sql:/docker-entrypoint-initdb.d/init.sql |
#!/bin/bash | |
if [ ! -x /usr/bin/curl ]; then | |
echo "Please install curl" | |
exit 1 | |
fi | |
if [ ! -x /usr/bin/jq ]; then | |
echo "Please install jq" | |
exit 1 |
#!/bin/bash | |
if [ ! -x /usr/bin/curl ]; then | |
echo "Please install curl" | |
exit 1 | |
fi | |
if [ ! -x /usr/bin/jq ]; then | |
echo "Please install jq" | |
exit 1 |
# Built application files | |
/*/build/ | |
# Crashlytics configuations | |
com_crashlytics_export_strings.xml | |
# Local configuration file (sdk path, etc) | |
local.properties | |
# Gradle generated files |
[SERVICE] | |
Flush 5 | |
Daemon Off | |
Log_Level info | |
Parsers_File /etc/fluent-bit/parsers.conf | |
[INPUT] | |
Name Tail | |
Path /mnt/data/docker/containers/*/*.log | |
Path_Key file |
Parameter | Description | |
---|---|---|
--max-retry-attempts | O número máximo de tentativas que um job falho não pode exceder. | |
--max-retry-duration | O tempo máximo para tentar novamente um job falho, contado à partir da primeira execução. | |
--min-backoff | O tempo mínimo a se esperar antes de tentar novamente após uma falha. O padrão é '5s'. | |
--max-backoff | O tempo máximo a se esperar antes de tentar novamente após uma falha. O padrão é '1h'. | |
--max-doublings | O número máximo de tentativas que o intervalo entre jobs falhos será dobrado antes do aumento se tornar constante. O padrão é 16. |