Skip to content

Instantly share code, notes, and snippets.

View clairmont32's full-sized avatar

Matthew Clairmont clairmont32

View GitHub Profile
@will7200
will7200 / !Window Logs in Golang.md
Last active July 27, 2023 14:52
Read Windows Logs in Golang

Read window logs in Golang

@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 23, 2024 00:25
set -e, -u, -o, -x pipefail explanation
@roylee0704
roylee0704 / dockergrep.sh
Created December 9, 2016 08:24
how to grep docker log
docker logs nginx 2>&1 | grep "127."
# ref: http://stackoverflow.com/questions/34724980/finding-a-string-in-docker-logs-of-container
// MIT license (c) andelf 2013
import (
"net/smtp"
"errors"
)
type loginAuth struct {
username, password string