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
| ! Put user rules line by line in this file. | |
| ! See https://adblockplus.org/en/filter-cheatsheet | |
| ||github.com | |
| ||live.github.com | |
| githubusercontent.com | |
| api.github.com | |
| githubapp.com | |
| githubassets.com |
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
| """ | |
| check md5 of every part, and remove broken part | |
| put in same foler with partitions, and mkdir part, with empty file md5ok.txt and hash file md5sum.txt | |
| """ | |
| import os | |
| files = os.listdir() | |
| files.sort() | |
| files = files[:-4] |
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
| import numpy as np | |
| class ZKW: | |
| def __init__(self, maxm, maxn, src, des, n): | |
| self.maxm = maxm | |
| self.maxn = maxn | |
| self.e_cost = np.zeros(maxm, dtype=float) | |
| self.e_cap = np.zeros(maxm, dtype=int) | |
| self.e_v = np.zeros(maxm, dtype=int) | |
| self.e_n = np.zeros(maxm, dtype=int) |
NewerOlder