Skip to content

Instantly share code, notes, and snippets.

View nylonee's full-sized avatar
🥑

Nihal Mirpuri nylonee

🥑
  • London
View GitHub Profile
@nylonee
nylonee / Kafka Rest Proxy API.postman_collection.json
Created March 20, 2021 18:39
Kafka Rest Proxy Postman Collection
{
"info": {
"_postman_id": "07c117b0-7200-41b9-94fc-5836a6b08d7b",
"name": "Kafka Rest Proxy API",
"description": "Adapted from https://docs.confluent.io/current/kafka-rest/api.html",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "v2",
@nylonee
nylonee / sendmessage.py
Created July 12, 2015 16:06
Hard-coding a one-click broadcast
import hangups
import plugins
def _initialise(bot):
plugins.register_admin_command(["sendmessage"])
def sendmessage(bot, event, *args):
"""Send a hard-coded message"""