Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Did your pip install fail with longintrepr.h: No such file or directory?
-
Files by age, newest first: ls -lt Docker images by age, newest first: docker images --format "{{.CreatedAt}}\t{{.Repository}}:{{.Tag}}" | sort -r Files by size, largest first: ls -lS Docker images by size, largest first: docker images --format "{{.Size}}…
-
Does your Linux box take forever to boot?
-
\x1B[38;5;105m and \x1B[38;5;141m are a great combo.
-
Don’t do this: thing = Thing() try: thing.do_stuff() finally: thing.close() Do do this: from contextlib import closing with closing(Thing()) as thing: thing.do_stuff() Why is the second better?
-
Do you have too many git branches on the go at once?
-
Do you need a thread-safe atomic counter in Python?
-
Did you forget the -r when cloning a git repo with submodules?
-
Have you written a Docker Registry API client in GitLab CI/CD YAML?
-
Need to redirect to a file from sudo?