Recently, a community project received a request for users to connect an external camera to their Mac, hoping that Alfred would support one-click switching between different cameras. Because there is a rarely need to open video, I haven’t noticed how to use an external device on a Mac before, so I try it here.

Camera Installation

I remembered that I once bought a Logitech Webcam C110, so I found it and tried it, USB interface, I converted the connection through the docking station USB=>TypeC, then opened Tencent Meeting or Facetime, and can see the plug in the camera options of new equipment. Select Discovery work.

After trying, I found a few problems

Read more »

I’ve been using the personal version of 1Password, which costs about $35.88 annually. Recently, I saw an opportunity to apply for a free License. With the attitude of saving money whenever possible, I tried it, and it worked, so I saved another sum. Moreover, the license given is a Team License - generally priced at about $240 per year, which is very attractive.

Apply Requirements

The application thresholds are as follows:

  • Author/collaborator/core contributor of an open-source project
  • The open-source project has been created for at least 30 days.
  • The open-source project has specified an open-source license, such as MIT.
  • The open-source project is active.

Note that the current “open source license is permanently valid.” If you obtained the license before 2021/11/26, it will show as expiring in 2 years. In this case, you can email opensource@1password.com before expiration to change it to a permanent license.

Read more »

It’s been a few months since Alfred launched Universal Action, and I’ve gotten used to using it to address specific scenarios. Here, I’ll summarize the role of actions in enhancing my efficiency.

Positioning of Universal Action

Here, I will discuss the differences between this interaction method and the previous scenarios provided by Alfred, such as keywords and hotkeys.

Main Differences

The fundamental difference between Universal Action and previous scenarios lies in the trigger conditions. Universal Action is triggered when you select any element [file/link/text], and based on this input, a specific action is executed. For example, you can choose a piece of text to automatically post on Twitter, send an email, or choose a URL to open it in a browser automatically. Previously, actions were triggered directly by keywords or hotkeys. So, the main difference lies here.

Read more »

Recently, while working on an open-source project, I was informed just before going live that copyright attribution needed to be added to every program file. Due to time constraints, I gave up on finding an automated solution and opted for manual editing. Resolving the issue took a few minutes of manual effort.

To efficiently solve similar problems in the future, an efficient/automated method is needed. Manual editing is cumbersome and prone to errors, especially when dealing with hundreds of program files.

During the holidays, I researched the feasibility of performing this operation within the IDE and discovered a solution.

The following method uses JB company’s IDEs, such as WebStorm and IntelliJ IDEA.

If you want to add a copyright to existing files in a project uniformly, you can follow the steps below:

Read more »

JetBrains WebStorm is my primary tool for code development, which is more suitable for full project development, while VSC is a lightweight development editor. For instance, sometimes, I use it to handle an Nginx configuration or a test HTML file. Therefore, the two do not conflict—one is a heavy-duty weapon, and the other is a lightweight submachine gun. Turning VSC into a powerful tool requires investment because it lacks many built-in features. Therefore, it requires installing a relatively large number of plugins.

Here, I list some of the plugins I have installed.

It is continuously updated and adjusted.

Auto Rename Tag

Automatically renames paired tags.

Read more »
0%