Skip to content

Instantly share code, notes, and snippets.

View atulkumar2's full-sized avatar

Atul Kumar atulkumar2

  • Freelance
  • Bangalore
View GitHub Profile
@atulkumar2
atulkumar2 / LLM_learning.txt
Created February 6, 2025 19:17
List of LLM learning resources
https://www.llm-book.com/
https://learn.deeplearning.ai/courses/building-toward-computer-use-with-anthropic/
https://www.youtube.com/watch?v=7xTGNNLPyMI&t=11s - A general audience deep dive into LLM. It covers the full training stack of how the models are developed, along with mental models of how to think about their "psychology", and how to get the best use them in practical applications.
Instructor
Andrej was a founding member at OpenAI (2015) and then Sr. Director of AI at Tesla (2017-2022)
Find more at https://karpathy.ai/ and https://x.com/karpathy
@atulkumar2
atulkumar2 / NIFTY 50_Historical_PR_03071990to13012025.csv
Created February 4, 2025 09:01
NSE Historical PR (Nifty 50) Till 13 Jan 2025
Index Name Date Open High Low Close
NIFTY 50 03 Jul 1990 - - - 279.02
NIFTY 50 05 Jul 1990 - - - 284.04
NIFTY 50 06 Jul 1990 - - - 289.04
NIFTY 50 09 Jul 1990 - - - 289.69
NIFTY 50 10 Jul 1990 - - - 288.69
NIFTY 50 11 Jul 1990 - - - 293.30
NIFTY 50 12 Jul 1990 - - - 296.21
NIFTY 50 13 Jul 1990 - - - 296.34
NIFTY 50 16 Jul 1990 - - - 287.96
@atulkumar2
atulkumar2 / nse_holidays.csv
Last active February 5, 2025 07:31
NSE Holiday list till 2025 (from 2006)
Date Day Description
2025-12-25 Thursday Christmas
2025-11-05 Wednesday Prakash Gurpurb Sri Guru Nanak Dev
2025-10-22 Wednesday Balipratipada
2025-10-21 Tuesday Diwali Laxmi Pujan
2025-10-02 Thursday Mahatma Gandhi Jayanti/Dussehra
2025-08-27 Wednesday Shri Ganesh Chaturthi
2025-08-15 Friday Independence Day / Parsi New Year
2025-05-01 Thursday Maharashtra Day
2025-04-18 Friday Good Friday
@atulkumar2
atulkumar2 / nsepais
Last active January 31, 2025 07:28
NSE API repositories
https://github.com/hi-imcodeman/stock-nse-india
https://github.com/marketcalls
https://pypi.org/project/nsepython/
https://github.com/marketcalls/openchart
@atulkumar2
atulkumar2 / jupyterlsp_requirements.txt
Last active September 20, 2024 15:01
Install Jupyter LSP for Python on Windows 11
# Fickle setup with too many issues on Windows 11 client
# https://github.com/jupyter-lsp/jupyterlab-lsp
# Windows 11
# Python 3.11 or 3.12
# Do this before other installations
# Make sure that all subsequent packages are installed from conda-forge. If Python changes to official package, jupyter lab stops working properly.
conda create -n <envname>
conda install -c conda-forge python=3
conda install -c conda-forge 'jupyterlab>=4.1.0,<5.0.0a0' jupyterlab-lsp
@atulkumar2
atulkumar2 / WIndows 11 VScode github.md
Last active April 19, 2023 11:57
Use git to interact with github in VSCode on windows 11

Use git to interact with github in VSCode on windows 11.

Github no longer allow password based authentication so SSH is the one way to avoid convoluted authentication via browser.

Installation

Open windows terminal and start a git bash session.

##############################################################
# Some functions for basic EDA
# With active help from chatgpt
##############################################################
def header_comment(msg):
print(msg + '\n' + '-' * 50 + '\n')
def basic_df_info(df):
@atulkumar2
atulkumar2 / date_datetime.py
Created April 29, 2022 08:39
Check some date and datetime functioning
from datetime import datetime, timedelta
date1 = datetime.now()
date2 = date1 + timedelta(days=1)
print(date1)
print(date2)
print(date1 > date2)
@atulkumar2
atulkumar2 / Python-2spaces-fromat.md
Created April 27, 2022 06:15
Format Python files using 2 spaces in VSCode
@atulkumar2
atulkumar2 / continuous_screenshot.py
Last active April 9, 2021 18:05
Take screenshot of the whole screen at regular intervals
###############################################################################
# Takes screenshot at defined interval and saves at a defined path
# Minimize the program window for proper screenshot
# Install package pyautogui in a separate conda environment
# Prefer to use anaconda.org to create environment
# Created on 2021-04-09
###############################################################################
import os
import time