Skip to content

图片在父容器中按比例缩放算法

图片在父容器中按比例缩放算法 /** * w1在w2中按比例缩放 * @param w1 * @param h1 * @param w2 * @param h2 *
发布时间:2024/2/26 11:40:40

img在div中上下左右居中

img在div中上下左右居中 + html 代码如下: + css: display flex; alignitems center;
发布时间:2024/2/26 11:40:40

python __proxy__ is not JSON serializable

python __proxy__ is not JSON serializable TypeError at / Object of type __proxy__ is not JSON
发布时间:2024/2/26 11:40:40

macOS开启高性能模式

macOS开启高性能模式 性能模式会更改您的 Mac 的系统参数。这些更改会更好地利用您的硬件来满足服务器应用程序的要求。 装有 macOS Server 且需要运行高性能服务的 Mac
发布时间:2024/2/26 11:40:40

python django tests用法

python django tests用法 直接运行默认的tests.py 啥都没有,我们需要改为这样 python import os, django from django.
发布时间:2024/2/26 11:40:40

这是一个用markdown来测试的文章

| |1|2|3| [aaaa]( ![](https//ss0.baidu.com/6ONWsjip0QIZ8tyhnq/it/u=2795980557,2077253840&fm=58&
发布时间:2024/2/26 11:40:40

nodejs 在macOS中获取显卡信息

nodejs 在macOS中获取显卡信息 varprocess=require(&exports.getGraphics=function() returnnewPromise((resol
发布时间:2024/2/26 11:40:40

macOS 10.15 下切换zsh为sh

macOS 10.15 下切换zsh为sh 在2019年06月发布的macOS 10.15系统中,打开终端有会有个提示:Thedefaultinteractiveshellisnowzsh.
发布时间:2024/2/26 11:40:40

js比较多位版本号,支持字母和其他符合

js比较多位版本号,支持字母和其他符合 functioncompare(current,latest) vara=current.split(/./); varb=latest.spl
发布时间:2024/2/26 11:40:40

macOS获取硬件uuid

macOS获取硬件uuid macOS获取硬件uuid在终端执行以下命令:system_profilerSPHardwareDataType|awk&39;/UUID/print$3;&39;
发布时间:2024/2/26 11:40:40