Skip to content

Instantly share code, notes, and snippets.

Satwik Kansal satwikkansal

Block or report user

Report or block satwikkansal

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@satwikkansal
satwikkansal / REPORT.md
Last active Mar 29, 2019
Work Report for Google Summer Of Code 2017
View REPORT.md
Orgainization [coala]
Project name Enhance coala-quickstart
Primary repository [coala-quickstart]
Project Mentors Adhityaa, Zatreanu Adrian-Gabriel
Project Page [Summer of Code Project Page]
Status Completed

Project Abstract

View Simple Cricket API script
#importing the python requests library
import requests
def get_scores():
url = "https://cricscore-api.appspot.com/csa"
#Creatin a GET request
response = requests.get(url)
@satwikkansal
satwikkansal / instructions.md
Created Sep 19, 2019
Steps for settting up Jupyter notebook for virtual environment in Python (2019 guide)
View instructions.md

Make sure you have jupyter installed and virtual envrionment set up already. I prefer virtualenv. If you don't have it set up, you can follow these steps,

$ pip install jupyter
$ pip install virtualenv
$ python -m virtualenv venv
$ source venv/bin/activate

Here, we've created virtual environment called venv and activated it.

View keybase.md

Keybase proof

I hereby claim:

  • I am satwikkansal on github.
  • I am satwikkansal (https://keybase.io/satwikkansal) on keybase.
  • I have a public key ASA-7f0t0AGsQ_56-_ofDR-c-vsF5qsdwT-_jFENkxM35wo

To claim this, I am signing this object:

View test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@satwikkansal
satwikkansal / index.html
Created Mar 15, 2020
Simple React Component Example
View index.html
<div id="example"></div>
@satwikkansal
satwikkansal / cheatsheet.cpp
Last active May 22, 2020
C++ STL cheatsheet for competitive progrmming
View cheatsheet.cpp
/*
This a header file that includes every standard library.
You can use it to save time.
NOTE: This header file may not be recognized by compilers
other than gcc.
*/
#include <bits/stdc++.h>
/*
//Use this if the above header file doesn't work.
You can’t perform that action at this time.