Skip to content

Instantly share code, notes, and snippets.

View AnshMittal1811's full-sized avatar
💭
I am standing on the shoulder of Giants

Ansh Mittal AnshMittal1811

💭
I am standing on the shoulder of Giants
View GitHub Profile
@AnshMittal1811
AnshMittal1811 / System Design.md
Created April 23, 2021 07:21 — forked from vasanthk/System Design.md
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?
@AnshMittal1811
AnshMittal1811 / GoogleMapDownloader.py
Created June 3, 2021 10:36 — forked from eskriett/GoogleMapDownloader.py
A python script to download high resolution Google map images given a longitude, latitude and zoom level.
#!/usr/bin/python
# GoogleMapDownloader.py
# Created by Hayden Eskriett [http://eskriett.com]
#
# A script which when given a longitude, latitude and zoom level downloads a
# high resolution google map
# Find the associated blog post at: http://blog.eskriett.com/2013/07/19/downloading-google-maps/
import urllib
import Image
@AnshMittal1811
AnshMittal1811 / install_PyG.py
Created January 13, 2022 01:57 — forked from ameya98/install_PyG.py
Google Colab: PyTorch Geometric Installation
# Add this in a Google Colab cell to install the correct version of Pytorch Geometric.
import torch
def format_pytorch_version(version):
return version.split('+')[0]
TORCH_version = torch.__version__
TORCH = format_pytorch_version(TORCH_version)
def format_cuda_version(version):