Skip to content

Instantly share code, notes, and snippets.

View aksh1618's full-sized avatar

Aakarshit Uppal aksh1618

View GitHub Profile
@aksh1618
aksh1618 / spring-reactive-talks-notes.md
Last active January 24, 2022 11:27
Spring Reactive Talks + Notes
  • Reactive Streams Spec: The purpose of Reactive Streams is to provide a standard for asynchronous stream processing with non-blocking backpressure.
    • Publisher:
      void subscribe(Subscriber<? super T> s)
    • Subscriber:
      void onSubscribe(Subscription s);
      void onNext(T t);

void onError(Throwable t);

@aksh1618
aksh1618 / 📊 My movie + shows statistics
Last active April 5, 2022 00:41
📊 My movie + shows statistics
I've watched 455 movies and 2728 episodes of 102 shows.
My favorite 3 genres are:
drama ███▌░░░░░░░░░░░░░░░░░ 17.2%
comedy ██▍░░░░░░░░░░░░░░░░░░ 11.9%
action ██▎░░░░░░░░░░░░░░░░░░ 11.0%
@aksh1618
aksh1618 / badram_to_memmap.rs
Last active December 10, 2023 12:31
Convert BadRAM to memmap
// Rust playground link: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=7c51f91cfddb501bd24fdaa6d7238d80
const PAGESIZE: u64 = 4096;
const MIN_SIZE_KIB: u64 = 4;
fn main() {
println!("Enter BadRAM string. It must be a single line of comma separated");
println!("values, with address and mask alternating. This is basically the");
println!("badram output from memtest86+ et al with all values in a single");
println!("line without the `badram=` prefix.");
@aksh1618
aksh1618 / 💻 My Code::Stats XP (Top Languages)
Last active February 29, 2024 15:15
💻 My Code::Stats XP (Top Languages)
Total XP :::::::::::::::::::::: lvl 34 (1,859,924 XP)
Java :::::::::::::::::::::::::: lvl 24 ( 968,265 XP)
Kotlin :::::::::::::::::::::::: lvl 10 ( 191,046 XP)
XML ::::::::::::::::::::::::::: lvl 7 ( 96,320 XP)
Rust :::::::::::::::::::::::::: lvl 7 ( 94,226 XP)
Python :::::::::::::::::::::::: lvl 7 ( 89,275 XP)
YAML :::::::::::::::::::::::::: lvl 7 ( 86,999 XP)
Markdown :::::::::::::::::::::: lvl 6 ( 78,309 XP)
Plain text :::::::::::::::::::: lvl 6 ( 58,854 XP)
Git Commit Message :::::::::::: lvl 5 ( 45,256 XP)
@aksh1618
aksh1618 / 🎵 My last week in music
Last active March 1, 2024 00:32
🎵 My last week in music
Future Islands ███████▎░░░░░░░░░ 12 plays
Noah Kahan ██████▋░░░░░░░░░░ 11 plays
Bombay Bicycle Club ██▍░░░░░░░░░░░░░░ 4 plays
Borderlands ▌░░░░░░░░░░░░░░░░ 1 plays