Skip to content

Instantly share code, notes, and snippets.

View achintya-kumar's full-sized avatar
🎯
LOYO

Achintya Kumar achintya-kumar

🎯
LOYO
View GitHub Profile
@mostafa-asg
mostafa-asg / kafka-console-consumer tip1
Last active June 12, 2024 16:31
Print key of records in kafka-console-consumer
use --property print.key=true
Example : ./kafka-console-consumer.sh --bootstrap-server <BROKERS_ADDRESS> --topic <YOUR_TOPIC> --property print.key=true
@dleonard00
dleonard00 / explode-opvn.sh
Created January 15, 2017 07:31
extract the certificate and key from an .ovpn file
#!/bin/bash
# This script will extract the certificate and key from an .ovpn file
# into their own files, which makes it possible to use them to configure
# the VPN using Ubuntu's network manager
# Usage example:
# >> ovpnconvert username.dev.ovpn
# You can keep following these instructions here: