This file contains 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
-- 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 |
This file contains 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
// ==UserScript== | |
// @name 给 V2EX 用户打标签 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match https://www.v2ex.com/* | |
// @match http*://*.v2ex.com/* | |
// @match http*://v2ex.com/*s | |
// @match https://v2ex.com/ |
This file contains 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
package main | |
import ( | |
md "github.com/JohannesKaufmann/html-to-markdown" | |
"io/ioutil" | |
"log" | |
"strings" | |
) | |
var converter = md.NewConverter("", true, nil) |
This file contains 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
.varTopCheckError : err handle elegant way | |
ANY → var(\ | |
err error\ | |
$var:suggestVariableName()$ $type*:expressionType(expr))$\ | |
)\ | |
if $var:suggestVariableName()$, err = $expr$; err != nil {\ | |
return nil, err\ | |
} |
This file contains 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
{ | |
"title": "自己写的配置启动Apps", | |
"rules": [ | |
{ | |
"description": "用 right_command + i/j/k/l 到 Arrows", | |
"manipulators": [ | |
{ | |
"type": "basic", | |
"from": { | |
"key_code": "j", |
This file contains 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
// let ori = []; | |
// ori.sort( | |
// compare, | |
// ) | |
// function compare(a: any, b: any): number { | |
// var a_compare = Number(a.getElementsByClassName('small fade')[0].innerText.substring(1)) ?? 0; | |
// var b_compare = Number(b.getElementsByClassName('small fade')[0].innerText.substring(1)) ?? 0; |
This file contains 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
// ==UserScript== | |
// @name V2EX for work | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author y4code | |
// @match *://*.v2ex.com/* | |
// @run-at document-end | |
// @grant none | |
// ==/UserScript== |
This file contains 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
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>FirePadInc</vendorname> | |
<vendorid>0x1532</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>FirePad_V1</productname> |
This file contains 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
@MyDF 我用这个14年的这个刷re的bat命令不知是否可行? | |
我总结一下: | |
准备:cm-13.0-20161106-NIGHTLY-shamu.zip拷贝到手机 | |
1.swipe | |
2.bat命令刷下载好的re cm-13.0-20161106-NIGHTLY-shamu-recovery.img | |
3.re中install选择zip | |
4.进机子之后刷opengapp arm 6.0 nano | |
图片链接:http://ww3.sinaimg.cn/large/006y8mN6gw1f9nvl33tt0j308p0j00u8.jpg | |
ok |