Skip to content

Instantly share code, notes, and snippets.

View NoelJacob's full-sized avatar
🌴
On vacation

Noel Jacob NoelJacob

🌴
On vacation
View GitHub Profile
@buttercutter
buttercutter / mamba.py
Last active May 22, 2024 05:56
Mamba: Linear-Time Sequence Modeling with Selective State Spaces
# [Mamba: Linear-Time Sequence Modeling with Selective State Spaces](https://arxiv.org/abs/2312.00752)
import torch
import torch.nn as nn
import torch.optim as optim
from torch.utils.data import DataLoader, Dataset
from torch.nn import functional as F
from einops import rearrange, repeat
from tqdm import tqdm
@rain-1
rain-1 / LLM.md
Last active July 18, 2024 22:37
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.

@Rast1234
Rast1234 / remember_me.reg
Created June 5, 2022 01:43
Remember me command line args + TexMod + Windows debugger
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\RememberMe_stage1.exe]
"Debugger"="\"C:\\Program Files (x86)\\Steam\\steamapps\\common\\Remember Me\\Binaries\\Win32\\RememberMe_stage2.exe\" -ReadPoolSizeFromIni -DisableTexturePool -USEALLAVAILABLECORES"
@agyild
agyild / NVScaler.glsl
Last active July 7, 2024 22:36
NVIDIA Image Scaling v1.0.2 for mpv
// The MIT License(MIT)
//
// Copyright(c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files(the "Software"), to deal in
// the Software without restriction, including without limitation the rights to
// use, copy, modify, merge, publish, distribute, sublicense, and / or sell copies of
// the Software, and to permit persons to whom the Software is furnished to do so,
// subject to the following conditions :
@nickovs
nickovs / curve25519.py
Created June 29, 2021 20:39
A pure Python implementation of Curve25519
"""A pure Python implementation of Curve25519
This module supports both a low-level interface through curve25519(base_point, secret)
and curve25519_base(secret) that take 32-byte blocks of data as inputs and a higher
level interface using the X25519PrivateKey and X25519PublicKey classes that are
compatible with the classes in cryptography.hazmat.primitives.asymmetric.x25519 with
the same names.
"""
# By Nicko van Someren, 2021. This code is released into the public domain.
@vedam
vedam / svelte-summit-2020-summary.md
Last active February 17, 2024 12:45
links and ressources from the svelte-summit-2020 talks

You'll find the talks here


Morgan Williams @mrgnw

The Zen of Svelte

Approaching frontend as a backend developer, Svelte feels surprisingly pythonic. Let's take a quick look at what's familiar, what's foreign, and how to explore the gap.

@PierBover
PierBover / website_performance.md
Last active March 24, 2021 20:45
Tools to test the performance of your website worldwide
@marshyski
marshyski / Windows 10 Gaming Performance.md
Last active March 25, 2024 08:42
Windows 10 Gaming Optimizations

Windows 10 Gaming Performance

Tested On: MSI GS66 Stealth 10SFS-037 Laptop | Intel i7-10750H | Nvidia RTX 2070 Super

Date Updated: 28JUN2020

Est. Time to Completion: 1 hour

Expected improvement from stock Windows 10 install for gaming is 1-3x network improvement and reduction in OS overhead.

@DianaPerkinsDesign
DianaPerkinsDesign / gist:45844e7012d24102673270f669185a4b
Last active December 5, 2021 12:01
Board Game Recommendations

Playing at a Distance

First of all, there are some great digital options for playing games. Some work well remotely, some support local play on one device. Some are free, some cost money. Rather than list/compare all the options, here are some to check out on your own:

  • [Tabletop Simulator][]
  • [Tabletopia][]
  • [Board Game Arena][]
  • [Yucata][]

No Printer Required