Skip to content

Instantly share code, notes, and snippets.

View Aadv1k's full-sized avatar
🔨
Building

Aadvik Pandey Aadv1k

🔨
Building
View GitHub Profile
@Aadv1k
Aadv1k / note.org
Created August 19, 2023 20:55
lessons learnt

Forcing your brain to do hard things

Here are some strategies for what I call “creative learning” essentially the idea is that creating something of value comes before anything else, any and all learning shall be done across the journey.

Problems with this approach

  • The cost out-weighs the reward: the reward of a “flashy new idea” wears down as harder challenges come up. It’s the classic conundrum of the “hype” dying down
  • Unable to come up with an inspirational idea: not all ideas are born the same, some are either wayy to complex or simply uninteresting (especially if the idea has already been implemented)
@Aadv1k
Aadv1k / .tmux.conf
Last active January 27, 2026 11:09
Created using GPT v3.5; Prompt "Give me a tmux config with the following - bind the c-b to c-a - set the status bar to be black and be at the top - use vim navigation "
unbind C-b
set -g prefix C-a
bind C-a send-prefix
set -g status-position top
set -g status-bg black
set -g status-fg white
# https://stackoverflow.com/questions/51639540/tmux-scroll-mode-vim-keybindings
@Aadv1k
Aadv1k / init.lua
Last active December 25, 2023 12:36
Configuration file for Aadvik's Neovim v0.9+
-- File: init.lua
-- Description: Configuration file for Aadvik's Neovim v0.9+
-- Author: Aadvik <aadv1k@outlook.com>
-- License: Public Domain or Unilicense
vim.o.number = true
vim.o.relativenumber = true
vim.o.smartindent = true
vim.o.autoindent = true
@Aadv1k
Aadv1k / day01.c
Created September 7, 2025 18:38
Advent Of Code 2024 in C DAY 01 02 (one star only) 03
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
int comparator(const void* a, const void* b) {
return (*(int*)a - *(int*)b);
}