Skip to content

Instantly share code, notes, and snippets.

@neelabalan
neelabalan / README.md
Last active October 19, 2020 14:38
collection of html files

Collection of HTML files

files I wrote when I started learning HTML, CSS and JS long back

@neelabalan
neelabalan / README.md
Last active February 28, 2021 12:47
load testing with apache benchmark (danionescu0/docker-flask-mongodb-example)

Results

benchmarking (danionescu0/docker-flask-mongodb-example) random service using apache benchmark

Dockerfile

FROM pypy:3-slim
ARG requirements
RUN apt-get update
RUN apt install git -y
WORKDIR /root
@neelabalan
neelabalan / command
Created July 23, 2021 05:37
youtube -> markdown
youtube-dl --skip-download --write-info-json <>
@neelabalan
neelabalan / df_to_table.py
Created October 3, 2021 16:57 — forked from avi-perl/df_to_table.py
Convert a pandas.DataFrame object into a rich.Table object for stylized printing in Python.
from datetime import datetime
from typing import Optional
import pandas as pd
from rich import box
from rich.console import Console
from rich.table import Table
console = Console()
@neelabalan
neelabalan / rg.sh
Created April 9, 2022 11:50
rg passtru
rg --passthru --max-count 10 --color ansi job

The Laws of Human Nature Cheat Sheet

The Laws of Human Nature by Robert Greene

For every law the author provides an example from history, interprets and explains it and gives advice on how to use the law.

  • Pros: very interesting historical examples.
  • Cons: the laws are not supported by any scientific data and purely an opinion of the author.
@neelabalan
neelabalan / log.py
Created September 21, 2022 15:59
Loguru internal logger object creation
from loguru import _Logger
from loguru import _Core
import ray
def create_logger_obj():
return _Logger(
core=_Core(),
exception=None,
depth=0,
@neelabalan
neelabalan / metadata_650-750and800-934.json
Last active September 23, 2022 08:43
metadata kats m4
[
{
"hpt_res": {
"sarima": [
{
"p": 1,
"d": 0,
"q": 0,
"seasonal_order": [
0,
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@neelabalan
neelabalan / test.ipynb
Created December 6, 2022 07:05
Central Limit Theorem
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.