Skip to content

Instantly share code, notes, and snippets.

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

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. 🔥

Get the tools

@premek
premek / mv.sh
Last active March 5, 2024 17:43
Rename files in linux / bash using mv command without typing the full name two times
# 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)
@approovm
approovm / 00-android-bypass-certificate-pinning-and-mitm-attack-setup.md
Last active August 2, 2025 15:29
Certificate Pinning Bypassing: Setup with Frida, mitmproxy and Android Emulator with a writable file system