This file contains hidden or 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
/* using gradle */ | |
// dependencies { | |
// compile 'com.akamai.edgegrid:edgegrid-signer-google-http-client:2.1.1' | |
// compile 'com.akamai.edgegrid:edgegrid-signer-core:2.1.1' | |
// compile 'com.akamai.edgegrid:edgegrid-signer-rest-assured:2.1.1' | |
// } | |
package akamai.purge; | |
import com.akamai.edgegrid.signer.ClientCredential; |
This file contains hidden or 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
from ip2geotools.databases.noncommercial import DbIpCity | |
import collections | |
countries = [] | |
with open("IP.csv") as f: | |
while True: | |
line = f.readline() | |
if not line: | |
break |