-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samsung watch4 with samsung pay, sony wf-1000xm3
- Loading branch information
1 parent
c90620e
commit 7d5edd6
Showing
28 changed files
with
346 additions
and
7 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.. _samsung_pay_card: | ||
|
||
========================= | ||
三星智能卡 | ||
========================= | ||
|
||
虽然Samsung Pay没有进入中国,但是三星已经开放了手表NFC功能(看来是2022年10月),通过 "三星智能卡" 能够: | ||
|
||
- 支持 "京津冀互联互通卡、上海公共交通卡、岭南通" 三种交通联合卡 | ||
- 可以复制门禁卡 | ||
|
||
绑定一张交通卡和一张门禁卡,开启自动选卡功能后,手机直接靠近闸机,就能自动识别并切换到所刷卡片,无需手动选卡,非常方便 | ||
|
||
问题 | ||
======= | ||
|
||
和 :ref:`samsung_health_monitor` ,在国内限制了只能使用国行三星手机配国行三星Watch,所以默认在 :ref:`pixel_4` 上使用 Google Play 找不到对应的 ``Samsung Wallet(Samsung Pay)`` 。 | ||
|
||
解决方法 | ||
=========== | ||
|
||
`三星watch6 flyme(非三星安卓)系统折腾记 <https://www.aprdec.top/index.php/archives/200>`_ 的 "孟夏十二" 网友汇总和提供了全套破解Watch软件,我使用其中的 **旧版** ``三星智能卡_5.0.18.20006.apk`` 成功完成: | ||
|
||
- 原先手表端Wear OS升级自带了一个 "三星智能卡" 程序无法使用(应该是最新版本,强制匹配国行三星手机) | ||
- 使用 **旧版** ``三星智能卡_5.0.18.20006.apk`` 在 :ref:`pixel_4` 的Android 13上安装后,启动会提示更新手表端 ``三星智能卡`` ,请按照提示让它更新 | ||
- 更新完成后再次打开手机端 ``三星智能卡`` 程序,就能够添加交通卡,并且能够使用支付宝充值(太方便了) | ||
- 手表端只要设置 ``三星智能卡`` 作为NFC默认支付就可以了,这样在地铁和公交闸机刷三星Watch就可以畅通无阻 | ||
|
||
.. note:: | ||
|
||
``三星智能卡`` 还支持UID门禁卡复制,不过必须是不加密的门禁卡。我没有试验环境,放弃... | ||
|
||
就等 :ref:`samsung_galaxy_watch_4_classic_lte` 可以使用 eSim 之后(目前国内移动运营商都暂停了Android手机eSim业务,允悲...),几乎可以抛弃手机,单凭手表走上海了... | ||
|
||
参考 | ||
===== | ||
|
||
- `三星终于开放手表的NFC功能了 <https://post.smzdm.com/p/a5ooznq3/>`_ | ||
- `三星watch6 flyme(非三星安卓)系统折腾记 <https://www.aprdec.top/index.php/archives/200>`_ |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.. _us_apple_id_paypal: | ||
|
||
========================= | ||
美区Apple ID绑定Paypal | ||
========================= | ||
|
||
虽然我采用美亚Amazon购买礼品卡方式给自己的美区Apple ID充值,这样可以继续使用美区iCloud服务,实现家人共享。但是,美区的软件、音乐等服务是必须使用持续支付方式,也就是信用卡或者Paypal来完成支付的。这给我带来很大的困扰,如果不解决则无法实现家人共享已经购买的软件(特别是一些收费软件用美刀计算非常昂贵) | ||
|
||
参考 | ||
====== | ||
|
||
- `教程:美区 Apple ID 绑定 Paypal,无需美国信用卡也能买买买 <https://blog.shuziyimin.org/171>`_ "数字移民"博客的文章,介绍如何在苹果美区购买,我准备结合 `如何拥有一个可长期在国内使用的国外手机号码 <https://razeen.me/posts/how-to-obtain-and-charge-giffgaff/>`_ 来实现 |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
.. _readthedocs_slow_builds: | ||
|
||
=============================== | ||
Read the Docs编译缓慢的解决建议 | ||
=============================== | ||
|
||
``Build exited due to time out`` | ||
================================== | ||
|
||
最近发现,在 Read the Docs 上build我的 Cloud Atlas总是失败: | ||
|
||
.. literalinclude:: readthedocs_slow_builds/build_failed_time_out | ||
:caption: Read the Docs 上build failed,Error是超时 | ||
:emphasize-lines: 17,18 | ||
|
||
可以看到失败退出的错误返回码 ``137`` ,也就是类似 :ref:`k8s_exit_code_137` ,表明运行程序 ``OOM`` 了 | ||
|
||
解决建议 | ||
=========== | ||
|
||
官方指南 `Read the Docs: How-to guides >> troubleshooting problems / Troubleshooting slow builds <https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html>`_ 有以下改善建议: | ||
|
||
- 减少文档构建的格式: 特别是 ``htmlzip`` 会消耗大量的内存和时间 | ||
- 减少文档build的依赖: 可以创建一个仅用于文档的自定义需求文件,也就是 ``requirements.txt`` | ||
- 使用 ``mamba`` 代替 ``conda`` : 如果需要 ``conda`` 包来构建文档,则建议使用 ``mamba`` 作为 ``conda`` 的替代品,可以节约内存并且运行更快 | ||
- 静态记录 Python 模块 API: | ||
|
||
安装大量 Python 依赖项只是为了使用 ``sphinx.ext.autodoc`` 记录 Python 模块 API,则可以尝试 ``sphinx-autoapi`` Sphinx 的扩展,它应该产生完全相同的输出,但静态运行。 这可以大大减少构建文档所需的内存和带宽。 | ||
|
||
- 请求更多资源: 如果还是遇到问题,则发送电子邮件给 ``support@readthedocs.org`` ,提供构建文档所需更多资源的充分理由 (类似 `Command killed due to excessive memory consumption #6627 <https://github.com/readthedocs/readthedocs.org/issues/6627>`_ 在 `GitHub: readthedocs / readthedocs.org <https://github.com/readthedocs/readthedocs.org>`_ 提交issue也能获得管理员帮助提高一定的资源限制) | ||
|
||
参考 | ||
===== | ||
|
||
- `Read the Docs: How-to guides >> troubleshooting problems / Troubleshooting slow builds <https://docs.readthedocs.io/en/stable/guides/build-using-too-many-resources.html>`_ |
18 changes: 18 additions & 0 deletions
18
source/devops/docs/sphinx_doc/readthedocs_slow_builds/build_failed_time_out
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Error | ||
Build exited due to time out | ||
... | ||
python -m pip install --exists-action=w --no-cache-dir -r source/requirements.txt | ||
cat source/conf.py | ||
python -m sphinx -T -E -b html -d _build/doctrees -D language=zh_CN . $READTHEDOCS_OUTPUT/html | ||
Running Sphinx v7.2.6 | ||
... | ||
writing output... | ||
building [html]: targets for 2973 source files that are out of date | ||
updating environment: [new config] 2973 added, 0 changed, 0 removed | ||
[2Kreading sources... [ 0%] aboutme | ||
[2Kreading sources... [ 0%] android/apps/android_12_background_limit_termux | ||
... | ||
[2Kwriting output... [ 63%] linux/alpine_linux/alpine_wireless_broadcom | ||
|
||
Command killed due to timeout or excessive memory consumption | ||
Command time: 1858s Return: 137 |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
git config core.ignorecase 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
total 40K | ||
-rw-r--r-- 1 huatai dialout 179 Aug 7 00:18 create_db_user | ||
-rw-r--r-- 1 huatai dialout 564 Sep 20 23:21 MariaDB_10.11.repo | ||
-rw-r--r-- 1 huatai dialout 579 Sep 20 16:33 MariaDB.repo | ||
-rw-r--r-- 1 huatai dialout 110 Aug 6 22:50 mariadb_startup | ||
-rw-r--r-- 1 huatai dialout 35 Aug 6 22:45 mysql_secure_installation | ||
-rw-r--r-- 1 huatai dialout 91 Sep 20 16:55 rpm_install_pcre2 | ||
-rw-r--r-- 1 huatai dialout 35 Aug 6 22:39 start_mariadb | ||
-rw-r--r-- 1 huatai dialout 35 Aug 6 22:37 yum_install_mariadb | ||
-rw-r--r-- 1 huatai dialout 61 Sep 20 16:37 yum_install_MariaDB | ||
-rw-r--r-- 1 huatai dialout 319 Sep 20 16:37 yum_install_MariaDB_error |
Oops, something went wrong.