Skip to content

Instantly share code, notes, and snippets.

View harshraj22's full-sized avatar
✌️
😋 Integrating Continiously

Harsh Raj harshraj22

✌️
😋 Integrating Continiously
View GitHub Profile
@wojteklu
wojteklu / clean_code.md
Last active July 23, 2024 07:47
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

@rajatdiptabiswas
rajatdiptabiswas / Binary Indexed Tree.py
Last active June 22, 2023 05:20
Implementation of Binary Indexed Tree/Fenwick Tree in Python
#!/usr/bin/env python3
"""
Binary Indexed Tree / Fenwick Tree
https://www.hackerearth.com/practice/notes/binary-indexed-tree-made-easy-2/
https://www.topcoder.com/community/data-science/data-science-tutorials/binary-indexed-trees/
https://www.youtube.com/watch?v=v_wj_mOAlig
https://www.youtube.com/watch?v=kPaJfAUwViY
"""
@wgcv
wgcv / AboutMe.gif
Last active June 8, 2024 16:28
About Me
AboutMe.gif
@johncurcio
johncurcio / me.gif
Last active July 3, 2020 21:57
About Me
me.gif
@harshraj22
harshraj22 / update_repo.md
Last active March 21, 2020 07:00
A file depicting how to update your repo from other repo

git add upstream https://github.com/harshraj22/Practice_plan.git
(add upstream branch, as you created local git repo now, it isn't expected to have an upstream)

git fetch upstream
(fetch all changes from upstream to local repo)

git rebase upstream/master
(rebase your current branch from master of upstream, you can also use git merge --allow-unrelated-histories upstream/master if you prefer merge commit)

git remote rm origin

@harshraj22
harshraj22 / Automated_Payrolle.md
Last active October 9, 2021 20:12
For preparation of discussion of projects in the interview

Screenshot from 2019-11-10 21-33-56

Challenges
Mistakes/Failures
Enjoyed
Leadership
Conflicts
What You'd Do Differently