Skip to content

Instantly share code, notes, and snippets.

View Aditya-Jyoti's full-sized avatar
♥️
Certified Lover Boy

Aditya Jyoti Aditya-Jyoti

♥️
Certified Lover Boy
View GitHub Profile
@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 / 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.

 

@heroheman
heroheman / ranger-cheatsheet.md
Last active April 19, 2025 17:27
Ranger Cheatsheet

Ranger Cheatsheet

General

Shortcut Description
ranger Start Ranger
Q Quit Ranger
R Reload current directory
? Ranger Manpages / Shortcuts
@brson
brson / gist:9dec4195a88066fa42e6
Last active January 12, 2025 18:31
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

@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