20:46 CST | category / entries / tweets
permanent link | comments?
20:46 CST | category / entries / tweets
permanent link | comments?
Cool throwaway feature of git diff’s. “Patch Hunk Headers”.
Basically any diff will regex backwards (depending on detected target language) and put the function or “something sensible” in front of the diff output. That way you can (likely) see if you are putting a print statement in “function foo()” or “function bar()” before committing.
[source…]
Please use responsibly.
00:01 CST | category / entries
permanent link | comments?
Very rarely do programs reach the level of tool, although I wish more would aspire to.
Do nothing more nor nothing less than I ask.
Do it well and without complaint.
Above all, be consistent.
…and very few others.
Coincidentally, most of these tools have a high learning curve. But perhaps not coincidentally, they are so powerful and consistent that the initial setup cost is dwarfed by their general utility.
12:12 CST | category / entries
permanent link | comments?
16:24 CST | category / entries / tweets
permanent link | comments?
11:43 CST | category / entries / tweets
permanent link | comments?
Like what you just read? Subscribe to a syndicated feed of my weblog, brought to you by the wonders of RSS.
Thanks for Visiting!