- Hum 151010 URL Schemes 使用详解
- Hum 160427 OmniFocus 的 URL Schemes 用法
- Hum 171115 通过 Bear 来认识 Launch Center Pro 的进阶用法
- Hum 171122 通过 Bear 来认识 Drafts 的 [[line]] 用法
- Hum 180518 入门 iOS 自动化:读懂 URL Schemes
- Hum 180823 Universal Link 使用详解
- Hum 181229 x-callback-URL 的使用方法
- JamesHopbourn 210204 Drafts + vim = URL Scheme 复用
- JamesHopbourn 210405 Drafts 5 与 Bear 联手,让我可以快速追加笔记
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
# fly.toml file generated for still-snowflake-6351 on 2023-03-30T09:53:40+08:00 | |
kill_signal = "SIGINT" | |
kill_timeout = 5 | |
primary_region = "sin" | |
processes = [] | |
[build] | |
image = "bayedev/opencatd" |
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
@import Photos; | |
[PHPhotoLibrary requestAuthorizationForAccessLevel:PHAccessLevelReadWrite handler:^(PHAuthorizationStatus status) { | |
NSLog(@"PHAuthorizationStatus: %ld", status); | |
PHFetchOptions *fetchOptions = [[PHFetchOptions alloc] init]; | |
fetchOptions.includeHiddenAssets = YES; | |
fetchOptions.includeAllBurstAssets = YES; | |
PHFetchResult<PHAsset *> *result = [PHAsset fetchAssetsWithOptions:fetchOptions]; |
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
/* | |
* Change from https://gist.github.com/unki2aut/4ac81c33be2e8f121e80a26eba1735d7 | |
* - Use top level await (Node.js v14.8.0+) | |
* - To use top level await, you need to write a script as ES Modules | |
* - Set chokidar options to avoid duplicate building | |
* - Define NODE_ENV (For React) | |
* - Add API proxy setting by using proxy-middleware | |
*/ | |
import chokidar from "chokidar"; | |
import esbuild from "esbuild"; |
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
ip rule add fwmark 0x233 lookup 100 | |
ip route add local 0.0.0.0/0 dev lo table 100 |
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
// | |
// FacebookAuth.swift | |
// GitHub: ethanhuang13 | |
// Twitter: @ethanhuang13 | |
import AuthenticationServices | |
import SafariServices | |
/* | |
Updated: |
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
// Created by Baye Wayly on 2020/3/13. | |
// Copyright © 2020 Baye. All rights reserved. | |
import SwiftUI | |
struct Measure<Content: View>: View { | |
@State var cost: TimeInterval = 0 | |
var content: Content | |
init(@ViewBuilder builder: () -> Content) { |
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
@echo off | |
::配置BAT对话框样式 | |
title KMS服务器检查脚本 | |
MODE con: COLS=42 lines=8 | |
color 0a | |
::检测vlmcs.exe |
This util deletes your historical tweets from a downloaded archive file, unfavorites tweets from your public profile.
No guarantee, no support, use it at your own risk.
- Apply to become a Twitter developer first.
Once your Twitter developer account application is approved, You can create a new app and get its Consumer API keys and generate Access token. These keys are used to configure tweet.sh. - Obtain archived tweets by requesting to download your Twitter data.
You can extracttweet.js
file from the downloaded .zip file.
NewerOlder