How to install Linux Terminal on windows 10:
- Turn windows features on / off.
- Check Windows subsystem for linux.
- Restart.
- Open Microsoft Store
- Search Ubuntu
- Install.
- Create username/password (hidden when you type)
- That’s it!
- Note: all the Windows files are in the directory: /mnt/c
How to download stats of github repository using curl and github api?
- Install curl: sudo apt install curl
- See screenshot.png.
- Analyse the .json file (basically a list of dictionaries) . See jsonReader.py.
- Resource: https://developer.github.com/v3/repos/statistics/#get-the-last-year-of-commit-activity-data
- Note: GET /repos/:owner/:repo/stats/commit_activity Means: https://api.github.com/repos/d3/d3/stats/commit_activity Where you replace :owner and :repo with the person you want to look up.