safer
gitz
safer | gitz | |
---|---|---|
4 | 8 | |
173 | 30 | |
- | - | |
8.0 | 6.8 | |
3 months ago | about 1 month ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
safer
-
How to use mkdocs to write the top-level README for GitHub?
But I have one hurdle I haven't managed to get over, and that's writing the top-level README that GitHub shows when you visit the project, like this: https://github.com/rec/safer
-
oooooffff
https://github.com/rec has examples, like https://github.com/rec/safer
- Does format() method returns a list?
-
"100% code coverage" is often seen as the holy grail of software testing. Alas, coverage says more about the quantity than the QUALITY of your tests. This video covers Python unit tests & coverage + 2 mistakes to avoid when writing tests.
I took several of my small open source projects to 100% coverage like this and this as an exercise - I was starting with 90%+ already so it wasn't really a slog.
gitz
-
Managing secrets like API keys in Python - Why are so many devs still hardcoding secrets?
When I develop a big feature, I do it on a private branch, and then I commit and push an "anonymous" commit (using this) whenever I have made any progress.
-
An alias that has saved me hours since I created it yesterday
where git st is here (a lot like git status.)
-
GitHub's Missing Merge Option
No, there's no reason to preserve commit messages you used during development.
When I am developing, I make many tiny commits with an automatically generated title ('Modify util/files.py') each time my tests pass, or really, when I do anything of value. (I use `git-infer`: https://github.com/rec/gitz/blob/master/git-infer)
This makes it impossible for me to lose work, and acts like a coarse-grained undo for me, where I can quickly move back and forth between spots that the tests worked if I decide I'm going the wrong way, or create a new branch, move back a bit, and make some changes and compare.
_Before anyone sees this code_ I rebase it down to a logical sequence extremely-carefully named and organized commits. (The word "manicured" has been used more than once.)
As I go through code review, I make tiny commits and at the end, rebase them into my carefully-named commits.
I create at least five commit IDs for each final commit I created. No one wants to see these.
I spend considerable time organizing everything so just the information you need to see is in the final commits. All the information should be there.
-
What one thing would you improve about Git?
I have a truly evil command in my gitz package https://github.com/rec/gitz called git adjust.
-
Eli5: Why do so many people like to use the terminal instead of a good client?
I have a bunch of git utilities to do common chores, but more, I tend to stack up a lot of commands at once in the command line separated by &&.
-
Why is git pull broken?
This isn't just academic - it affects every git tool. I have a collection of git utilities, fairly high quality, but a lot of my favorite ones don't work over merge commits, not because I was lazy but because I simply couldn't figure out a way to do it that made sense in every case.
- Does format() method returns a list?
What are some alternatives?
xmod - ๐ฑ Turn any object into a module ๐ฑ
Git - Git Source Code Mirror - This is a publish-only repository but pull requests can be turned into patches to the mailing list via GitGitGadget (https://gitgitgadget.github.io/). Please follow Documentation/SubmittingPatches procedure for any of your improvements.
wavemap - ๐ mmap massive audio files as numpy ๐
editor - ๐ Open the default text editor ๐
vl8 - ๐ Perturbed audio ๐
django-cacheops - A slick ORM cache with automatic granular event-driven invalidation.
git-push-update - Push with "server-side" merge or rebase