我的学习笔记 https://ooolo.net/ zh-CN 心有大海,奈何被世俗束缚。 Tue, 17 Mar 2026 12:52:26 +0800 Tue, 17 Mar 2026 12:52:26 +0800 kiro 安装skills https://ooolo.net/article/662.html https://ooolo.net/article/662.html Tue, 17 Mar 2026 12:52:26 +0800 admin 在做wordpress 主题开发 需要配置skills

安装路径:C:\Users\nide用户名.kiro\skills

]]>
0 https://ooolo.net/article/662.html#comments https://ooolo.net/feed/article/662.html
The Ultimate Guide to Feng Shui for Wealth: How to Align Your Space for Prosperity in 2026 https://ooolo.net/article/660.html https://ooolo.net/article/660.html Sun, 01 Mar 2026 21:37:00 +0800 admin 5 Simple Feng Shui Adjustments to Invite Wealth and Success in 2026

In today’s fast-paced digital world, our homes have become more than just living spaces—they are our offices, our sanctuaries, and our energy hubs. If you feel like your career is stalling or your finances are stagnant, the problem might not be your hard work. It might be your environment.

Feng Shui is the ancient art of environmental psychology. It’s about organizing your space to allow positive energy (Qi) to flow, creating a "wealth magnet" effect.

Here are 5 practical, non-religious Feng Shui tweaks you can implement today to boost your prosperity.


1. Command Your Career: The Power Position

Your desk is your "Command Center." In Feng Shui, your position relative to the door determines your control over your life.

  • The Adjustment: Never sit with your back to the door; this symbolizes being blindsided by unexpected challenges.
  • The Fix: Position your desk so you can see the entrance while working. This "Command Position" reduces subconscious anxiety and allows you to spot opportunities as they arrive.

2. De-clutter the "Wealth Corner"

According to the Bagua (the Feng Shui energy map), the Southeast corner of your home or office governs wealth and abundance.

  • The Audit: Is this corner filled with old boxes, dust, or broken electronics? Clutter represents "stagnant energy," which translates to "stagnant cash flow."
  • The Fix: Keep this area bright and clean. Adding a healthy green plant (like a Jade plant or Money Tree) here symbolizes growth and vitality.

3. The "Mouth of Qi": Optimize Your Entryway

Energy enters your home through the front door. If your entryway is dark, messy, or blocked, wealth energy simply cannot find its way in.

  • The Tweak: Ensure your doorbell works and the area is well-lit. A clean, clear path to your door tells the universe you are ready to receive new clients, promotions, and financial windfalls.

4. Fix Your Leaks (Literally)

In Feng Shui, water is a symbol of money. When you have leaking faucets or running toilets, it symbolizes wealth "leaking" out of your life.

  • The Fix: Take ten minutes to check your kitchen and bathroom. Repairing small leaks is a symbolic way to "plug the holes" in your personal finances.

5. Mirror Placement for Abundance

Mirrors are "aspirins" in Feng Shui—they can double the energy of whatever they reflect.

  • The Pro Tip: Place a mirror in your dining area or workspace where it can reflect something beautiful or productive. Avoid placing a mirror directly facing the front door, as it will push the incoming wealth energy right back out!

Take Control of Your Energy

Small changes in your physical environment can lead to massive shifts in your mental clarity and financial results. When your space works for you, success becomes a natural byproduct.

Want more practical tips on aligning your life for success? Explore our latest guides on Feng Shui and Wealth. We bridge the gap between ancient spatial wisdom and modern lifestyle design to help you create a home that supports your biggest dreams.

Visit fengshuiandwealth.com to start your transformation.

]]>
0 https://ooolo.net/article/660.html#comments https://ooolo.net/feed/article/660.html
dify更新到最新版 https://ooolo.net/article/657.html https://ooolo.net/article/657.html Wed, 26 Nov 2025 16:33:39 +0800 admin error:[PANIC]failed to init dify plugin db: failed to connect to host=db_postgres user=postgres database=postgres: hostname resolving error (lookup db_postgres on 127.0.0.11:53: no such host) from docker-plugin_daemon-1

Hello,beacuse in the updatation,the service name db has changed to db_postgres,you need to cp .env.example .env and remove orphan container.

]]>
0 https://ooolo.net/article/657.html#comments https://ooolo.net/feed/article/657.html
【经验分享】如何获取任意小程序appId及页面路径 https://ooolo.net/article/655.html https://ooolo.net/article/655.html Wed, 26 Nov 2025 12:07:00 +0800 admin 简介: 【经验分享】如何获取任意小程序appId及页面路径

