tre / releaseprobability.py
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 weeks ago
| 1 | from bs4 import BeautifulSoup |
| 2 | import wantlist |
| 3 | |
| 4 | ''' |
| 5 | Requires key.html as generated by the usual script. Download https://colors-tcg.eu/releasechecker.php, strip it to just the divs with class "list" and save as release.html. Save a file called wantlist.py with thelist = current wantlist in list format. This is based on release 192 being the only one not listed. Change nextrelease to the number of the next release. |
| 6 | ''' |
| 7 | |
| 8 | nextrelease = 194 |
| 9 | |
| 10 | values = ["red","orange","yellow","green","blue","purple","brown","gray","special","limited"] |
tre / tildego.sh
0 лайк(-ов)
0 форк(-ов)
1 файл(-ов)
Последняя активность 2 months ago
remove tildes from filenames
| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | for file in *; do mv "${file}" "${file/\~/}" 2> /dev/null; done |
Новее
Позже