- Open "$(brew --prefix)"/etc/openssl@3/openssl.cnf
- Find
[default_sect]section in the file and uncommentactivate = 1under it. Then add thelegact_sectsection under that.[default_sect] activate = 1
This file contains hidden or 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
| # Magic behaviour with __get, __set, __call and __callStatic is not exactly static analyser-friendly :) | |
| # Fortunately, You can ingore it by the following config. | |
| # | |
| # vendor/bin/phpstan analyse app --memory-limit 200M -l 0 | |
| # | |
| includes: | |
| # 需要执行 composer require phpstan/phpstan-deprecation-rules --dev | |
| - vendor/phpstan/phpstan-deprecation-rules/rules.neon | |
| parameters: |
./configure --enable-openssl --enable-http2 --with-openssl-dir=$(brew --prefix [email protected]) --enable-swoole-curl --enable-swoole-json./configure --enable-openssl --with-openssl-dir=$(brew --prefix [email protected]) --enable-swoole-curl --enable-cares --enable-swoole-pgsql- Luckysheet Luckysheet is an online spreadsheet like excel that is powerful, simple to configure, and completely open source.
一定要加 -a 尤其是备份 docker 的 volume 时,不然会导致权限改变,无法使用
cp -arf source dest
This file contains hidden or 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
| on: | |
| push: | |
| # Sequence of patterns matched against refs/tags | |
| tags: | |
| - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 | |
| name: Release | |
| jobs: | |
| release: |
This file contains hidden or 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
| # reply 表中,以 reply 分组,并查询每个分组 id 最小的前 2 条 | |
| SELECT r.* | |
| FROM reply r | |
| WHERE r.reply_id IN (1, 2) | |
| AND 2 >= ( | |
| SELECT COUNT(*) | |
| FROM reply | |
| WHERE reply_id = r.reply_id | |
| AND id <= r.id |
NewerOlder