I've been working with Apache Kafka for over 7 years. I inevitably find myself doing the same set of activities while I'm developing or working with someone else's system. Here's a set of Kafka productivity hacks for doing a few things way faster than you're probably doing them now. 🔥
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r -U3 newrelic/api/web_transaction.py newrelic/api/web_transaction.py | |
--- newrelic/api/web_transaction.py 2017-05-26 15:13:50.000000000 -0300 | |
+++ newrelic/api/web_transaction.py 2017-08-11 15:28:16.000000000 -0300 | |
@@ -720,11 +720,15 @@ | |
class _WSGIApplicationIterable(object): | |
- def __init__(self, transaction, generator): | |
+ def __init__(self, transaction, generator, group=None): | |
self.transaction = transaction |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this function to your .bashrc file. | |
# Usage: mv oldfilename | |
# If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
# Original mv is called when it's called with more than one argument. | |
# It's useful when you want to change just a few letters in a long name. | |
# | |
# Also see: | |
# - imv from renameutils | |
# - Ctrl-W Ctrl-Y Ctrl-Y (cut last word, paste, paste) |
This is a gist used in the following blog posts:
OlderNewer