Mysqto

Mysqto

V2EX 第 25825 号会员,加入于 2012-08-25 00:25:43 +08:00
今日活跃度排名 12967
根据 Mysqto 的设置,主题列表被隐藏
二手交易 相关的信息,包括已关闭的交易,不会被隐藏
Mysqto 最近回复了
2021-07-21 16:55:55 +08:00
回复了 dsn93 创建的主题 问与答 用个人域名解析内网 IP
没明白 你 nslookup 查的是哪个域名?
2021-07-15 13:50:12 +08:00
回复了 wbsdty331 创建的主题 奇思妙想 微软有 Office 365,为什么不来个 Windows 365 ?
洛阳铲 大型考古现场
2021-05-24 10:29:18 +08:00
回复了 xurunfei 创建的主题 macOS 求 macos 复制文件到剪贴板命令
@Neoth https://gist.github.com/mysqto/e3826dbe2772acf1af8e74b0558157c0

```
#!/usr/bin/osascript
use framework "Appkit"

property this : a reference to current application
property NSFileManager : a reference to NSFileManager of this
property NSImage : a reference to NSImage of this
property NSMutableArray : a reference to NSMutableArray of this
property NSPasteboard : a reference to NSPasteboard of this
property NSString : a reference to NSString of this
property NSURL : a reference to NSURL of this

property pb : missing value

on run argv
init()
clearClipboard()
addToClipboard(argv)
end run


to init()
set pb to NSPasteboard's generalPasteboard()
end init

to clearClipboard()
if pb = missing value then init()
pb's clearContents()
end clearClipboard

to addToClipboard(fs)
local fs

set fURLs to NSMutableArray's array()
set FileManager to NSFileManager's defaultManager()

repeat with f in fs
if f's class = alias then set f to f's POSIX path
set pwd to (FileManager's currentDirectoryPath)
set fn to (NSString's stringWithString:f)
set fp to (pwd's stringByAppendingPathComponent:fn)'s stringByStandardizingPath()
if (FileManager's fileExistsAtPath:fp) then
(fURLs's addObject:(NSURL's fileURLWithPath:fp))
end if
end repeat

if pb = missing value then init()
pb's writeObjects:fURLs
end addToClipboard
```
大内存的爽在于可以开上千个浏览器 tab 切换的时候不会 reload 其他就是各种 docker, VM 集群随便开
2021-03-30 12:28:05 +08:00
回复了 bixinhaner 创建的主题 Apple 求助大佬, M1 big sur 用什么软件能连接 PPTP 的 VPN 呢?
docker
2021-03-29 13:06:24 +08:00
回复了 zhangkaix 创建的主题 Apple 求教: iOS14 支持读取机械硬盘吗?
要用带供电的线 官方就这个 https://www.apple.com.cn/shop/product/MK0W2FE/A
2021-03-05 13:33:24 +08:00
回复了 Liampor 创建的主题 macOS 可永久免费使用修图软件 Pixelmator Pro 2 , 支持 M1 处理器
应该是官方版本, 这里是 app store 里 Pixelmator Pro 的签名信息
```
codesign -dvvv /Applications/Pixelmator\ Pro.app 13:31:34
Executable=/Applications/Pixelmator Pro.app/Contents/MacOS/Pixelmator Pro
Identifier=com.pixelmatorteam.pixelmator.x
Format=app bundle with Mach-O universal (x86_64 arm64)
CodeDirectory v=20500 size=6187 flags=0x10000(runtime) hashes=184+5 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha1=c11af6425cb8ea98135d1528c39183ee77b8d84d
CandidateCDHashFull sha1=c11af6425cb8ea98135d1528c39183ee77b8d84d
CandidateCDHash sha256=55065974bbfda7e7cae563f34f828fa76307fb00
CandidateCDHashFull sha256=55065974bbfda7e7cae563f34f828fa76307fb002ac1aeb6118fc322b99de620
Hash choices=sha1,sha256
CMSDigest=5f39cf917f904904ab4a2c57234d29eab3141b0cf462d90e9a7b1880b031e2ed
CMSDigestType=2
CDHash=55065974bbfda7e7cae563f34f828fa76307fb00
Signature size=4698
Authority=Apple Mac OS Application Signing
Authority=Apple Worldwide Developer Relations Certification Authority
Authority=Apple Root CA
Info.plist entries=42
TeamIdentifier=4R6749AYRE
Runtime Version=11.0.0
Sealed Resources version=2 rules=13 files=1423
Internal requirements count=1 size=232
```
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5885 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 16ms · UTC 02:03 · PVG 10:03 · LAX 18:03 · JFK 21:03
Developed with CodeLauncher
♥ Do have faith in what you're doing.