大家偶尔会有跳转某个小程序某个页面的需求,然而我们并不知道别人小程序的appId以及某个页面的链接,那么我们该如何达到我们跳转该小程序的目的呢?因为支付宝官方暂未提供获取其他小程序appId的方式,所以这边提供一个小技巧给大家。
操作步骤如下:
首先访问目标小程序的具体某个页面,然后点击右上角分享该页面到钉钉(当然如果该小程序设置了禁用分享那这个方法就无效了, 底部有其他方式)。
这里以 《青团社兼职》 小程序举例:

分享岗位详情到钉钉。我们可以查看到的是这样的一个页面:


这个时候点击该卡片,会默认打开浏览器,浏览器会自动重定向到一个新的网址。
在网页加载的时候,我们按下键盘的ESC键,可以阻止网页的继续加载。这里操作要快,姿势要帅,不然你会拿到重定向后的链接。
可以看到我们获取到了这样的一个链接:

然后打开浏览器,鼠标右键检查(审查元素),浏览器控制台输入 decodeURIComponent(decodeURIComponent('链接放这里'))

然后可以拿到如下链接:
https://render.alipay.com/p/s/i/?scheme=alipays://platformapi/startapp?appId=2018082861168647&page=pages/partdetails/partdetails?partJobId=722456&shareFrom=user×tamp=1602569341221&deviceId=undefined&enbsv=0.2.2010100914.56&chInfo=ch_share__chsub_DingTalkSession
去除无用的信息后我们可以拿到小程序的appId,链接以及参数:
appId=2018082861168647&page=pages/partdetails/partdetails?partJobId=722456

走到这里 我们就拿到了小程序的appId 以及岗位详情的链接和参数啦。那我们接下来操作跳转到该小程序:
代码片段如下:https://pen.mini-code.com/s/ee5df1e9-b0ee-4ca9-92cb-1f8da3fe284e

接下来咱们试试操作获取官方老版本(8位数的appId,离线包)的小程序路径,以蚂蚁保险举例


使用上述方法操作后我们拿到了这样的链接:

跳转官方的页面使用:my.ap.navigateToAlipayPage 方法。操作如下:

接下来分享如何获取禁用分享的小程序appId:
第一种方式:
首先进入该小程序,点击右上角三个点,弹出的窗里点击小程序名称,然后再次点击推荐给朋友,选择钉钉,然后重复上述操作,我们直接拿pages/redirect/redirect后面的appId,注意不要取错了喔~

复制代码

1

alipays://platformapi/startapp?appId=2021001165662428&page=pages/redirect/redirect?appId=2019092567759928

这里取到appId为:2019092567759928

第二种方式:
首先进入该小程序,点击右上角三个点,弹出的窗里点击添加到桌面

https://render.alipay.com/p/s/shortcut/index?appId=2019092567759928&appName=集分宝&appIcon=https://appstoreisvpic.alipayobjects.com/prod/[email protected]&customParams=chInfo=app_desktop

也可以看到appId为:2019092567759928

以上就是简单的获取任意小程序appId及路径的小技巧。最后附上福利:

JavaScript

官方小程序应用appId

appId 离线包小程序名称

77700170 备用金小程序

60000002 蚂蚁森林

20000021 卡包

20000134 股票

20000135 12306火车票

20000150 汇率换算

20000160 支付宝会员

20000178 市民中心

20000180 借呗

20000199 花呗

77700104 交管12123

77700124 余额宝

77700126 相互宝

77700130 花呗账单

77700142 商家收款码

77700144 扫码点单

77700151 发票管家

77700152 信用卡还款

77700161 全民健康金

77700167 支付宝汇生活

77700170 支付宝备用金

77700171 小钱袋

77700177 健康福利社

77700183 全民保终身养老金

77700185 租享生活

77700189 答答星球

77700191 店铺优惠券

77700195 电子学生卡

77700198 多人记账本

77700207 网商银行

77700223 笔笔攒

77700256 我的客服

77700257 收钱有奖

77700261 商家智能设备服务

77700264 相互帮

77700279 校园派

77700281 银行卡

77700284 医保支付码

77700300 我的余额

来源:https://developer.aliyun.com/article/1435605

]]>
0 https://ooolo.net/article/655.html#comments https://ooolo.net/feed/article/655.html
【经验分享】如何生成支付宝小程序scheme链接 https://ooolo.net/article/645.html https://ooolo.net/article/645.html Wed, 26 Nov 2025 11:54:00 +0800 admin 简介: 【经验分享】如何生成支付宝小程序scheme链接
在支付宝小程序的各种运营场景中,我们的运营同学会配置多种不同的链接,有发送短信召回用户的、有服务直达的,有跟第三方对接,第三方app引流跳转到我们小程序的等等等等。这篇文章主要内容是跟大家分享下如何生成这类型的链接。
如果你能访问到该小程序具体页面并且能进行分享操作:

