Skip to content

Instantly share code, notes, and snippets.

View abhishtagatya's full-sized avatar
🕹️
Having a Blast

Abhishta abhishtagatya

🕹️
Having a Blast
  • Brno
View GitHub Profile
@abhishtagatya
abhishtagatya / chatbot.py
Last active July 20, 2023 10:30
Telegram Chatbot using Jam
import os
import logging
from telegram import __version__ as TG_VER
from jam import Jam
from jam.personnel import AutoPersonnel
from jam.persistence import SQLitePersistence
try:
from telegram import __version_info__
@abhishtagatya
abhishtagatya / autoclip.py
Last active April 17, 2024 03:43
Automation Script to Edit Videos for TikTok using Python
# _____ _ _____ _ _
# | _ |_ _| |_ ___| | |_|___
# | | | | _| . | --| | | . |
# |__|__|___|_| |___|_____|_|_| _|
# |_|
#
# By Abhishta (github.com/abhishtagatya)
# pip install gTTs
# pip install moviepy
#!/usr/bin/env python
import os
import numpy as np
import cv2
import matplotlib.pyplot as plt
def canny_detector(image, weak=None, strong=None):
@abhishtagatya
abhishtagatya / galaxy_explorer.cpp
Created May 17, 2020 14:01
A simple C++ CLI Game for Practice
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <windows.h>
#define DELAY 30
void showTitleScreen();
void showMenuScreen(int high, int current, int low);
void gamePlayScreen(int *high, int *low);
@abhishtagatya
abhishtagatya / index.html
Last active April 20, 2018 10:41
Solar Scroller
<div align="center" class="sol">
<div class="tit-pl">
<h3><a class="tit-h3" href="#">The Solar Scroller</a></h3>
<p>Planet Diameter 1 pixel = 1.000 km</p>
<p>Planet Distance to Sun : 1 pixel = 10.000 km</p>
<div class="planet" id="sun"></div>
</div>
<!-- Planets -->
<div class="planet" id="mercury" title="Mercury | 57.91 Million Km"></div>
@abhishtagatya
abhishtagatya / wordanimation.py
Created April 15, 2018 06:37
Fun Little Word Animation With Python
#!/usr/bin/env python3
""" Word Animation with Python """
import sys
import time
import subprocess
string = sys.argv[1]
string_copy = ""