update
This commit is contained in:
@@ -62,6 +62,4 @@ conso.log(a)
|
||||
|
||||
- 吸引加群
|
||||
|
||||
|
||||
|
||||
[^1]: 这是脚注
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
##
|
||||
|
||||
花了半小时,写的[ARM开发板装安卓系统/模拟器waydroid](https://mp.weixin.qq.com/s?__biz=MzU4NTgyNDUxNw==&mid=2247485581&idx=1&sn=790395277d57785c4c0dd43a56b7c129&chksm=fd85e8e7caf261f164497fc1a958bb00d0c9c184901f3dcfa74092dd30b6d1c2ec81e20d29e2&token=1141377551&lang=zh_CN#rd)的体验随记,,截止目前,阅读数>4000
|
||||
花了半小时,写的[ARM开发板装安卓系统/模拟器waydroid](https://mp.weixin.qq.com/s?__biz=MzU4NTgyNDUxNw==&mid=2247485581&idx=1&sn=790395277d57785c4c0dd43a56b7c129&chksm=fd85e8e7caf261f164497fc1a958bb00d0c9c184901f3dcfa74092dd30b6d1c2ec81e20d29e2&token=1141377551&lang=zh_CN#rd)的体验随记,截止目前,阅读数>4000
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130738297.png" title="" alt="" width="324">
|
||||
|
||||
感觉诚惶诚恐🥹
|
||||
|
||||
@@ -8,11 +10,11 @@
|
||||
|
||||
- `看一看精选`,也就是平台在公域里算法自动进行了流量推广
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/a6f933fae28828ba13ffa63f4a82a6e409f7ce87.png" title="" alt="Screenshot 2023-04-12 at 19.17.13.png" width="258">
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130738175.png" title="" alt="" width="300">
|
||||
|
||||
- 订阅号`个人认证` (注意:并不是微信认证-主体)
|
||||
|
||||
<img title="" src="file:///Users/eric/Documents/marktext/images/316312ccb8a60b6494eb08bd0a055af4677790a3.png" alt="Screenshot 2023-04-12 at 19.15.06.png" width="283">
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130738692.png" title="" alt="" width="305">
|
||||
|
||||
个人认证,也是今天刚刚通过(需要自己主动点击申请,2-3天人工审核,免费)
|
||||
|
||||
@@ -28,7 +30,7 @@ ps:如果不是`微信认证`(收费),那么也没法开放`api调用`,`外部H5
|
||||
|
||||
> markdown语法是倚天剑
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/9f176b4a673cbbce0dce89ad2a5ee7a4ad009a8c.webp" title="" alt="g595slgphyi9lkqz2u18.webp" width="459">
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130738409.webp" title="" alt="" width="400">
|
||||
|
||||
说说我自己的写作流程
|
||||
|
||||
@@ -42,14 +44,10 @@ ps:如果不是`微信认证`(收费),那么也没法开放`api调用`,`外部H5
|
||||
|
||||
不差钱,也不那么在乎隐私的小伙伴可以了解购买`typora`商业软件,食用体验更佳
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/194dba76d6c58fec69c6dd3706930d67f87e122c.png" title="" alt="Screenshot 2023-04-12 at 19.12.30.png" width="374">
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130738755.png" title="" alt="" width="398">
|
||||
|
||||
- 2.markdown语法+`picgo`[^2]图床 (使用腾讯云oss)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
用md语法写文章,最大的难题就是图片,因为它在编辑器是这个样子
|
||||
|
||||
```
|
||||
@@ -62,7 +60,7 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就
|
||||
|
||||
这里推荐`腾讯云oss`,原因无他:微信生态,肯定是自家的产品不会卡脖子
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/d985fea23600f6c895ae2cff1dfc5329da982cb1.png" title="" alt="Screenshot 2023-04-12 at 19.12.53.png" width="362">
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130739060.png" title="" alt="" width="421">
|
||||
|
||||
- 3.chrome插件 (文章同步助手[^3])
|
||||
|
||||
@@ -72,9 +70,7 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就
|
||||
|
||||
微信公众号的`订阅号`,依然是对个人最友好的平台
|
||||
|
||||
<img src="file:///Users/eric/Documents/marktext/images/1f5b47fa3b25b6162d273371cf4d07ec4166fec5.png" title="" alt="Screenshot 2023-04-12 at 19.11.38.png" width="215">
|
||||
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130739032.png" title="" alt="" width="280">
|
||||
|
||||
> 不写保姆级教程~~
|
||||
|
||||
@@ -94,6 +90,8 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就
|
||||
|
||||
> 未来十年,即使不赚钱,也能受益终身的的事
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304130739789.gif" title="" alt="" width="380">
|
||||
|
||||
技术的迭代,非常快,虚拟现实(VR),区块链,AI智能,大多数人都在逆水行舟,不进则退
|
||||
|
||||
就像目前大火的`ChatGPT`,又在上演一场狂欢,吹捧`技术奇点`已来临
|
||||
@@ -110,10 +108,6 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就
|
||||
|
||||
- 广结善友,扩大圈子,避免故步自封
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
[^1]: marktext: [GitHub - marktext/marktext: 📝A simple and elegant markdown editor, available for Linux, macOS and Windows.](https://github.com/marktext/marktext)
|
||||
|
||||
[^2]: picgo: [GitHub - Molunerfinn/PicGo: A simple & beautiful tool for pictures uploading built by vue-cli-electron-builder](https://github.com/Molunerfinn/PicGo)
|
||||
|
||||
59
公众号/微信接入chatgpt.md
Normal file
59
公众号/微信接入chatgpt.md
Normal file
@@ -0,0 +1,59 @@
|
||||
## ChatGPT
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192142363.webp" title="" alt="" width="438">.webp" title="" alt="" width="438">
|
||||
|
||||
本来不想写chatgpt,
|
||||
|
||||
因为前阵子的现象是:国内朋友圈大量的知识星球拉人,以及短视频各种贩卖焦虑的解说
|
||||
|
||||
有朋友被公司要求了解和学习`chatgpt`以及AI作画-`Midjourney`
|
||||
|
||||
而不懂 如何`科学的上网`的小伙伴又能接着如何突破`美国手机号,跨境支付`等重重壁垒呢?
|
||||
|
||||
openai支持5$/m的免费额度,于是还是将它接入了 微信机器人,方便使用
|
||||
|
||||
参考 [微信机器人:好友群管理](https://mp.weixin.qq.com/s?__biz=MzU4NTgyNDUxNw==&mid=2247485544&idx=1&sn=6d0e501dc953cb4f7296fa7af40e65a1&chksm=fd85e802caf26114708c721e97d2457888c20b390a539bd8abb4ab6cae95e67d920dfcd98cfc&token=1875364807&lang=zh_CN#rd)
|
||||
|
||||
由于手机电池不可拆卸,所以微信机器人是跑在orange pi5开发板上的Droid系统*24h运行*
|
||||
|
||||
---
|
||||
|
||||
## Midjourney
|
||||
|
||||
> AI作图工具
|
||||
|
||||
Midjourney是运行在`disborad`上的聊天机器人,并没有独立的客户端
|
||||
|
||||
将bot添加到disborad server后就可在`/imagine`输入描述性语句
|
||||
|
||||
就可以生成对应的图片
|
||||
|
||||
- 支付渠道:双币信用卡
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192143005.png" title="" alt="" width="407">
|
||||
|
||||
---
|
||||
|
||||
## chatgpt+Midjourney
|
||||
|
||||
> 用chatgpt生成描述性的prompt
|
||||
|
||||
chatgpt的训练模型,更容易生成我们想要的表达的描述
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192144231.png" alt="" width="441">
|
||||
|
||||
---
|
||||
|
||||
## 如何接入微信机器人?
|
||||
|
||||
> 创建并复制api key
|
||||
|
||||

|
||||
|
||||
因为Android的xposed模块比较稳定, 且开发者在模块里内置 chatgpt的`机器人接口`
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192144906.jpeg" title="" alt="" width="186">.
|
||||
|
||||
实现微信机器人的效果
|
||||
|
||||
<img src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192145940.png" title="" alt="" width="354">
|
||||
86
公众号/树莓派安装.md
Normal file
86
公众号/树莓派安装.md
Normal file
@@ -0,0 +1,86 @@
|
||||
## 树莓派安装安卓系统:lineageos
|
||||
|
||||
> 树莓派4 -(raspberry pi 4)
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161821419.png" alt="" width="355">
|
||||
|
||||
树莓派[^1]虽然价格居高不下,已经不是廉价SBC,但是生态依然强大到无法比拟
|
||||
|
||||
大多数系统,都会优先对树莓派进行适配
|
||||
|
||||
比如 `kali linux`, `chrome os``,nextcloud`,等等
|
||||
|
||||
> 安卓系统`lineageos`
|
||||
|
||||
在`konstakang`[^2]下载img文件
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161821235.png" alt="" width="373">
|
||||
|
||||
> 通过树莓派官方提供的镜像写入工具: raspberry pi imager
|
||||
|
||||
一般linux系统,都可以通过`balenaEtcher`刷写
|
||||
|
||||
但是安装系统的工具,还是需要注意下
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822484.png" alt="" width="387">
|
||||
|
||||
---
|
||||
|
||||
## magisk获取root
|
||||
|
||||
> 树莓派magisk[^3]需要通过twrp刷入
|
||||
|
||||
在香橙派5中,只要安装magisk apk,就可以了,不用找到`boot.img`
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822221.png" alt="" width="381">
|
||||
|
||||
下载适用于pi的magisk.zip,在`设置`里的`电源选项`,开启`高级启动`
|
||||
|
||||
这样点击重启时,就会出现`twrp的选项`
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822860.png" alt="" width="397">
|
||||
|
||||
官方文档如下:
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822497.png" alt="" width="410">
|
||||
|
||||
> 在twrp里安装下的magisk安装包
|
||||
|
||||
重启即可获取root权限, 并可以安装lsposed以及相关模块
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822512.png" alt="" width="227">
|
||||
|
||||
---
|
||||
|
||||
## 异常问题
|
||||
|
||||
无论是香橙派5还是树莓派4,安装系统都显示为`平板(PAD模式)`
|
||||
|
||||
> 触摸屏和scrcpy[^4]
|
||||
|
||||
买的15寸的`便携触摸屏`,支持typec`一线供电+投屏`
|
||||
|
||||
香橙派5是正常的,但是树莓派装了lineage os好像触摸没反应,暂时通过键鼠操控
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822757.png" alt="" width="268">
|
||||
|
||||
安装了`scrcpy`,并在lineageos`开发者选项`,允许usb调试
|
||||
|
||||
但是,也是error,没有正常启动
|
||||
|
||||
<img title="" src="https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304161822531.jpg" alt="" width="288">
|
||||
|
||||
> 总结一下
|
||||
|
||||
| 开发板 | type-c视频输出 | 一键root | scrcpy投屏 |
|
||||
| -------------- | ---------- | ------ | -------- |
|
||||
| 树莓派4-lineageos | ✖️ | ✖️ | ✖️ |
|
||||
| 香橙派5- droid | ✔️ | ✔️ | ✔️ |
|
||||
|
||||
[^1]: 树莓派: https://www.raspberrypi.com/
|
||||
|
||||
[^2]: [Raspberry Pi 4](https://konstakang.com/devices/rpi4/)
|
||||
|
||||
[^3]: magisk: [GitHub - topjohnwu/Magisk: The Magic Mask for Android](https://github.com/topjohnwu/Magisk)
|
||||
|
||||
[^4]: [GitHub - Genymobile/scrcpy: Display and control your Android device](https://github.com/Genymobile/scrcpy)
|
||||
Reference in New Issue
Block a user