Skip to content

Instantly share code, notes, and snippets.

View abdulmateen59's full-sized avatar
🏠
Working from home

Abdul Mateen abdulmateen59

🏠
Working from home
View GitHub Profile
@abdulmateen59
abdulmateen59 / Dockerfile
Last active September 20, 2021 19:23
Automated VS Code Deployment on Azure for Report Writing using Latex
FROM linuxserver/code-server:latest
RUN apt-get update && \
apt-get upgrade -y
RUN apt-get install -y --no-install-recommends texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-fonts-extra
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@abdulmateen59
abdulmateen59 / docker-compose.yaml
Last active April 30, 2022 09:28
Single - Zookeeper - Kafka - SchemaRegistry - KafkaRest - WebUI
---
version: '3.5'
services:
zoo:
container_name: zookeeper
image: zookeeper:3.8.0
hostname: zoo
ports:
- "2181:2181"
@abdulmateen59
abdulmateen59 / kombu_consumer.py
Created July 13, 2022 14:43
Kombu(rabbitmq) consumer in separate thread
import _thread
import threading
from abc import ABC
from abc import abstractmethod
from time import sleep
from kombu import Connection, Exchange, Queue
from kombu.mixins import ConsumerMixin
from kombu.utils.debug import setup_logging
from loguru import logger