Assumptions:
- We are talking about 2 different players, P1 and P2.
- They each played 6 rounds.
- They each won 4 of them and lost two of them (i.e. they're tied).
After all 6 rounds, the opponents for P1 ended up with the following track record:
-- From "Fooluaintblack" on the TechnicalFactorio discord: | |
-- > Caught up with a friend and we adjusted Halke's index script to create a series | |
-- > of CCs with items, in item ID order, with their stack size as their signal | |
-- > values. The script changes include: | |
-- > -reorganised, whitespace, removed "count" as its redundant with "index" | |
-- > -overwrite the selected CC instead of creating a new one beside it | |
-- > -spot at the top to add signal names to exclude. You'll see magic lamp, | |
-- > pushbutton, and textplates are excluded. Textplate string includes wildcards | |
-- > to capture all signals that start with "textplate" | |
-- |
# Load a local overrides file. Any changes you want to make for your local | |
# environment should live in that file. | |
if [ -e .envrc.local ] | |
then | |
source_env .envrc.local | |
fi |
import yaml | |
import os | |
import requests | |
import tempfile | |
import subprocess | |
from github import Github | |
g = Github(os.environ["GITHUB_TOKEN"]) |
.venv/ | |
*.txt |
--- | |
default_stages: [commit] | |
repos: | |
- repo: meta | |
hooks: | |
- id: check-hooks-apply | |
- id: check-useless-excludes | |
- repo: https://github.com/pre-commit/pre-commit-hooks |
import traceback | |
from typing import Dict, Union, List | |
def traceback_exc(exc: Exception) -> Dict[str, Union[str, List[str]]]: | |
tb = traceback.TracebackException.from_exception(exc, capture_locals=True) | |
return { | |
"title": type(exc).__name__, | |
"message": str(exc), | |
"traceback": [ |
This works in android-studio 4.0.
$HOME/.android/avd/my_avd.avd
config.ini
. Find the setting PlayStore.enabled
and change the value to true
.hardware-qemu.ini
but I'm not certain that that is required.mosh
colordiff
produces diffs that are not always easy to read when a patch has
many whitespace changes or minor changes to each line. An upgraded diff tool,
such as diffr, can help.