Skip to content

Instantly share code, notes, and snippets.

View avizyt's full-sized avatar
🎯
Focusing

Avijit Biswas avizyt

🎯
Focusing
View GitHub Profile
// Authentication session
import { getServerSession } from "next-auth/next";
import { NextAuthOptions, User } from "next-auth";
import { AdapterUser } from "next-auth/adapters";
import GoogleProvider from "next-auth/providers/google";
import jsonwebtoken from "jsonwebtoken";
import { JWT } from "next-auth/jwt";
import Google from "next-auth/providers/google";
export const authOptions: NextAuthOptions = {
@avizyt
avizyt / joblib.md
Last active March 24, 2023 19:03
sklearn_gist

JOblibs snippets

@avizyt
avizyt / fielsdAndMethods
Last active September 10, 2022 08:31
Java Notes
Java Class has two primary elements.
1. methods
2. function
Together these called the member of the Class.
Method has return type such as String, Int
and there is a spacial type called void which means no value at all.
parameter:
@avizyt
avizyt / snippets.js
Created September 2, 2022 12:54
Code Snippets
‎‎​
@avizyt
avizyt / DOMmanipulation.md
Last active September 8, 2022 13:55
JavaScriptPad

Document Object Model

Topics

  1. Basic DOM traversing
  2. Accessing elements in the DOM
  3. Element click handler
  4. This and the DOM
  5. Manipulating element style
  6. Changing the classes of an element