Skip to content

Instantly share code, notes, and snippets.

View bklynate's full-sized avatar
🤘
“Who you are is defined by what you’re willing to struggle for.”

Nathaniel Quashie bklynate

🤘
“Who you are is defined by what you’re willing to struggle for.”
View GitHub Profile
@bklynate
bklynate / route.ts
Created January 14, 2025 15:30 — forked from leog/route.ts
Next-Auth Server-side Sign in
import { AuthHandler } from "node_modules/next-auth/core";
import { getServerAuthSession } from "@/server/auth";
import { cookies, headers } from "next/headers";
import { getCsrfToken } from "next-auth/react";
import { authOptions } from "@/server/auth";
import { type AuthAction } from "next-auth";
import { redirect } from "next/navigation";
import { createHash } from "crypto";
export default async function Page({
@bklynate
bklynate / SP500.csv
Created June 3, 2024 23:03 — forked from ZeccaLehn/SP500.csv
S&P500 CSV Tickers
Symbol Name Sector
MMM 3M Company Industrials
AOS A.O. Smith Corp Industrials
ABT Abbott Laboratories Health Care
ABBV AbbVie Inc. Health Care
ACN Accenture plc Information Technology
ATVI Activision Blizzard Information Technology
AYI Acuity Brands Inc Industrials
ADBE Adobe Systems Inc Information Technology
AAP Advance Auto Parts Consumer Discretionary
@bklynate
bklynate / gist:b3b6341450c0896e5f4929d5b496bc91
Created August 6, 2023 15:35 — forked from mberman84/gist:45545e48040ef6aafb6a1cb3442edb83
LLaMA 2 13b chat fp16 Install Instructions
conda create -n textgen python=3.10.9
conda activate textgen
install pytorch: pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu117
git clone https://github.com/oobabooga/text-generation-webui
cd text-generation-webui
pip install -r requirements.txt
python server.py
# download model
# refresh model list
# load model
@bklynate
bklynate / espn-api-list.md
Created February 18, 2023 08:15 — forked from nntrn/espn-api-list.md
list of nfl api endpoints from espn

List of NFL API Endpoints

View updated list here

This page is limited to NFL endpoints but can be refashioned for other sports leagues (i.e. /sports/football/leagues/nfl/ => /sports/baseball/leagues/mlb/)


Getting started

import React from 'react';
const JobResultItem = props => {
console.log('JobResultItem::', props);
return (
<div>
<pre><code>{JSON.stringify(props.data)}</code></pre>
</div>
);
};
@bklynate
bklynate / gist:e28159fc97e534992b56336de35d465c
Created January 12, 2020 22:29 — forked from totherik/gist:3a4432f26eea1224ceeb
v8 --allow-natives-syntax RuntimeFunctions
Per https://code.google.com/p/v8/codesearch#v8/trunk/src/runtime.cc
%CreateSymbol
%CreatePrivateSymbol
%CreateGlobalPrivateSymbol
%NewSymbolWrapper
%SymbolDescription
%SymbolRegistry
%SymbolIsPrivate
@bklynate
bklynate / web-performance.md
Created January 12, 2020 10:26 — forked from stevekinney/web-performance.md
Web Performance Workshop

Web Performance

Requirements

Repositories

@bklynate
bklynate / font_variables.scss
Created August 6, 2019 15:14 — forked from jacrook/font_variables.scss
Sass Css Font Stack Variables
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;
@bklynate
bklynate / font_variables.scss
Created August 6, 2019 15:14 — forked from jacrook/font_variables.scss
Sass Css Font Stack Variables
//////////////////////////////////////////////////////////////
// Font Variables (http://cssfontstack.com/)
//////////////////////////////////////////////////////////////
//
// Serif font-stacks
//
$baskerville-font-stack: "Big Caslon", "Book Antiqua", "Palatino Linotype", Georgia, serif !default;