In development, I hope that user can invoke the RDP app by one click on the web page. I think URL Scheme is the answer.

Actual tests have found that the support for RDP URL Scheme is incomplete.

Platform

  1. MacOS

    System version has behave different, actual verification: BigSur supports ok.

    1
    rdp://full%20address=s:<ip>:<port>&username=s:Administrator

    Click to test

    Sonoma not work

    Failed to launch ‘rdp://full%20address=s:127.0.0.1:3389&username=s:Administrator’ because the scheme does not have a registered handler.

    manual install RDP

  2. Windows

    Only supports launching the RDP client, but cannot pass any parameter.

    Click to test

RDP File Download

The currently perfect support is for users to manually download the .rdp file and open it manually. The File content is followdings.

Read more »

Caddy is simpler compared to Nginx and very convenient for server proxying, especially for obtaining HTTPS certificates.

Here are some common operations recorded.

Installation

It is recommended to use a package manager for installation, such as on Mac:

1
brew install caddy

On CentOS7:

Read more »

Besides providing chat models, OpenAI API also offers many useful technologies, including Moderation.

Here is what I know.

Is this API free? Yes, Free

That’s right, moderation is free.

Purpose of Moderation

Based on the provided content, it scores according to predefined categories and if the content belongs to the predefined category.

Read more »

Recently, my family also switched to iPhones and entered the Apple ecosystem. I researched family sharing to allow my family to use the Apple ecosystem services I’ve been using for years for free and conveniently.

The official documentation about family sharing is vague, leading to some pitfalls. Here is a summary. Overall, family sharing is quite appealing. I recommend it to those who have purchased many Apple ecosystem services. With family sharing, others can use some excellent services without additional costs. OK, let’s start.

https://static.1991421.cn/2022/2022-11-05-220803.jpeg

Family Sharing

This feature can be understood as similar to the YouTube family membership/Spotify family membership. Family-sharing services cover a variety of subscriptions:

  1. iCloud, Apple Music, Apple TV, and other subscription services

    • Generally, Apple family membership uses this method. For example, with iCloud space, the initiator cannot directly configure to limit the available size for each person. The entire space size is shared.
  2. App Store purchased apps [excluding in-app purchases]

    • In-app purchases are not supported. For example, the MarginNote app itself is free to download, but Pro features are in-app purchases. Family sharing will not share Pro services; family members must purchase them separately. However, apps like Things, which require a one-time purchase, can be shared.
  3. Please refer to the official website for more details about location information.

  4. Family sharing is account-based, and both iPhone and Mac will be included.

    Read more »

I’ve recently been using Beijing Yitongxing to scan QR codes to ride buses and subways. To be more efficient, I started researching whether I could pop up the subway or bus code with one click. After all, finding the App, launching it, and then switching to the corresponding ride code is quite cumbersome.

The core of this feature—one click to open a specific page in an App—is essentially a URL Scheme. The key is whether I can obtain that information.

To summarize, I could only manage to open the Yitongxing App with RuubyPay://, but I couldn’t get to the specific subway or bus code page. This is because I couldn’t find the relevant SDK or didn’t guess the correct page URL. Although I didn’t fully solve the problem, I did figure out the general method for finding the URL Scheme of a specific App, which could be useful in the future.

Basic Methods

  1. Google/GitHub Search

    The first step is always to search widely since many others may have already found it, like weixin://scanqrcode for WeChat’s QR code scanner.

  2. Official Documentation

    Some well-documented apps provide detailed information about URL Schemes, such as Surge or Things. For apps like WeChat or Meituan, however, there isn’t systematic documentation, so users rely on community discoveries, which is less ideal.

  3. Checking the info.plist with tools like iMazing, or directly viewing the app’s contents in Finder for Mac apps.

    Search for the CFBundleURLSchemes keyword in info.plist; the array values will be the URL Schemes.

Read more »
0%