This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(window) { | |
var data, | |
xy = d3 | |
.geo | |
.equirectangular() | |
.scale($('#map_container').width()) | |
.translate([$('#map_container').width() / 2, $('#map_container').height() / 2]), | |
path = d3 | |
.geo | |
.path() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
2020 update: | |
- More iterators, fewer lists | |
- Python 3 compatible | |
- Processes files in parallel | |
(one thread per CPU, but that's not really how it works) | |
2021 update: | |
- Change from legacy format (compat32) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Check if user in github follow you back or not | |
''' | |
import requests | |
username = input("Enter your username: ") | |
def main(username): |