docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > initdb.sql
docker compose up -d postgres
docker logs -f guacamole-postgres
docker run --rm guacamole/guacamole /opt/guacamole/bin/initdb.sh --postgresql > initdb.sql
docker compose up -d postgres
docker logs -f guacamole-postgres
const EmlParser = require('eml-parser'); | |
const fs = require('fs'); | |
const path = require('path'); | |
// Define paths | |
const filesPath = 'files'; | |
const resultsPathPrefix = 'results'; | |
const timestamp = new Date().toISOString().replace(/[:]/g, '-').split('.')[0]; | |
const resultsPath = path.join(resultsPathPrefix, timestamp); |
const verifyPDF = require('pdf-signature-reader-jpc'); | |
const fs = require('fs'); | |
const path = require('path'); | |
// Define paths | |
const filesPath = 'files'; | |
const resultsPathPrefix = 'results'; | |
const timestamp = new Date().toISOString().replace(/[:]/g, '-').split('.')[0]; | |
const resultsPath = path.join(resultsPathPrefix, timestamp); | |
const verifiedPath = path.join(resultsPath, 'verified'); |
FROM docker:24.0 | |
LABEL maintainer="BlueT - Matthew Lien - 練喆明 <[email protected]>" | |
# Docker defaults | |
ENV CRONICLE_VERSION 0.9.61 | |
ENV CRONICLE_base_app_url 'http://localhost:3012' | |
ENV CRONICLE_WebServer__http_port 3012 | |
ENV CRONICLE_WebServer__https_port 443 | |
ENV EDITOR=nano |
Pino HTTP Logs Dashboard
This Grafana dashboard utilizes the Loki data source to visualize and analyze logs generated by the Pino logging library. Logs from HTTP requests are captured using the Pino-HTTP plugin and are sent to a Loki instance via the Pino-Loki plugin, enabling real-time monitoring and historical analysis. The dashboard includes graph and table panels to display key metrics such as request status codes, response times, and error rates, making it easy to track application behavior and identify performance issues.
Flow Overview:
alias myip=ipinfo | |
ipinfo() { | |
IP=$(curl -s https://ipinfo.io/ip) | |
curl -s "https://ipinfo.io/widget/demo/$IP" | jq | |
} |
❱ git config user.signingKey 38AF394C | |
❱ git config commit.gpgSign true | |
❱ echo "test" | gpg --clearsign | |
-----BEGIN PGP SIGNED MESSAGE----- | |
Hash: SHA256 | |
test | |
gpg: signing failed: Inappropriate ioctl for device | |
gpg: [stdin]: clear-sign failed: Inappropriate ioctl for device |