diff --git a/images/061517be7129f4eb30487a8404a13d7d90eeb66f.jpg b/images/061517be7129f4eb30487a8404a13d7d90eeb66f.jpg new file mode 100644 index 0000000..567305d Binary files /dev/null and b/images/061517be7129f4eb30487a8404a13d7d90eeb66f.jpg differ diff --git a/images/069f175e36fb855b0e439ba96a7c359c1b2ff09c.png b/images/069f175e36fb855b0e439ba96a7c359c1b2ff09c.png new file mode 100644 index 0000000..d97c17f Binary files /dev/null and b/images/069f175e36fb855b0e439ba96a7c359c1b2ff09c.png differ diff --git a/images/22e1a2fe13824ec7e81bd55f655fb23017aa5066.png b/images/22e1a2fe13824ec7e81bd55f655fb23017aa5066.png new file mode 100644 index 0000000..3a83511 Binary files /dev/null and b/images/22e1a2fe13824ec7e81bd55f655fb23017aa5066.png differ diff --git a/images/3c447617e2730661c86a68a2da0271543a18c114.png b/images/3c447617e2730661c86a68a2da0271543a18c114.png new file mode 100644 index 0000000..6cb72fc Binary files /dev/null and b/images/3c447617e2730661c86a68a2da0271543a18c114.png differ diff --git a/images/3d302a5cead2057045e6c4e6201eb8f4fabd85fe.png b/images/3d302a5cead2057045e6c4e6201eb8f4fabd85fe.png new file mode 100644 index 0000000..f7bff06 Binary files /dev/null and b/images/3d302a5cead2057045e6c4e6201eb8f4fabd85fe.png differ diff --git a/images/46506f6de37fab8de92b9c569365bb2475bd1567.png b/images/46506f6de37fab8de92b9c569365bb2475bd1567.png new file mode 100644 index 0000000..f505784 Binary files /dev/null and b/images/46506f6de37fab8de92b9c569365bb2475bd1567.png differ diff --git a/images/465c1dbc3d922653603d41a24a207c358baeb256.png b/images/465c1dbc3d922653603d41a24a207c358baeb256.png new file mode 100644 index 0000000..5f4a051 Binary files /dev/null and b/images/465c1dbc3d922653603d41a24a207c358baeb256.png differ diff --git a/images/62120a80e9d7d74cf3a8e04719a27007f3750637.png b/images/62120a80e9d7d74cf3a8e04719a27007f3750637.png new file mode 100644 index 0000000..af13d52 Binary files /dev/null and b/images/62120a80e9d7d74cf3a8e04719a27007f3750637.png differ diff --git a/images/6ae661c633b0f9ad6924a26e06da478ed50b61ca.gif b/images/6ae661c633b0f9ad6924a26e06da478ed50b61ca.gif new file mode 100644 index 0000000..06bdbc9 Binary files /dev/null and b/images/6ae661c633b0f9ad6924a26e06da478ed50b61ca.gif differ diff --git a/images/6c723f487444b36e2f7ba285a7e41c674f223844.png b/images/6c723f487444b36e2f7ba285a7e41c674f223844.png new file mode 100644 index 0000000..5345832 Binary files /dev/null and b/images/6c723f487444b36e2f7ba285a7e41c674f223844.png differ diff --git a/images/74cf60bcaac074c10883223a74271efbf3b7e347.png b/images/74cf60bcaac074c10883223a74271efbf3b7e347.png new file mode 100644 index 0000000..9424412 Binary files /dev/null and b/images/74cf60bcaac074c10883223a74271efbf3b7e347.png differ diff --git a/images/77c3086514657f6b7325d1d32a302baa87e2857e.png b/images/77c3086514657f6b7325d1d32a302baa87e2857e.png new file mode 100644 index 0000000..71b9030 Binary files /dev/null and b/images/77c3086514657f6b7325d1d32a302baa87e2857e.png differ diff --git a/images/79a27c4f0abb5235f5fb15a37edf867b222fb5ed.png b/images/79a27c4f0abb5235f5fb15a37edf867b222fb5ed.png new file mode 100644 index 0000000..5aa512e Binary files /dev/null and b/images/79a27c4f0abb5235f5fb15a37edf867b222fb5ed.png differ diff --git a/images/7b3efba643cad09527264230b08fab6d10f59040.png b/images/7b3efba643cad09527264230b08fab6d10f59040.png new file mode 100644 index 0000000..e0c922e Binary files /dev/null and b/images/7b3efba643cad09527264230b08fab6d10f59040.png differ diff --git a/images/8c0e738acbe9f3387198c776af9e452608b78553.png b/images/8c0e738acbe9f3387198c776af9e452608b78553.png new file mode 100644 index 0000000..1cdb7a9 Binary files /dev/null and b/images/8c0e738acbe9f3387198c776af9e452608b78553.png differ diff --git a/images/962372f788a0596c242ba3d84c03cf7ab9068f42.png b/images/962372f788a0596c242ba3d84c03cf7ab9068f42.png new file mode 100644 index 0000000..3c6fe12 Binary files /dev/null and b/images/962372f788a0596c242ba3d84c03cf7ab9068f42.png differ diff --git a/images/9784c7f9c32136cb4d7edf1a63ddbc7689732930.png b/images/9784c7f9c32136cb4d7edf1a63ddbc7689732930.png new file mode 100644 index 0000000..5b4ae10 Binary files /dev/null and b/images/9784c7f9c32136cb4d7edf1a63ddbc7689732930.png differ diff --git a/images/a4082930d2c9814c6fb724051b8d4852fb9a6d8b.png b/images/a4082930d2c9814c6fb724051b8d4852fb9a6d8b.png new file mode 100644 index 0000000..19c9655 Binary files /dev/null and b/images/a4082930d2c9814c6fb724051b8d4852fb9a6d8b.png differ diff --git a/images/d7f8bf06f511629328a97fa7a29d5201e6e0b23d.jpeg b/images/d7f8bf06f511629328a97fa7a29d5201e6e0b23d.jpeg new file mode 100644 index 0000000..fcc5d09 Binary files /dev/null and b/images/d7f8bf06f511629328a97fa7a29d5201e6e0b23d.jpeg differ diff --git a/images/dbfcabd822c0f296507c5b39d8f97dba29ac3a5d.png b/images/dbfcabd822c0f296507c5b39d8f97dba29ac3a5d.png new file mode 100644 index 0000000..466ffc2 Binary files /dev/null and b/images/dbfcabd822c0f296507c5b39d8f97dba29ac3a5d.png differ diff --git a/images/e7adadfba9a022fef439072f820bcb5a35c34d6d.jpg b/images/e7adadfba9a022fef439072f820bcb5a35c34d6d.jpg new file mode 100644 index 0000000..9fdfd20 Binary files /dev/null and b/images/e7adadfba9a022fef439072f820bcb5a35c34d6d.jpg differ diff --git a/images/f0fb9e996d5d46f0efb511d11e8bd7d09be149a2.png b/images/f0fb9e996d5d46f0efb511d11e8bd7d09be149a2.png new file mode 100644 index 0000000..6b7bfc3 Binary files /dev/null and b/images/f0fb9e996d5d46f0efb511d11e8bd7d09be149a2.png differ diff --git a/images/f876a0aea714aafb149430786439d620060e34c2.jpg b/images/f876a0aea714aafb149430786439d620060e34c2.jpg index e16607e..3d6ff29 100644 Binary files a/images/f876a0aea714aafb149430786439d620060e34c2.jpg and b/images/f876a0aea714aafb149430786439d620060e34c2.jpg differ diff --git a/images/feb45c28089592ec0fa0e07dd0f6028fcb64e006.webp b/images/feb45c28089592ec0fa0e07dd0f6028fcb64e006.webp new file mode 100644 index 0000000..839aecd Binary files /dev/null and b/images/feb45c28089592ec0fa0e07dd0f6028fcb64e006.webp differ diff --git a/公众号/letter.md b/公众号/letter.md index 0be9929..eb88c9c 100644 --- a/公众号/letter.md +++ b/公众号/letter.md @@ -62,6 +62,4 @@ conso.log(a) - 吸引加群 - - [^1]: 这是脚注 diff --git a/公众号/markdown语法.md b/公众号/markdown语法.md index 0b4ffaf..c211dc6 100644 --- a/公众号/markdown语法.md +++ b/公众号/markdown语法.md @@ -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 + + 感觉诚惶诚恐🥹 @@ -8,11 +10,11 @@ - `看一看精选`,也就是平台在公域里算法自动进行了流量推广 -Screenshot 2023-04-12 at 19.17.13.png + - 订阅号`个人认证` (注意:并不是微信认证-主体) -Screenshot 2023-04-12 at 19.15.06.png + 个人认证,也是今天刚刚通过(需要自己主动点击申请,2-3天人工审核,免费) @@ -28,7 +30,7 @@ ps:如果不是`微信认证`(收费),那么也没法开放`api调用`,`外部H5 > markdown语法是倚天剑 -g595slgphyi9lkqz2u18.webp + 说说我自己的写作流程 @@ -42,14 +44,10 @@ ps:如果不是`微信认证`(收费),那么也没法开放`api调用`,`外部H5 不差钱,也不那么在乎隐私的小伙伴可以了解购买`typora`商业软件,食用体验更佳 -Screenshot 2023-04-12 at 19.12.30.png + - 2.markdown语法+`picgo`[^2]图床 (使用腾讯云oss) - - - - 用md语法写文章,最大的难题就是图片,因为它在编辑器是这个样子 ``` @@ -62,7 +60,7 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就 这里推荐`腾讯云oss`,原因无他:微信生态,肯定是自家的产品不会卡脖子 -Screenshot 2023-04-12 at 19.12.53.png + - 3.chrome插件 (文章同步助手[^3]) @@ -72,9 +70,7 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就 微信公众号的`订阅号`,依然是对个人最友好的平台 -Screenshot 2023-04-12 at 19.11.38.png - - + > 不写保姆级教程~~ @@ -94,6 +90,8 @@ file协议是指的电脑本地文件,一旦在互联网平台复制过去,就 > 未来十年,即使不赚钱,也能受益终身的的事 + + 技术的迭代,非常快,虚拟现实(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) diff --git a/公众号/微信接入chatgpt.md b/公众号/微信接入chatgpt.md new file mode 100644 index 0000000..2fb1b18 --- /dev/null +++ b/公众号/微信接入chatgpt.md @@ -0,0 +1,59 @@ +## ChatGPT + +.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`输入描述性语句 + +就可以生成对应的图片 + +- 支付渠道:双币信用卡 + + + +--- + +## chatgpt+Midjourney + +> 用chatgpt生成描述性的prompt + +chatgpt的训练模型,更容易生成我们想要的表达的描述 + + + +--- + +## 如何接入微信机器人? + +> 创建并复制api key + +![](https://hackrobot-1258475618.cos.ap-shenzhen-fsi.myqcloud.com/202304192144906.png) + +因为Android的xposed模块比较稳定, 且开发者在模块里内置 chatgpt的`机器人接口` + +. + +实现微信机器人的效果 + + diff --git a/公众号/树莓派安装.md b/公众号/树莓派安装.md new file mode 100644 index 0000000..c8a051f --- /dev/null +++ b/公众号/树莓派安装.md @@ -0,0 +1,86 @@ +## 树莓派安装安卓系统:lineageos + +> 树莓派4 -(raspberry pi 4) + + + +树莓派[^1]虽然价格居高不下,已经不是廉价SBC,但是生态依然强大到无法比拟 + +大多数系统,都会优先对树莓派进行适配 + +比如 `kali linux`, `chrome os``,nextcloud`,等等 + +> 安卓系统`lineageos` + +在`konstakang`[^2]下载img文件 + + + +> 通过树莓派官方提供的镜像写入工具: raspberry pi imager + +一般linux系统,都可以通过`balenaEtcher`刷写 + +但是安装系统的工具,还是需要注意下 + + + +--- + +## magisk获取root + +> 树莓派magisk[^3]需要通过twrp刷入 + +在香橙派5中,只要安装magisk apk,就可以了,不用找到`boot.img` + + + +下载适用于pi的magisk.zip,在`设置`里的`电源选项`,开启`高级启动` + +这样点击重启时,就会出现`twrp的选项` + + + +官方文档如下: + + + +> 在twrp里安装下的magisk安装包 + +重启即可获取root权限, 并可以安装lsposed以及相关模块 + + + +--- + +## 异常问题 + +无论是香橙派5还是树莓派4,安装系统都显示为`平板(PAD模式)` + +> 触摸屏和scrcpy[^4] + +买的15寸的`便携触摸屏`,支持typec`一线供电+投屏` + +香橙派5是正常的,但是树莓派装了lineage os好像触摸没反应,暂时通过键鼠操控 + + + +安装了`scrcpy`,并在lineageos`开发者选项`,允许usb调试 + +但是,也是error,没有正常启动 + + + +> 总结一下 + +| 开发板 | 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) diff --git a/草稿/3个手机.md b/草稿/3个手机.md index ef04dec..ef181e2 100644 --- a/草稿/3个手机.md +++ b/草稿/3个手机.md @@ -19,3 +19,17 @@ wechat --- nethunter + + + + + +--- + +aibot 朋友圈 微信群 + +直播/视频 乌龟直播 ffmpeg + +公众号 一键发布 + +小程序 爬山 diff --git a/草稿/微信机器人.md b/草稿/微信机器人.md index 3b1a75f..9cdfd55 100644 --- a/草稿/微信机器人.md +++ b/草稿/微信机器人.md @@ -4,16 +4,12 @@ encryptText=WzPEcg9LM1%2BesgWE6rRuTHwLTZXqvTRtJKt1v3%2B9nVN%2Bz6mfQdPYBp9W9FZvJE encryptText=WzPEcg9LM1%2BesgWE6rRuTHwLTZXqvTRtJKt1v3%2B9nVN%2Bz6mfQdPYBp9W9FZvJEWSJr2Wk0ZZyTL%2BUq%2F662Lb6Q%3D%3D - - ``` encryptText 为对 用户唯一标识 加密后得到的结果 消息加解密接入指引 我们使用 APPID 和 EncodingAESKey 对 用户唯一标识 进行加密 ``` - - --- 从header里,获取uid [openid] @@ -29,5 +25,3 @@ async def read_items(appid: Union[str, None] = Header(default=None),bid: Union[s print("appid", appid,"bid",bid,"requestid", requestid,"uid", uid) return {"appid": appid,"bid": bid,"requestid": requestid,"uid": uid} ``` - - diff --git a/草稿/服务器应用.md b/草稿/服务器应用.md new file mode 100644 index 0000000..bab8804 --- /dev/null +++ b/草稿/服务器应用.md @@ -0,0 +1,29 @@ +orangepi5 微信机器人 加群=> vip + +树莓派4 微信机器人 => 好友 [wxid]+H5 + +nanopi openwrt软路由 + + + +orange pi 3 lts 电销机器人/短信/闪信 | 各种bot + +orange pi 3lts 直播rtmp/live [乌龟缸] + +orange pi 3 lts [智能家居-网关] MQTT [传感器/浇水套件ESP32] + + + +零刻 16g nextcloud + +mini主机 8g 企业运维服务 + +mini主机 16g 小程序业务 + + + +其他 + +树莓派 kali linux + + diff --git a/草稿/爬山(发布).md b/草稿/爬山(发布).md new file mode 100644 index 0000000..1ba1b74 --- /dev/null +++ b/草稿/爬山(发布).md @@ -0,0 +1,56 @@ +## 户外徒步/爬山 + +> 周末去哪儿 + +城市的节奏太快 + +每周爬一个山,或者徒步🏃‍♂️,多与大自然接触,呼吸新鲜空气 + + + +也能`认识更多不同行业的朋友`,跨界交流,增长见识 + +单身的小伙伴通过户外运动认识异性,也比相亲局靠谱的多 + + + +周末可以一起轻松游玩`莲花山`,也可以一起探险`梧桐山`顶 + +不建议有心脏病,等其他身体机能不适宜的小伙伴参加 + +【装备建议】 +着装:轻便装(易干)、运动鞋、替换衣物、擦汗巾、双肩背包 +补水:1L水、少量水果 +食物:适量,包括补充盐分食物、比如豆干、卤鸡翅 +*组织方会为大家准备户外安全护理包 +*沿途有少量便利店和自助售货机 + + + +> 微信群 + +加入交流群,多多参与活动报名接龙吧 + + + +--- + +## 微信小程序 + +> 作为一名程序猿 + +写过一款 `户外徒步` 同城预约报名小程序,目前`打算重构` + +有兴趣的小伙伴可以一起参与 + + + +--- + +## 添加好友 + +> 微信号`smallhiking` + +按住二维码,扫一扫识别 + + diff --git a/草稿/直播地址.md b/草稿/直播地址.md new file mode 100644 index 0000000..f81a1cd --- /dev/null +++ b/草稿/直播地址.md @@ -0,0 +1,23 @@ +rtmp://a.rtmp.youtube.com/live2/muba-sz2w-w9rz-0yqb-62fc + + + +``` +ffmpeg -stream_loop -1 -re -i 1.mp4 -c:v libx264 -b:v 2M + -c:a copy -strict -2 -flags +global_header -bsf:a + aac_adtstoasc -bufsize 2100k -f flv + rtmp://a.rtmp.youtube.com/live2/muba-sz2w-w9rz-0yqb-62fc + + +``` + + + + + + + + +ffmpeg -stream_loop -1 -re -i 1.mp4 -c:v libx264 -b:v 2M -c:a copy -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 2100k -f flv rtmp://a.rtmp.youtube.com/live2/muba-sz2w-w9rz-0yqb-62fc + +