How to create different default accounts for Gmail and YouTube

I have two Google accounts. One is blocked by YouTube, but I can still use it for Gmail.
I created a new one for YouTube, but every time I log in to YouTube with the new account and go to Gmail, the new account's email appears, which is empty. I know I can switch to my old account by clicking on the profile picture in the top right corner, but I don't want to do this every time. I want to set up two different standard accounts for YouTube and Gmail.

tl / tr, When I open Gmail, my first account should open. When I open YouTube, my second account should open,

Programming languages ​​- How to capture an input device and prevent its default behavior

I have an RFID tag reader. But it works like an HID device (like a keyboard). It sends keystrokes to the computer when a day is scanned. When I open the notepad and scan a tag, the ID is entered digit by digit. Is there a way to create a program that listens to this device (or port) and records (intercepts) all inputs? So that the keystrokes do not appear on my system, but I can assign my own events when the device sends and types. I don't want it to appear in the editor.

It is clear to me that the implementation can vary depending on the operating system and the programming language used. Ideally, I want this to work on both Windows and Linux. I'd rather use something like Node.js, but I guess C could be good too.

I would be happy about hints or hints in the right direction.

Enter image description here

How to set Real VNC Server as the default launcher – Lubuntu 19.10

I have installed Real VNC Server (Lubuntu 19.10) and I can run it without any problems. However, it doesn't start automatically on restart, and the Options screen (where I can probably set it to start automatically) requires sudo access. This is the message I get:


VNC Server options cannot be configured.

This requires superuser access when running in service mode as
Changes affect all users of this system. Either you don't have one
suitable method for obtaining superuser rights (e.g. sudo),
You are not authorized to do this, or you have provided invalid credentials.


I want an autostart when booting by default. And be able to disable autostart as desired.

Any advice is welcome.

Why is the camera set to ISO 400 by default in auto ISO mode with flash?

Although the value chosen is brand specific, you are right that this is common behavior. My Fujifilm Point & Shoot preferred ISO 800.

If you increase the ISO from 100 to 400, the effective range of your flash doubles, which is important for a relatively anemic built-in flash. This also means that half of the flash output can be used for a subject within the normal range, saving battery life, shortening the time it takes to flash again, and shortening the duration of the flash pulse to better freeze motion.

Another approach would be to increase the aperture (more open; smaller number), which would have a similar effect, but would decrease the depth of field. This means that the focus must be activated more. Typically, automatic exposure modes are only programmed when no other option is available.

I don't know the specifics of auto ISO logic in your camera model, but I wouldn't be surprised if the ISO could be kept at around 400 and only increased if there wasn't enough flash power.

When I use the flash outside of the camera, I usually set the ISO manually, but by default it is around 400, just like your automatic mode. That gives me a lot of flexibility with the aperture, and although my camera isn't the latest generation of sensors, the ISO is clean enough that I don't worry about noise.

magento2.3 – How can you pass a default value for a text field in the Magento 2 UI form component?

Is there a way to specify a dynamic default value for a text field in a UI form?

I have a situation where the default value can change. In this case, I thought the value could be saved in a file that can be updated manually if necessary. I would then use a class to get the file content that is used as the default value for the text box when a new record is displayed. If the value has been updated, it must be saved and the updated value displayed when the record is edited.

Considerations for dealing with this requirement?

magento2.3 – Default value for a text area in the UI form component

Is there a way to specify a dynamic default value for a text field in a UI form?

I have a situation where the default value can change. In this case, I thought the value could be saved in a file that can be updated manually if necessary. I would then use a class to get the file content that is used as the default value for the text box when a new record is displayed. If the value has been updated, it must be saved and the updated value displayed when the record is edited.

Considerations for dealing with this requirement?

How can I reset the MTK engineering mode to the default settings?

I have an old question, so far nobody can give me an exact answer. I've looked up the question many times on the Internet, but I can't find an answer.
I have an old smartphone whose CPU is MTK6589.
As we knew, the CPU made by MTK has an engineering mode. For example the command ## 3646633 ##We can make some settings in mode.
I want to know what this mode is used for. Just to test the device? Or make an underlying setting?
How can I reset the settings after changing them?
Restore factory settings?
I tried, but the value in engineering mode cannot be reset to the default.
Flash official firmware?
I tried. After flashing it all values ​​seem to be recovering. But I saw that some people said that this only changes the value it shows, the value stored in the CPU cannot be restored.
Can someone help me?
Thank you very much.