Skip to content

Instantly share code, notes, and snippets.

View prashantksharma's full-sized avatar
👨‍💻
Learning. Building.

Prashant K. Sharma prashantksharma

👨‍💻
Learning. Building.
View GitHub Profile
@prashantksharma
prashantksharma / Makefile
Created November 21, 2017 19:14 — forked from nonsleepr/Makefile
Makefile to download Kaggle's datasets
# Requires presence of credentials.txt file containing login/password in the following format:
# UserName=my_username&Password=my_password
COMPETITION=diabetic-retinopathy-detection
all: download_files
session.cookie: credentials.txt
curl -o /dev/null -c session.cookie https://www.kaggle.com/account/login
curl -o /dev/null -c session.cookie -b session.cookie -L -d @credentials.txt https://www.kaggle.com/account/login