Skip to content

Instantly share code, notes, and snippets.

View nok's full-sized avatar

Darius Morawiec nok

View GitHub Profile
@nok
nok / data.txt
Last active March 3, 2024 19:13
stack-overflow
Mar 03, 2024 │ -7 days ┆ -30 days ┆ -90 days
11280 reputation │ + 30 ┆ + 120 ┆ + 240
123 answers │ 0 ┆ 0 ┆ 0
@nok
nok / mlops-training-notes.md
Last active November 16, 2022 15:19
mlops-training-notes.md
mkdir -p ~/.git-templates/hooks
rm -f ~/.git-templates/hooks/prepare-commit-msg
cat <<EOT >> ~/.git-templates/hooks/prepare-commit-msg
#!/bin/bash
FILE=\$1
MESSAGE=\$(cat \$FILE)
BRANCH=\$(git branch | grep '*' | sed 's/* //')
TICKET=\$(echo \$BRANCH | grep -Eo '^(DALI-)[0-9]+')