Skip to content

Instantly share code, notes, and snippets.

View Adirockzz95's full-sized avatar
πŸ‘‹
Hi there! :v :v

Aditya Khandkar Adirockzz95

πŸ‘‹
Hi there! :v :v
View GitHub Profile
@Adirockzz95
Adirockzz95 / manim_svg_example.py
Last active March 12, 2024 02:18
manim SVG object animation example
#!/usr/bin/env python
#
# Usage: python extract_scene.py -p [filename] [classname]
# eg: python extract_scene.py -p examples.py DrawCircle
#
import math
import os
@Adirockzz95
Adirockzz95 / frequency_reuse.py
Created August 20, 2019 15:49
Cellular Frequency reuse visualization in python
#!/usr/bin/python
from math import *
try:
from Tkinter import *
except:
from tkinter import *
class Hexagon(object):
@Adirockzz95
Adirockzz95 / minimal_pygame_opencv_opengl.py
Created April 15, 2022 15:55
Minimal Python example code to display video frames from USB camera using OpenCV, Pygame and OpenGL.
"""
Minimal Python example code to display video frames from USB camera
using OpenCV, Pygame and OPENGL.
Tested with:
Pygame: 1.9.4
OpenCV: 4.5.4
"""
import time
@Adirockzz95
Adirockzz95 / blocklist_fb.txt
Created March 18, 2024 14:38
block facebook url except *.whatsapp.*
0.0.0.0 0-edge-chat.facebook.com
0.0.0.0 0.beta.facebook.com
0.0.0.0 0.facebook.com
0.0.0.0 1-edge-chat.facebook.com
0.0.0.0 2-edge-chat.facebook.com
0.0.0.0 3-edge-chat.facebook.com
0.0.0.0 4-edge-chat.facebook.com
0.0.0.0 5-edge-chat.facebook.com
0.0.0.0 6-edge-chat.facebook.com
0.0.0.0 a.ish.instagram.com
@Adirockzz95
Adirockzz95 / streamer.cpp
Created August 2, 2024 05:38
MJPEG stream parser in c++
/*
MIT License
Copyright (c) 2024 Aditya Khandkar
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is