Skip to content

Instantly share code, notes, and snippets.

View nshganesh's full-sized avatar

Ganesh Hegde nshganesh

View GitHub Profile
@shri-kanth
shri-kanth / tax.py
Created July 18, 2019 21:26
Script to Caculate Income Tax for year 2019-2020 India
#!/usr/bin/env python
# coding: utf-8
# Script to Caculate Income Tax for year 2019-2020 India
# Reference Link 1 : https://www.incometaxindia.gov.in/charts%20%20tables/tax%20rates.htm
# Reference Link 2 : https://www.incometaxindia.gov.in/Pages/tools/income-tax-calculator-234ABC.aspx
import numpy as np
import matplotlib.pyplot as plt
@yosukehasumi
yosukehasumi / readme.md
Last active October 22, 2021 15:12
DigitalOcean Rails/Ubuntu/NGINX (16.04) Setup

DigitalOcean Rails/Ubuntu/NGINX (16.04) Setup

  1. Setup
  2. Swapfile
  3. NGINX
  4. ElasticSearch
  5. RVM
  6. Rails
  7. Postgres
  8. Capistrano
@jesstelford
jesstelford / event-loop.md
Last active October 16, 2025 15:48
What is the JS Event Loop and Call Stack?

Regular Event Loop

This shows the execution order given JavaScript's Call Stack, Event Loop, and any asynchronous APIs provided in the JS execution environment (in this example; Web APIs in a Browser environment)


Given the code

@vasanthk
vasanthk / System Design.md
Last active October 22, 2025 09:01
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?