Skip to content

Instantly share code, notes, and snippets.

View jkarakas's full-sized avatar
🎯
Focusing

Ioannis K Breier jkarakas

🎯
Focusing
View GitHub Profile
@jkarakas
jkarakas / Makefile
Created November 12, 2017 09:16 — 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