Wang Kai
Wang Kai
https://github.com/RustCrypto/formats/blob/master/spki/README.md I found the crate above can solve the issue: ``` rust let pub_key = fs::read(pub_key_path).unwrap(); let pub_key = SubjectPublicKeyInfo::try_from(pub_key.as_slice()).unwrap(); let pub_key = UnparsedPublicKey::::new( &signature::ECDSA_P256_SHA256_ASN1, pub_key.subject_public_key.to_owned(), ); ```
Hey @da-edra, I have updated the PR, but I think it would be better to give `IDLE_SECONDS` a default value since we actually have a busy wait here for polling...
machine foobar.com(domain name or IP) port ssh (you can also use other [inline method](https://www.gnu.org/software/emacs/manual/html_node/tramp/Inline-methods.html#Inline-methods) ) login your-account password yout-password You can use `.authinfo.gpg` store your email password or ssh password....
~For mac, maybe we can use this API? [composedString](https://developer.apple.com/documentation/objectivec/nsobject/1385416-composedstring?language=objc)~ Seems `setMarkedText` does the trick: - https://bugzilla.mozilla.org/show_bug.cgi?id=875674
> Are proposed changes sound reasonable to you and possible on macOS, or macOS could need a bit more things to work, nicely? Actually, i'm not very familiar about IME,...
There seems be a thread safe implementation for DirectWrite: https://github.com/Connicpu/directwrite-rs/blob/64706009b30f4601f1c4b4b6f38653856ba10cdc/src/font/mod.rs#L26 Currently, we are using: https://github.com/vvuk/dwrote-rs/blob/a75100ca9884880692d2523128a4eb5f279ec9b9/src/font.rs#L15
@jrmuizel I have to add `CTFontManagerCreateFontDescriptorsFromData`, because it happens when loading font from 'otc/ttc'. I encountered the issue when using [font-kit](https://github.com/servo/font-kit), font-kit [manually unpack 'otc/ttc']( https://github.com/servo/font-kit/blob/f0cb880b66310e8e43fb923b8d9416c2a2183997/src/loaders/core_text.rs#L826), I suppose it won't...
The test failed on xcode 7.3/9.2 and passed others.
I also add an api called `new_from_arc_buffer`, so maybe `font-kit` can benefit from it : )
I tried to redefine the function, but it doesn't work: ```python def select_device(device_matches=None, interactive=True): """Select a device from the list of accessible input devices.""" devices = get_devices_from_paths(reversed(list_devices())) if interactive: if...