Skip to content

Instantly share code, notes, and snippets.

RetroPie – Connect from Linux

Get RetroPie IP Address

  • Power on RetroPie

  • Go to:

    • Home → RetroPie → WiFi → Connect to WiFi
  • After WiFi is connected

  • Go to:

@j-thepac
j-thepac / ML_RoadMap_short.md
Created January 5, 2026 06:46
ML_RoadMap_short

ML RoadMap Short

Learning Stages Overview

Stage Duration Focus Areas & Key Concepts Recommended Resources
1. Foundations 1 week - Math essentials: linear algebra, probability, statistics, calculus (light, applied focus) Essence of Linear Algebra & Calculus (3Blue1Brown), NCERT revision
2. Programming 2-3 weeks - Python basics: loops, functions, classes, file I/O, virtual environments- Scientific stack: Numpy, Pandas, Matplotlib, PyTorch tensors Programming with Mosh, FreeCodeCamp, creator’s PyTorch playlist
@j-thepac
j-thepac / ML_roadmap.md
Created January 5, 2026 06:41
ML RoadMap

ML RoadMap

Stage 1: Foundations (1 Week)

1. Mathematics for Machine Learning (Applied Level)

1.1 Linear Algebra (for ML, not proofs)

Topics to read

@j-thepac
j-thepac / clean_code.md
Created August 13, 2025 00:43
Clean Code Summary - Robert C. Martin

Clean Code by Robert C. Martin - Chapter Summaries

Chapter 1: Clean Code

  • Clean code is simple and elegant - reads like well-written prose
  • Clean code is focused - each function, class, and module has a single responsibility
  • Clean code is written by someone who cares - attention to detail is evident
  • Clean code can be read and enhanced by others - not just the original author
  • Clean code has meaningful names - variables, functions, and classes have intention-revealing names
  • Clean code has no duplication - follows the DRY principle
  • Clean code runs all tests - is thoroughly tested and works correctly
@j-thepac
j-thepac / important_azure.sql
Last active February 21, 2025 10:39
Import Queries Azure SQL
/* Performance */
-- Do analysis using below queries
-- Also SQL logs in UI
- Open Azure Portal Homepage
- Search for Dedicated SQL pool
- Click on the Dedicated SQL Pool > Monitoring > metrice > filter DWU used - note down time
- Goto Query Activity and corelaetd the query executed in the above time
@j-thepac
j-thepac / Tree_traversal.py
Created September 1, 2024 14:34
Tree Traversal - BFS , DFS , BFS_graph, DFS_graph
class Node:
def __init__(self, value):
self.value = value
self.left = None
self.right = None
def BFS(self,root):
if root is None: return
queue = [root]
while queue:
@j-thepac
j-thepac / syncMulitThreadVsNormal.py
Created August 14, 2024 07:51
To check the performance of Normal Operation vs MulitThreaded Operations
'''
Excercise for Async Multithreaded vs Normal
Problem :
1. To call 2 api
2. Get the response
3. Convert the response data into pandas Dataframe
RUN 1 :
Time take by Async multithreaded = 0.4613368511199951
@j-thepac
j-thepac / Promethus_Grafana.md
Last active July 28, 2024 05:13
Kubernetes ,Promethus and Grafana

Kubernetes with Prometheus and Grafane

  • Helm Chart : Package installer for kubernetes

  • Prometheus: Open-source monitoring and alerting toolkit ( A Prometheus deployment needs dedicated storage space to store scraping data)

  • Grafana : visualization, and observability in Prometheus

1. Pre-Req

minikube start 		# minikube start --memory='12g' --cpus='4' -n 3
@j-thepac
j-thepac / multiThread.py
Created July 21, 2024 16:22
MultiThread in Python
'''
threading
1. No return
2. Can run seperatr function
concurrent.futures
1. Return
2. Only run 1 Function in 1 map
'''