访问该页面点击右上角分享,可以看到分享面板最后有一个复制链接。复制后可以看到是这样的一个短链接:https://ur.alipay.com/3ufcLe,访问后可以在浏览器地址栏得到这样的地址:
https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2018082861168647%26page%3D%252Fpages%252Fwebview%252Fwebview%253FtargetUrl%253Dhttps%25253A%25252F%25252Fm.qtshe.com%25252Fapp%25252Fdunhuang%2526shareTitle%253D%2525E9%25259D%252592%2525E5%25259B%2525A2%2525E7%2525A4%2525BE%2525E5%252585%2525BC%2525E8%252581%25258C%2526timestamp%253D1615966764158%2526deviceId%253Dundefined%2526_um_ssrc%253D%252BOJJyXK1ieB%252FILhAzUx85wUeM5beiPfL7xY3YhPy2NA%253D%2526_um_sts%253D1615966764174%26enbsv%3D0.2.2103161952.58%26chInfo%3Dch_share__chsub_CopyLink。
双重decode后我们可以拿到scheme地址:

decodeURIComponent(decodeURIComponent('https://render.alipay.com/p/s/i/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2018082861168647%26page%3D%252Fpages%252Fwebview%252Fwebview%253FtargetUrl%253Dhttps%25253A%25252F%25252Fm.qtshe.com%25252Fapp%25252Fdunhuang%2526shareTitle%253D%2525E9%25259D%252592%2525E5%25259B%2525A2%2525E7%2525A4%2525BE%2525E5%252585%2525BC%2525E8%252581%25258C%2526timestamp%253D1615966764158%2526deviceId%253Dundefined%2526_um_ssrc%253D%252BOJJyXK1ieB%252FILhAzUx85wUeM5beiPfL7xY3YhPy2NA%253D%2526_um_sts%253D1615966764174%26enbsv%3D0.2.2103161952.58%26chInfo%3Dch_share__chsub_CopyLink'))

结果如下:

https://render.alipay.com/p/s/i/?scheme=alipays://platformapi/startapp?appId=2018082861168647&page=/pages/webview/webview?targetUrl=https%3A%2F%2Fm.qtshe.com%2Fapp%2Fdunhuang&shareTitle=%E9%9D%92%E5%9B%A2%E7%A4%BE%E5%85%BC%E8%81%8C×tamp=1615966764158&deviceId=undefined&_um_ssrc=+OJJyXK1ieB/ILhAzUx85wUeM5beiPfL7xY3YhPy2NA=&_um_sts=1615966764174&enbsv=0.2.2103161952.58&chInfo=ch_share__chsub_CopyLink

// 拿到有用的信息如下,可以直接访问文章结尾链接进行你的scheme地址拼接:

query:'targetUrl=https%3A%2F%2Fm.qtshe.com%2Fapp%2Fdunhuang'

path:'/pages/webview/webview'

appId:'2018082861168647'

如果你不能访问该小程序具体页面(即您知道该页面参数情况):

需要这样进行拼接:

query:'partJobId=123456'

path:'pages/partdetails/partdetails'

appId:'2018082861168647'

scheme:alipays://platformapi/startapp?appId=${你的appId}&page=${你的path}&query=encodeURIComponent(${你的query参数})

生成链接:'https://ds.alipay.com/?scheme=${encodeURIComponent(scheme)}'

最后我们拼接后得到以下可以进行外部访问的链接地址:

https://ds.alipay.com/?scheme=alipays%3A%2F%2Fplatformapi%2Fstartapp%3FappId%3D2018082861168647%26page%3Dpages%2Fpartdetails%2Fpartdetails%26query%3DpartJobId%253D123456

不是开发的童鞋可能看不懂哈,没关系,访问下面链接直接找你们的开发童鞋要到链接和参数即可生成。

https://linksprod.alipay.com/tourist/room/5fec1e8f69565405716ba28a/popular-tools/link-generator/alipay-applet/

来源:https://developer.aliyun.com/article/1435620

以上就是简单生成scheme链接的小技巧,欢迎有问题的同学评论区讨论指出~

]]>
0 https://ooolo.net/article/645.html#comments https://ooolo.net/feed/article/645.html
宝塔docker 部署n8n最新版 https://ooolo.net/article/644.html https://ooolo.net/article/644.html Fri, 14 Nov 2025 13:42:00 +0800 admin 如出现以下问题

You have a connection issue or the server is down. n8n should reconnect automatically once the issue is resolved.

