Skip to content

Instantly share code, notes, and snippets.

View pran9v's full-sized avatar
:octocat:

Pranav pran9v

:octocat:
View GitHub Profile
@pran9v
pran9v / cdpf.js
Created September 25, 2025 16:08
cfperformance
// ==UserScript==
// @name CF Performance
// @namespace http://tampermonkey.net/
// @version 0.3
// @description Adds the performance column to the user's Codeforces contest list page
// @author PikMike
// @match https://codeforces.com/contests/with/<username>
// @require https://code.jquery.com/jquery-3.6.0.min.js
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.31.3/js/jquery.tablesorter.min.js
// @grant none
@pran9v
pran9v / react+vite.md
Created April 9, 2024 16:04
how to install vite + react
  • Install Node.js
  • Create new project directory and move to it
  • Install Vite.js:
npm create vite@latest
  • navigate to the project:
cd my-react-app
@pran9v
pran9v / tsctscrape.py
Last active December 19, 2023 12:31
scraps the data out of tsct website for the bijnor region and pushes it into the excel file
from bs4 import BeautifulSoup
import time
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from openpyxl import Workbook
from openpyxl import load_workbook
def scrape_data (url):
driver = webdriver.Chrome()
driver.get(url)
time.sleep(5)