Skip to content

Instantly share code, notes, and snippets.

View darth-dodo's full-sized avatar
🐍
Simple is better than complex.

Abhishek Juneja darth-dodo

🐍
Simple is better than complex.
View GitHub Profile
@darth-dodo
darth-dodo / clean_code.md
Created May 9, 2023 16:32 — forked from wojteklu/clean_code.md
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

@darth-dodo
darth-dodo / python-microservices.md
Created September 10, 2018 03:21
Principles for Python Microservices
@darth-dodo
darth-dodo / git-flow-presentation.md
Created August 18, 2018 05:02
Git flow Presentation for Tech Diwas

Tech Diwas 18th August

Git Flow - Abhishek Juneja

What is git (open question)

Need for company specific git flow

Terminology

  • develop

Basic

import code; code.interact(local=locals())

Advanced

IPython with embed()

@darth-dodo
darth-dodo / gist:8d780cd653d0aeababa0dcf79e0b9e28
Created August 7, 2018 10:58 — forked from Atem18/gist:4696071
Tutorial to seting up a django website in production.

Set up Django, Nginx and Gunicorn in a Virtualenv controled by Supervisor

Steps with explanations to set up a server using:

  • Virtualenv
  • Virtualenvwrapper
  • Django
  • Gunicorn
@darth-dodo
darth-dodo / gist:09eb13e77104fd4a34717f129282b2db
Created August 6, 2018 11:07 — forked from evildmp/gist:3094281
Set up Django, nginx and uwsgi

This document has now been incorporated into the uWSGI documentation:

http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html

Set up Django, nginx and uwsgi

Steps with explanations to set up a server using:

@darth-dodo
darth-dodo / Time Zone.md
Created April 17, 2018 11:39
Time Zone.md

You are unique, don't compare yourself to others.

Someone graduated at the age of 22, yet waited 5 years before securing a good job; and there is another who graduated at 27 and secured employment immediately!

Someone became CEO at 25 and died at 50 while another became a CEO at 50 and lived to 90 years.

Everyone works based on their 'Time Zone'. People can have things worked out only according to their pace.

Work in your β€œtime zone”. Your Colleagues, friends, younger ones might "seem" to go ahead of you. May be some might "seem" behind you. Everyone is in this world running their own race on their own lane in their own time. God has a different plan for everybody. Time is the difference.

╔══════╦══════╦════════╗
β•‘ Col1 β•‘ Col2 β•‘ NumCol β•‘
╠══════╬══════╬════════╣
β•‘ MMM β•‘ MMM β•‘ MMM β•‘
β•‘ 111 β•‘ 111 β•‘ 111 β•‘
β•‘ AAA β•‘ AAA β•‘ AAA β•‘
β•šβ•β•β•β•β•β•β•©β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•
@darth-dodo
darth-dodo / ted-talks.md
Created March 25, 2018 14:57
TED Talks
@darth-dodo
darth-dodo / RAILS_CHEATSHEET.md
Created March 10, 2018 09:24 — forked from mdang/RAILS_CHEATSHEET.md
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before