目测是最新版本1.119.1的bug
websocket链接有问题。。。
换成sse协议
docker文件这样配置:

 environment:
      N8N_SECURE_COOKIE: false
      N8N_PROTOCOL: https
      WEBHOOK_URL: https://${N8N_HOST}
      N8N_PROXY_HOPS: "1"
      N8N_RUNNERS_ENABLED: true
      N8N_PUSH_BACKEND: sse

nginx这样配置:

  #SSL-END
  # ======================
    # n8n 反代主配置
    # ======================
    location / {
        proxy_pass http://127.0.0.1:5678;
        proxy_http_version 1.1;

        # 必须:Host + Forwarded headers
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;

        # SSE 推送配置(长连接)

        proxy_set_header Origin https://你的域名.com;

        proxy_buffering off;
        proxy_cache off;
        proxy_read_timeout 3600;
    }
]]>
0 https://ooolo.net/article/644.html#comments https://ooolo.net/feed/article/644.html
ApplicationEventPublisher事件发布器无效解决 https://ooolo.net/article/643.html https://ooolo.net/article/643.html Thu, 30 Oct 2025 15:26:52 +0800 admin 场景是否加 @Transactional事件触发时机推荐做法普通逻辑,不涉及事务否立即触发直接 publishEvent在事务中,但希望立即触发是立即触发保持默认在事务中,希望事务提交后触发是事务提交后触发@TransactionalEventListener(phase = AFTER_COMMIT) ]]> 0 https://ooolo.net/article/643.html#comments https://ooolo.net/feed/article/643.html dify api转成openai模式调用 https://ooolo.net/article/642.html https://ooolo.net/article/642.html Mon, 29 Sep 2025 14:55:16 +0800 admin 公司用的dify部署的大模型现在需要向外面保留api服务,但是dify的api不兼容openai模型的调用

github上找了一个开源的转换插件可以试试:
https://github.com/quming398/dify-to-openai-adapter

]]>
0 https://ooolo.net/article/642.html#comments https://ooolo.net/feed/article/642.html
wordpress关闭评论 https://ooolo.net/article/641.html https://ooolo.net/article/641.html Mon, 22 Sep 2025 08:28:58 +0800 admin 在主题的 functions.php 里加:

<?php
// 前台关闭评论显示
add_filter('comments_open', '__return_false', 20, 2);   // 禁止新评论
add_filter('pings_open', '__return_false', 20, 2);      // 禁止pingback/trackback
add_filter('comments_array', '__return_empty_array', 10, 2); // 隐藏已有评论
]]>
0 https://ooolo.net/article/641.html#comments https://ooolo.net/feed/article/641.html
ubuntu 安装nodejs 22 https://ooolo.net/article/640.html https://ooolo.net/article/640.html Fri, 12 Sep 2025 11:49:48 +0800 admin Ubuntu版本22.04
前言

常规通过apt update,然后apt install nodejs,即可安装node.js
但是这样安装的版本不是最新的

apt update

更新安装列表

apt list -a nodejs

查看当前可安装的nodejs版本

image
查找的这个版本还是比较低,实际情况可能会不符合编译要求的版本

http://nodejs.org官网有提供最新版的安装包,但是在ubuntu下解压后,还需要设置环境变量,这个有点麻烦,先不考虑。

通过一番查找,大致的方法如下:

curl -sL https://deb.nodesource.com/setup_20.x | bash -

文件名setup_20.x中的数字20,就是目前能找到最新的LTS版本,自然可以将20改成21,以后有22也同理

curl -sL: 这是一个使用 curl 命令的部分,-s 参数表示静默模式,不输出进度信息,而 -L 参数表示跟随重定向。这样可以从给定的 URL 下载脚本。
https://deb.nodesource.com/setup_13.x: 这是 NodeSource 提供的一个脚本地址,用于设置 Node.js 的源。setup_13.x 表示要安装 Node.js 版本 13.x,你可以根据需要更改版本号。
|: 这是管道操作符,将前一个命令的输出传递给下一个命令。
bash -: 则表示以 Bash Shell 运行脚本。

执行完上次的命令再次执行apt list -a nodejs
image-1717474350035
可以看到已经有最新版了

然后执行apt install nodejs
等安装完成,执行node -v 以及npm -v,可以看到,node.js和npm都已经完成安装,并默认是最新LTS版
image-1717474469985
如何快速切换我们要的node版本

sudo npm install -g n
n 20

安装node 的 n插件,n 20就表示会装一个node 20.+版本的nodejs环境并切换,就可以满足有些node版本不一致导致编译失败的问题。

]]>
0 https://ooolo.net/article/640.html#comments https://ooolo.net/feed/article/640.html