Updating to CyanogenMod 13 with OpenGApps is problematic and results in issues including repeated warnings such as
Unfortunately, setup wizard has stopped working
Or
Unfortunately, Google Play Services has stopped working
#!/usr/bin/env -S bash -c "docker run -p 8080:8080 -it --rm \$(docker build --progress plain -f \$0 . 2>&1 | tee /dev/stderr | grep -oP 'sha256:[0-9a-f]*')" | |
# syntax = docker/dockerfile:1.4.0 | |
FROM node:20 | |
WORKDIR /root | |
RUN npm install sqlite3 |
package main | |
import ( | |
"compress/zlib" | |
"fmt" | |
"math/rand" | |
"os" | |
"time" | |
"unsafe" | |
) |
#!/bin/bash | |
VPS_IP=$(getent hosts www.ygo-note.com|awk '{print $1}') | |
iptables -t nat -N SHADOWSOCKS | |
# 在 nat 表中创建新链 | |
iptables -t nat -A SHADOWSOCKS -d ${VPS_IP} -j RETURN | |
# 123.456.789.111 是 ss 代理服务器的 ip, 如果你只有一个 ss服务器的 ip,却能选择不同端口,就设置此条 | |
raceback (most recent call last): | |
File "/home/yugr/anaconda3/envs/chess/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1323, in _do_call | |
return fn(*args) | |
File "/home/yugr/anaconda3/envs/chess/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1293, in _run_fn | |
self._extend_graph() | |
File "/home/yugr/anaconda3/envs/chess/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1354, in _extend_graph | |
self._session, graph_def.SerializeToString(), status) | |
File "/home/yugr/anaconda3/envs/chess/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 473, in __exit__ | |
c_api.TF_GetCode(self.status.status)) | |
tensorflow.python.framework.errors_impl.InvalidArgumentError: Node 'input_batchnorm_1/strided_slice': Unknown input node 'input_batchnorm_1/Shape' |
from collections import defaultdict | |
from concurrent.futures import ThreadPoolExecutor | |
from logging import getLogger, DEBUG, StreamHandler, Formatter | |
from threading import Lock | |
import numpy as np | |
from chess_zero.config import Config | |
from chess_zero.env.chess_env import Winner | |
from chess_zero.env.chess_env import ChineseChessEnv |