Skip to content

Instantly share code, notes, and snippets.

View y4code's full-sized avatar
😎
Being dalao

y4code y4code

😎
Being dalao
View GitHub Profile
@y4code
y4code / docker-registry-mirrors.md
Created March 8, 2025 06:43 — forked from y0ngb1n/docker-registry-mirrors.md
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
@y4code
y4code / DT3 - Add OCR to PDF.scpt
Created March 1, 2023 22:49 — forked from julienma/DT3 - Add OCR to PDF.scpt
OCR PDFs in DEVONthink 3 with jbarlow83/OCRmyPDF
-- Script for DEVONthink 3
-- Run OCRmyPDF on PDFs without OCR
-- Requires https://github.com/jbarlow83/OCRmyPDF to be installed e.g. with brew
on performSmartRule(theRecords)
tell application id "DNtp"
set strExportPath to "PATH=/usr/local/bin:$PATH "
set intRecordsCount to count of theRecords
show progress indicator "Adding OCR to PDF..." steps intRecordsCount
repeat with theRecord in theRecords