Skip to content

Instantly share code, notes, and snippets.

View Aaryamann171's full-sized avatar

Aaryamann Sharma Aaryamann171

View GitHub Profile
@Aaryamann171
Aaryamann171 / .tmux.conf
Last active September 24, 2024 08:27
latest tmux
# VS Code Dark Colors
GRAY="#808080"
BLUE="#9CDCFE"
DARK_BLUE="#569CD6"
RED="#F44747"
YELLOW="#D7BA7D"
BACKGROUND="#4EC9B0"
FOREGROUND="#1E1E1E"
# colors
@Aaryamann171
Aaryamann171 / stark-colors.md
Created December 10, 2023 03:00
Stark Color Palette - Gnome Terminal

Colors

  • background: #171421
  • foreground: #D0CFCC
  • cursor: 49B9C7,#F6F6F6
  • hightlight: #FFFFFF, #48B9C7
  • green: #00C89C
  • yellow: #F9F871
  • cyan: #00C5E4
  • white: #FBF7FF
  • purple: #9382EC
@Aaryamann171
Aaryamann171 / settings.json
Created September 30, 2023 06:14
VS Code Settings
{
"window.menuBarVisibility": "toggle",
"vim.vimrc.enable": true,
"vim.vimrc.path": "~/.vimrc_editor",
"editor.fontSize": 16,
"terminal.integrated.fontSize": 16,
"vim.useSystemClipboard": true,
"git.enableSmartCommit": true,
"git.confirmSync": false,
"git.autofetch": true,
/*
1. log into your siwggy account and go to https://www.swiggy.com/my-account/orders,
2. scroll down and make sure all the orders are loaded
3. run this snippet in the console
NOTE: They might update the amount class name in the future, make sure you are using the right class name - verify by inspecting the element
*/
const amount_class_name = '_1jGfr';
amount_node_list = document.getElementsByClassName(amount_class_name);
@Aaryamann171
Aaryamann171 / mac_apps_archieve.md
Last active July 9, 2023 20:07
standardise workflow across operating systems

list of useful apps for mac

  1. Rectangle (window manager)
  2. Snap (option + num to open/switch apps)
  3. alt-tab (better alt-tab)
  4. iTerm2 (terminal replacement)
  5. Scroll Reverser (different scroll directions for trackpad and mouse)
@Aaryamann171
Aaryamann171 / ghdark.json
Created October 25, 2022 05:11
Github Dark Theme Color Scheme for Windows Terminal, ripped off from https://github.com/vv9k/vim-github-dark
{
"background": "#161B22",
"black": "#0D1117",
"blue": "#77BDFB",
"brightBlack": "#21262D",
"brightBlue": "#A2D2FB",
"brightCyan": "#A2D2FB",
"brightGreen": "#7CE38B",
"brightPurple": "#CEA5FB",
"brightRed": "#FA7970",
@Aaryamann171
Aaryamann171 / snippet.sh
Created June 26, 2021 18:42
Fix black bar around windows VM
VBoxManage setextradata "VM_NAME" CustomVideoMode1 1920x1080x32
@Aaryamann171
Aaryamann171 / compe_config.md
Last active February 26, 2022 05:52
C++ CP Config

Custom Build System using Ubuntu 20.04 WSL-2 for ST4

{
"shell_cmd": "ubuntu2004 run \"g++ `wslpath '${file}'` && timeout 4s ./a.out<input.txt>output.txt \" ",
"shell":true,
"working_dir":"$file_path",
"selector":"$file_name"
}

Speed up compilation by pre-compiling headers

@Aaryamann171
Aaryamann171 / yeee.ps1
Created February 20, 2021 04:31
bash prompt
export PS1="\[\033[36m\]\u@\h: \[\033[32m\]\w\n\[\033[00m\]-> \[$(tput sgr0)\]"
@Aaryamann171
Aaryamann171 / coder-dark.yml
Created February 17, 2021 20:44
Alacritty Colorscheme Inspired by Code Dark
# Colors (Inspired Based on Code-dark)
colors:
# Default colors
primary:
background: '#1e1e1e'
foreground: '#dcdcaa'
cursor:
text: '#1e1e1e'
cursor: '#dcdcaa'