Skip to content

Instantly share code, notes, and snippets.

View adityanav123's full-sized avatar
🫎
gobble.gobble

Aditya Navphule adityanav123

🫎
gobble.gobble
View GitHub Profile
@adityanav123
adityanav123 / TableLogger.cpp
Created December 11, 2024 18:20
LogTables Neatly. in C++
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <string>
#include <vector>
class TableLogger {
private:
std::string tableName;
std::vector<std::string> header;
@adityanav123
adityanav123 / wezterm.lua
Created September 14, 2024 18:46
Wezterm Config
local wezterm = require 'wezterm'
local act = wezterm.action
local config = wezterm.config_builder()
config = {
color_scheme = 'GruvboxDarkHard',
font = wezterm.font_with_fallback {
'Rec Mono Casual',
@adityanav123
adityanav123 / .zshrc
Last active October 6, 2024 09:15
.zshrc + starship
eval "$(starship init zsh)"
# aliases
alias v="nvim"
alias ls="eza --icons=always"
alias nvim="$HOME/.local/bin/lvim"
export PATH="$HOME/.config/emacs/bin":$PATH
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
@adityanav123
adityanav123 / update_github.sh
Created August 17, 2024 22:28
Update my github cli config & Generate SSH Key
#!/bin/bash
# Function to update git username and email
update_git_config() {
read -p "Enter your Git username: " git_username
read -p "Enter your Git email: " git_email
git config --global user.name "$git_username"
git config --global user.email "$git_email"
@adityanav123
adityanav123 / .vimrc
Created June 10, 2024 09:04
new vimrc: fedora
set nu rnu
"searching
set incsearch smartcase ignorecase showmatch hlsearch
"autocompletion:menu
set wildmenu
set wildmode=list:longest,full
" syntax highlighting
@adityanav123
adityanav123 / links.md
Created June 5, 2024 17:50
Cinnamon Customization : Personal
@adityanav123
adityanav123 / setup.c
Last active May 21, 2024 20:19
Linux Setup, Written in C
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define MAX_LINE_LENGTH 256
#define MAX_DISTROS 3
typedef enum { DEBIAN_BASED, FEDORA_BASED, ARCH_BASED } Distro;
typedef struct {
@adityanav123
adityanav123 / ricat-test.sh
Created May 20, 2024 19:39
testing-ricat
#!/bin/bash
# Create a test file
echo -e "Line 1\nLine 2\n\nLine 4\n\tLine 5\nLine 6" > test_file.txt
# Helper function to check if the output matches the expected result
check_output() {
local expected="$1"
local actual="$2"
local test_name="$3"
@adityanav123
adityanav123 / apps.md
Last active May 25, 2024 12:17
Applications I Use
  1. Brave Browser/Chrome/Edge/Vivaldi
  2. Warp/Tabby/Kitty
  3. Neovim + LunarVim
  4. Firefox + CSS
  5. vsCode
  6. Rust + Rust Analyzer + RustFMT + Cargo
  7. NVIDIA Drivers + nvidia-smi check
  8. Discord
  9. youtube downloader plus (flatpak)
  10. Jetbrains Toolbox + intellij + rust-rover
@adityanav123
adityanav123 / kitty.conf
Last active September 16, 2024 18:24
kitty config
font_family FiraCode Nerd Font
bold_font FiraCode Nerd Font Bold
italic_font FiraCode Nerd Font Italic
bold_italic_font FiraCode Nerd Font Bold Italic
fallback_font Rec Casual Mono
font_size 12.0
cursor_shape block
cursor_shape_unfocused hollow