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
COUNTRY BEEF PIG POULTRY SHEEP TOTAL
ARG 40.41400058 8.24187459 36.4689953 1.174247185 86.29911766
AUS 22.8010372 20.25072536 42.00750521 7.423454044 92.48272181
BGD 0.885267859 5.14E-04 1.223173534 1.163676301 3.272631248
BRA 24.15640871 11.20721696 39.36312514 0.393513724 75.12026453
BRICS 4.289081407 15.79587836 10.29847417 1.654767905 32.03820184
CAN 17.37132968 15.74658647 34.15846671 0.81704465 68.09342751
CHL 14.96778476 17.51448686 30.93243359 0.411750266 63.82645548
CHN 3.817396071 31.56769795 11.61724318 2.965417779 49.96775498
COL 12.10121226 5.084564383 26.43592901 0.202352547 43.8240582
@neelabalan
neelabalan / command
Created July 23, 2021 05:37
youtube -> markdown
youtube-dl --skip-download --write-info-json <>
@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,
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.