Skip to content

Instantly share code, notes, and snippets.

View Aditya-Jyoti's full-sized avatar
:shipit:
In pursuit of knowledge

Aditya Jyoti Aditya-Jyoti

:shipit:
In pursuit of knowledge
View GitHub Profile
@jaimergp
jaimergp / config-highlight.cfg
Last active May 27, 2024 12:16
Dark highlighting theme for Python IDLE based on SublimeText's Monokai color scheme
# Place this file inside your ~/.idlerc/ folder
# or paste its contents inside
# /path/to/python/idlelib/config-highlight.def
# Adapted from SublimeText's Monokai
[monokai]
normal-foreground= #F8F8F2
normal-background= #272822
keyword-foreground= #F92672
keyword-background= #272822
@brson
brson / gist:9dec4195a88066fa42e6
Last active June 26, 2025 11:11
A Rust Syntax Guide

A Guide to Rust Syntax

A very brief guide to Rust syntax. It assumes you are already familiar with programming concepts.

This was written in 2014. It is not a good reference for Rust today, though the content is still correct.

cheats.rs looks like a good alternative.

Assert macro

@heroheman
heroheman / ranger-cheatsheet.md
Last active June 30, 2025 11:47
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@Aditya-Jyoti
Aditya-Jyoti / Special-Methods.md
Last active May 31, 2021 10:19
List of all Special Methods in Python OOP

List of all Special Methods in Python OOP

Initialization and Construction

Method Description
new(cls, other) To get called in an object's instantiation.
init(self, other) To get called by the __new__ method.
del(self) Destructor method.

 

@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
@Aditya-Jyoti
Aditya-Jyoti / ..README.md
Last active June 3, 2025 21:55
ZSH and NVIM configs

ZSH and NVIM configs

For NVIM

note: you may want to install lates nvim through their relases page

  • curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz
  • sudo rm -rf /opt/nvim
  • sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz