Skip to content

Instantly share code, notes, and snippets.

View hypogealgaol's full-sized avatar
🌒

Sinjihn hypogealgaol

🌒
  • minacolor
  • Tokyo
View GitHub Profile
@wojteklu
wojteklu / clean_code.md
Last active April 8, 2025 19:58
Summary of 'Clean code' by Robert C. Martin

Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.


General rules

  1. Follow standard conventions.
  2. Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
  3. Boy scout rule. Leave the campground cleaner than you found it.
  4. Always find root cause. Always look for the root cause of a problem.

Design rules

@receptor
receptor / learn-git-the-hard-way.txt
Created March 14, 2018 21:36
Learn Git the hard way
1) Reference
Many will know this already, but I need to make sure you know it because it’s so fundamental.
A ‘reference’ is a string that points to a commit.
There are four main types of reference: HEAD, Tag, Branch, and Remote Reference.
HEAD
HEAD is a special reference that always points to where the git repository is.
If you checked out a branch, it’s pointed to the last commit in that branch.
@sgup
sgup / recommended-routine.md
Last active March 19, 2025 14:11
Recommended Routine - Reddit BodyweightFitness