Skip to content

Instantly share code, notes, and snippets.

View sakshamchhimwal's full-sized avatar
🎯
Focusing

Saksham Chhimwal sakshamchhimwal

🎯
Focusing
View GitHub Profile
@sakshamchhimwal
sakshamchhimwal / addTimer.tsx
Created October 24, 2023 20:24
Tasks Solution
// Location: app/(login)/login/page.tsx
"use client"
import { useState } from "react"
import LoginLayout from "./layout";
export default function Page() {
const [name, setName] = useState("")
const [date, setDate] = useState(Date.now().toString());
const [secs, setSecs] = useState(0);
@sakshamchhimwal
sakshamchhimwal / Hacktober23Readme.md
Created September 25, 2023 18:05
Readme.md for Hacktober Fest Project

Institute Forms

What is this project for?

This project is being primariliy focsing on the work reuqest management in IIT Dharwad. A platform to seamlessy let the users push their issues to the required authorities. It will act as medium between the users and the responsible authorites in IIT Dharwad.

Scopes of this project

@sakshamchhimwal
sakshamchhimwal / 1749A.cpp
Last active November 22, 2022 06:39
This Gist Holds All The CodeForces 800 level question solutions
#include<bits/stdc++.h>
using namespace std;
int solve(){
int n,m;
cin>>n;
cin>>m;
int sum=0;
for(int i=0;i<m;i++){
int a,b;
#Gist Created By Saksham ChhimwalAt 1668695778
#Gist Created By Saksham ChhimwalAt 1668695720
# change above line to point to local 
# python executable
import urllib&#44; urlparse&#44; string&#44; time
 
# create URL with desired search parameters
url = &#34;http&#58;//archive.stsci.edu/pointings/search.php?&#34;
url = url + &#34;primary=ACS&outputformat=CSV&#34;
#Gist Created By Saksham ChhimwalAt 1668680979
@sakshamchhimwal
sakshamchhimwal / djb.py
Last active November 17, 2022 10:15
adbd
def main1&#40;&#41;&#58;
for i in range&#40;1&#44;3&#41;&#58;
print&#40;i&#41;
if&#40;i<5&#41;&#58;
print&#40;&#34;Yes&#34;&#41;
else&#58;
print&#40;&#34;NO&#34;&#41;
def main&#40;&#41;&#58;
for i in range&#40;1&#44;5&#41;&#58;
if&#40;i<2&#41;&#58;
#Gist Created By Saksham ChhimwalAt 1668679906
@sakshamchhimwal
sakshamchhimwal / dbjj.py
Last active November 17, 2022 10:11
saksham
from __future__ import annotations
import sys
from io import StringIO
from typing import Callable, TextIO, cast
def _run&#40;main_wrapper&#58; Callable[[TextIO, TextIO], None]&#41; -> tuple[str, str, int]&#58;
stdout = StringIO&#40;&#41;