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
ARG COHEN3_REPO=github.com/opacam/Cohen3 | |
ARG COHEN3_TAG=master | |
FROM python:3.8.2-slim as build | |
ARG COHEN3_REPO | |
ARG COHEN3_TAG | |
RUN apt-get -yqq update && apt-get -yqq install git build-essential && ldconfig | |
RUN mkdir /wheels && cd /wheels && pip wheel git+git://${COHEN3_REPO}@${COHEN3_TAG} |
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
arduinoOTA104.name=ESP8266 (10.40.64.70) | |
arduinoOTA104.program.tool=arduinoOTA | |
arduinoOTA104.ip=10.40.64.70 | |
arduinoOTA104.program.params.verbose= |
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
(venv) zac@ztab:/zac/zsync/work/PyCharmProjects/zsort$ pip install PyQt5 | |
Collecting PyQt5 | |
Using cached https://files.pythonhosted.org/packages/3a/fb/eb51731f2dc7c22d8e1a63ba88fb702727b324c6352183a32f27f73b8116/PyQt5-5.14.1.tar.gz | |
Installing build dependencies ... done | |
Getting requirements to build wheel ... done | |
Preparing wheel metadata ... error | |
Complete output from command /zac/zsync/work/PyCharmProjects/zsort/venv/bin/python /zac/zsync/work/PyCharmProjects/zsort/venv/lib/python3.8/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pep517/_in_process.py prepare_metadata_for_build_wheel /tmp/user/1000/tmp94jnsdc7: | |
Querying qmake about your Qt installation... | |
/usr/bin/qmake -query | |
Traceback (most recent call last): |
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
// resolution | |
$fn=100; | |
// head | |
difference() { | |
color("#2196F3", 0.75) | |
translate([3.5, 2, 0]) | |
cylinder(h=20, d=50, center=false) | |
; | |
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
Dec 27 03:12:10 ztab NetworkManager[677]: <debug> [1577416330.2005] device[0x55a1322c6610] (wlp0s20f3): wifi-scan: scanning-state: scanning | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3610] device[0x55a1322c6610] (wlp0s20f3): wifi-scan: scanning-state: idle | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3709] device[0x55a1322c6610] (wlp0s20f3): matched hidden AP 78:8A:20:D7:C6:50 => "<NAME>" | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3721] device[0x55a1322c6610] (wlp0s20f3): failed to match hidden AP <MAC> | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3739] device[0x55a1322c6610] (wlp0s20f3): failed to match hidden AP <MAC> | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3756] device[0x55a1322c6610] (wlp0s20f3): failed to match hidden AP <MAC> | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1577416332.3767] device[0x55a1322c6610] (wlp0s20f3): failed to match hidden AP <MAC> | |
Dec 27 03:12:12 ztab NetworkManager[677]: <debug> [1 |
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
server { | |
listen 80; | |
listen [::]:80; | |
server_name example.com; | |
root /var/www/example.com/; | |
location / { | |
return 301 https://$host$request_uri; | |
} | |
} |
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
services: | |
bungee-cord: | |
image: itzg/bungeecord | |
networks: | |
public: | |
ipv4_address: REDACTED.20 | |
ipv6_address: REDACTED::20 | |
hub: |
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
default_state = { | |
"turn": 1, | |
"player_count": 1, | |
"players": [ | |
{ | |
"score": 0, | |
"depth": 0, | |
"turned_back": False, | |
"haul": { | |
"stacks": 0, |
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
"board": [ | |
{ | |
"lvl1": 1 if 0 <= i <= 7 else 0, | |
"lvl2": 1 if 8 <= i <= 15 else 0, | |
"lvl3": 1 if 16 <= i <= 23 else 0, | |
"lvl4": 1 if 24 <= i <= 31 else 0 | |
} | |
for i in range(32) | |
] |
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
def coerce_number(s, zero_if_fail=False): | |
s = s.strip() | |
try: | |
return int(s) | |
except ValueError: | |
try: | |
return float(s) | |
except ValueError: | |
if zero_if_fail: | |
return 0 |