Skip to content

Instantly share code, notes, and snippets.

View devanshdalal's full-sized avatar
🥝

Devansh D. devanshdalal

🥝
View GitHub Profile
@devanshdalal
devanshdalal / Makefile
Created April 18, 2017 06:02 — forked from h4cc/Makefile
Ubuntu 14.04 LTS Trusty Tahr - Basic packages i usually install
#
# Ubuntu 14.04 LTS (Trusty Tahr)
#
# Basic packages i usually install
#
# Author: Julius Beckmann <github@h4cc.de>
#
# For 16.04 Xenial Xerus: https://gist.github.com/h4cc/fe48ed9d85bfff3008704919062f5c9b
#
# Steps To follow to download your leetcode:
#1. Login to leetcode account on your default browser
#2. Get your session Id for leetcode.com from Browser ( for chrome: press settings, then content settings, then Go to Cookies and copy value of field 'LEETCODE_SESSION'; you can find similar value for firefox and other browsers).
#3. Create a folder to save your leetcode codes.
#4. Keep the downloaded leetcode.py into that folder
#5. Pass LEETCODE_SESSION as the first command line argument with your session ID (copied in step 2)
#6. run file as 'python leetcode.py LEETCODE_SESSION_ID'
#7. wait for all submssions to download.
# Features: