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
"""Hello world, with a genetic algorithm. | |
https://twitter.com/matthen2/status/1769368467067621791 | |
""" | |
import random | |
import time | |
from dataclasses import dataclass | |
from itertools import chain | |
from typing import Iterable, List |
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 bash | |
# we are going to fetch all refs (including 'refs/pull/*') from Git remote | |
# 'repo-to-fetch', which points to public GitHub repo defined by URL | |
# '${repoURL}' where the GitHub user account '${userName}' has write access | |
# for more details on GitHub 'refs/pull/*' refspecs see [1] | |
userName=mxxxxxx | |
[email protected] | |
repoURL=https://github.com/txxxx-xx/gxx-xxxx.git |
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
https://stackoverflow.com/questions/66366897 | |
https://regex101.com/r/pB7nOl/1 |