Re init git

This commit is contained in:
ookangzheng
2019-08-04 00:25:17 +08:00
commit a9fadc5d00
67 changed files with 1580436 additions and 0 deletions

10
hosts/convert.py Executable file
View File

@@ -0,0 +1,10 @@
import os
inputFile = "gravity.list"
outputFile = "rpz.blacklist"
with open(inputFile, 'r') as f: # load file
lines = f.read().splitlines() # read lines
os.remove("rpz.blacklist")
with open(outputFile, 'w') as f:
f.write('\n'.join([line + ' CNAME .' for line in lines]))