piclist
下载地址:https://github.com/Kuingsmile/PicList
食用方法:
参考官方文档
2025年6月17日...小于 1 分钟
下载地址:https://github.com/Kuingsmile/PicList
参考官方文档
{width="60%"} 有些编辑器不认
 有些编辑器不认
icon.png
创建icons.iconset文件
mkdir icons.iconset
导出各尺寸的png到icons.iconset中(名称后缀必须为.iconset,不要擅自修改,踩了坑就知道了)
Sips -z 16 16 icon.png -o icons.iconset/icon_16x16.png
Sips -z 32 32 icon.png -o icons.iconset/icon_16x16@2x.png
Sips -z 32 32 icon.png -o icons.iconset/icon_32x32.png
Sips -z 64 64 icon.png -o icons.iconset/icon_32x32@2x.png
Sips -z 128 128 icon.png -o icons.iconset/icon_128x128.png
Sips -z 256 256 icon.png -o icons.iconset/icon_128x128@2x.png
Sips -z 256 256 icon.png -o icons.iconset/icon_256x256.png
Sips -z 512 512 icon.png -o icons.iconset/icon_256x256@2x.png
Sips -z 512 512 icon.png -o icons.iconset/icon_512x512.png
Sips -z 1024 1024 icon.png -o icons.iconset/icon_512x512@2x.png
使用iconutil将iconset生成为icns文件
iconutil -c icns icons.iconset -o icon.icns
jsdelivr 是一个免费且可靠的内容分发网络(CDN)服务,允许开发者将静态资源存储在 GitHub 仓库中,并通过 jsdelivr 进行全球加速访问。具体来说,jsdelivr 能够通过提供一个 CDN 地址,将存储在 GitHub 仓库中的资源进行加速,从而使这些资源在全球范围内快速加载。
将资源上传到 GitHub 仓库 首先,开发者需要将静态资源(如图片、JavaScript 文件、CSS 文件等)上传到 GitHub 仓库中的特定目录。例如,你可能有一个名为 my-project 的 GitHub 仓库,里面有一个 images 文件夹,存储了一些图片。
主要任务:
遇到的问题:
# 触发机制
name: Generate Daily Markdown
on:
schedule:
- cron: '01 8 * * *'
jobs:
build:
...省略...
# 向main分支推送修改
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
name: docs build
on:
push:
branches:
- main
排查过程:
请确保不要创建递归或意外的工作流程
)解决方案:
name: docs build
on:
workflow_run:
workflows: "Generate Daily Markdown" # 需要监听的流程名字
types: completed
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
branch: ${{ github.ref }}
众所周知,hugging face中很多space资源都是可以直接使用的,那么如何将这些资源用在自己的项目中呢?
在使用Yank Note的 AI Extension时,发现文本转图片的端点是可以免费使用的,我忽然对此产生了兴趣 免费的配置: