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
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# http://stackoverflow.com/questions/5574702/how-to-print-to-stderr-in-python | |
import sys | |
def eprint(*args, **kwargs): | |
print(*args, file=sys.stderr, **kwargs) | |
import errno |
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
#!/usr/bin/env bash | |
# This script can be used to copy all docker images from one GitLab-project to another. | |
# It was created because in GitLab it's not possible to move projects that contain docker images. | |
# | |
# Related issue: https://gitlab.com/gitlab-org/gitlab/-/issues/18383 | |
# | |
# Author: Daniel Estermann <[email protected]> | |
# Thanks to komar <[email protected]> for his brilliant support |
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
--- Part Two --- | |
You quickly repair the oxygen system; oxygen gradually fills the area. | |
Oxygen starts in the location containing the repaired oxygen system. It takes one minute for oxygen to spread to all open locations that are adjacent to a location that already contains oxygen. Diagonal locations are not adjacent. | |
In the example above, suppose you've used the droid to explore the area fully and have the following map (where locations that currently contain oxygen are marked O): | |
## | |
#..## | |
#.#..# |