Skip to content

Instantly share code, notes, and snippets.

View ratulotron's full-sized avatar
🎯

Ratul Minhaz ratulotron

🎯
View GitHub Profile
@ratulotron
ratulotron / shell.py
Created October 30, 2024 18:16 — forked from ddahan/shell.py
FastAPI context-aware shell with model discovery and other auto-imports
# Requires Python 3.12+, IPython, rich
import datetime
import hashlib
import importlib
import inspect
import json
import logging
import os
import pkgutil
Versatile is perhaps the most accurate word to describe my career in software engineering. I have had the opportunity to be part of all stages in any product's development lifecycle, from conceptualization of the idea itself to scaling for tens of thousands of users.
I take pride in my unique perspective when architecting a service as I had played many roles in my past experiences. As a techncal consultant I had to focus on rounding the sharp edges of the product but in another lifetime as a CTO I had to be the visionary who knew where the most of my developers' time will be spent 3 years down the line.
I believe frameworks or even tech stack never matters if you know what you are doing and you have a team full of devs who I can move forward with full throttle. So I have always embraced use of variety fo technology including but not limited to-
- Python, Golang, Ruby, PHP, NodeJS
- Docker, Kubernetes, Helm, Terraform, Vagrant
- PostgreSQL, MySQL, MongoDB, Neo4j, RabbitMQ, Reddis, ElasticSearch
I am more i
version: '3.7'
services:
postgres:
image: postgres:12
environment:
POSTGRES_USER: airflow
POSTGRES_PASSWORD: airflow
POSTGRES_DB: airflow
volumes:
- ./pgdata:/var/lib/postgresql/data
@ratulotron
ratulotron / .gitignore
Last active August 24, 2019 17:20 — forked from audacioustux/db.env
data

Keybase proof

I hereby claim:

  • I am ratulotron on github.
  • I am ratulotron (https://keybase.io/ratulotron) on keybase.
  • I have a public key ASDGsMXc-CgwisESZsKorxaK89pUAfsgR331A4uT3KlQugo

To claim this, I am signing this object:

#!/usr/bin/env python
"""Script to get Github info using API"""
import requests
import dateutil
from datetime import date
def main():
# add any number of usernames here
users = ['kennethreitz', 'mitsuhiko', 'jkbrzt', 'nvbn', 'donnemartin']
<html>
<head>
<title> Hello World </title>
<style>
body {
background: #112331;
color: #F1E68A;
margin-left: 30%;
margin-top: 10%;
margin-right: 30%;
#!/usr/bin/env python3
import requests as r
import csv
import re
from pprint import pprint
"""
Code written for Python 3. It has better support for UTF-8.
Get a page access token first, then use the following URL to get a long lived access token. Long lived access tokens are valid for 60 days.
#!/usr/bin/env python
"""Script to get Github info using API"""
import requests
# main URL that doesn't get changed
baseurl = "https://api.github.com/users/"
# add any number of usernames here
users = ['kennethreitz', 'mitsuhiko', 'jkbrzt', 'nvbn', 'donnemartin']
# Which JSON properties we want to catch