Skip to content

Instantly share code, notes, and snippets.

View shobhit-jain's full-sized avatar

Shobhit Jain shobhit-jain

View GitHub Profile
@shobhit-jain
shobhit-jain / nse-listed-stocks-list.json
Last active March 3, 2024 07:07
NSE Listed Stocks Lists
[
{
"SYMBOL": "20MICRONS",
"NAME OF COMPANY": "20 Microns Limited",
"SERIES": "EQ",
"DATE OF LISTING": "06-OCT-2008",
"PAID UP VALUE": 5,
"MARKET LOT": 1,
"ISIN NUMBER": "INE144J01027",
"FACE VALUE": 5
This file has been truncated, but you can view the full file.
{
"records": {
"expiryDates": [
"03-Feb-2022",
"10-Feb-2022",
"17-Feb-2022",
"24-Feb-2022",
"03-Mar-2022",
"10-Mar-2022",
"17-Mar-2022",
@shobhit-jain
shobhit-jain / Scrolling-Direction.tsx
Last active July 7, 2021 20:39
Next.js - Detecting Scrolling Direction - Up / Down
import React from 'react'
import { useScrollDirection } from 'react-use-scroll-direction'
export const Window_Scroll_Direction = () => {
const [direction, setDirection] = React.useState(String)
const { isScrollingUp, isScrollingDown } = useScrollDirection()
React.useEffect(() => {
isScrollingDown && setDirection('down')
isScrollingUp && setDirection('up')