/explore
|
You are here |
codeinthehole.com | ||
| | | | |
stribny.name
[AI summary] This article provides a modern Python project template using Poetry for dependency management, along with tools for testing, code formatting, static analysis, and version control. |
|
| | | | | ||
| | | | |
osc.garden
In order to keep the 'Last updated' field of posts always accurate, I automated its modification with a custom Git pre-commit hook. |
|
| | | | | ||
| | | | |
hjr265.me
Git has this great feature that I think is well-known but under-used. I am talking about Git hooks. With Git hooks, you can run scripts during different Git actions. Like this one: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 #!/bin/sh GOFILES=`git diff --name-only --cached | grep -e '.go$' | grep -ve 'vendor/'` UNFMTFILES=() for f in $GOFILES; do if [ -n "`gofmt -l -s . |
|
| | | | | ||
| | | | |
wittchen.io
Introduction I have my own tiny Python project called spotify-cli-linux, which is (surprise!) command line interface for Spotify desktop app on Linux. Python is not my primary programming language and I work more with Java. Nevertheless, I find this language enjoyable and useful in many cases, so I try to learn something new about it from time to time. In the beginning, I've provided instructions how to install my Python script in the system via curl and wget, which is fine, but it's not recommended and ... |
|
| | | |||