8/11/2021

Firefox backspace as history back

 about:config

Search for backspace and change backspace_action to 0

8/08/2021

Fix Gerrit login with Google OAuth 2: com.google.gerrit.server.account.AccountException: Cannot assign external ID to account 1000007; external ID already in use.

We have figured out to fix this issue by performing actions in the All-Users repos in Server.By using this workaround users can access the Gerrit application back.


git clone /gerrit/gerrit/git/All-Users.git/

cd All-Users/

git fetch origin refs/meta/external-ids:refs/meta/external-ids

git checkout refs/meta/external-ids

git log

git show fa89bc7791e1dfd3fb6c595b3cf9969a0b60beaa # the sha should be the one when the account was created

rm files found in the git show log

git add *

git commit -m "Fix the external id error"

git push origin HEAD:refs/meta/external-ids (sudo maybe needed)


You may also need to modify gerrit site: mv db/account_patch_reviews.h2.db db/account_patch_reviews.h2.db.backup. rm -rf cache/*

Restart gerrit

7/16/2021

TMobile voice mail access

 This should be an easy one. Dial 1-805 637 7243 and follow voice prompts to enter your T-mobile number and passcode.

7/12/2021

Nvidia Pegasus Setup

1. Install  cinnamon

sudo apt install sddm

sudo apt install cinnamon


2. Install teamview-iot-agent

sudo dpkg --add-architecture armhf

sudo apt-get update

Login to http://teamviewer-iot.com

Inventory | Add Device | Linux | Debian | Raspberry Pi4

7/09/2021

How to debug Windows 10 power battery drain issue

powercfg /energy

powercfg /batteryreport

Ubuntu: how to fix broken packages

Use synaptic:

sudo synaptic

Then Custom Filters (At the lower left corner) | Broken, remove them

7/03/2021

How to disable Windows 10 lock screen

Here are the steps you need to follow to disable your lock screen permanently on Windows 10.

1. Open Registry Editor on Windows 10 by typing regedit in the search box. Click Yes when the User Account Control (UAC) box pops up to run the Registry Editor as an administrator.
2. In the Registry Editor, go to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Personalization
3. Create a New DWORD (32-bit) value by right-clicking in the right pane, selecting New, then DWORD (32-bit) Value and name the DWORD (32-bit) Value NoLockScreen.
4. Double-click NoLockScreen and change the hexadecimal value from 0 to 1.
5. Click OK when you are finished and close the Registry Editor.