mysql – How do I reset 2FA on the phpmyadmin software?

I used 2FA (2-Factor Authentication) to log in to the Admin section, but recently I've re-set up my phone, which has 2FA code due to some issues. I tried to read the phpmyadmin documentation, but it only shows the method for enabling 2FA. How do I possibly disable it without performing a clean install?

I use XAMPP to host the server currently

Command line – How do I reset the repositories in Ubuntu 18.04 on the Other Software tab under Software and Updates?

I've gone through the steps to upgrade MySQL from version 5 to version 8. Without further thought, I inserted these commands into the terminal sudo apt-key adv --keyserver keyserver.ubuntu.com .... from Ubuntu 12 version have been added. Therefore, I manually removed them later from the Other Software tab under Software and Updates. Somehow it got better, but whenever I put in the command sude apt-get updateends with the error given below

N: For details about repository creation and user configuration, see the apt-secure help page (8).

Terminal, if "sudo apt-get update" was inserted

I am still unable to find a solution.
Thank you in advance for your help 🙂

x coordinates are reset after speed change?

I wanted to change the speed of a soldier when he enters a barbed wire structure.
Since I have several soldiers and several barbed wires, I go through them all with two for-loops.

for (int j = entityWalkingRightArray.size () - 1; j> = 0; j--) {
final entity_walking_right entity_walking_right = entityWalkingRightArray.get (j);
for (int i = barbedWireArray.size () - 1; i> = 0; i -) {
final barbedWire wire = barbedWireArray.get (i);
// Check if the object is in the barbed wire
if (entity_walking_right.getX ()> = wire.getX ()
&& entity_walking_right.getX () <= wire.getX() + wire.getWidth() 
      && entity_walking_right.getY() >= wire.getY ()
&& entity_walking_right.getY () <= wire.getY () + wire.getHeight ()) {

entity_walking_right.changeSpeed ​​();
} else {
//entity_walking_right.changeSpeed2 ();
}
}
}

In the Soldier's class, the speed is set to 500 and the PositionX is set to 200 when first created. I also have these two functions:

public void changeSpeed ​​() {
Speed ​​= 50;
}

public void changeSpeed2 () {
Speed ​​= 500;
}

In that do() Depending on the soldier class, the position is determined.

runningTime + = Gdx.graphics.getDeltaTime ();
positionX = speed * runningTime;

Now when he enters the barbed wire and the speed is set to 50, the X position changes to 200 and he runs at a speed of 50. When I activate entity_walking_right.changeSpeed2 (); then it runs through the barbed wire at normal speed (500) and starts blinking quickly, while another version flashes quickly on positionX 200 at a speed of 50. I have looked at the positionX value and he "teleportiert" again and again between these two positions. When the "500-speed version" of him reaches the end of the barbed wire, everything is back to normal. I have absolutely no idea why that happens.

boot – UEFI remove / reset password Windows 10

I have set up a UEFI password on my new Windows 10 computer.
I decided to remove it and I booted in the UEFI settings. Click Reset Administrator Password. I have the old password and nothing set to the new password and confirmation. Save up.

Expected behavior:
At startup, the system no longer prompts for a password

Actual behavior:
I'm still being prompted for a password before Windows is booted. I tried the old password and hit Enter without entering a password. I can not boot and I can not access UEFI settings anymore. I tried to boot from Debian Live USB or Windows 10 Recovery USB, but that does not work

4.3 Jelly Bean – How can I reset the phone to factory defaults if I can not find the option to reset to factory settings?

I have an old Samsung Galaxy S3 that has been sitting on my desk for years. I wanted to disable it to give it to a friend, but I do not see the option to reset to factory settings anywhere. Any instructions I can find online indicate that they should be in the Settings app, but this is not the case. (There is no privacy section in the settings app.)

Is there another way to reset a phone to factory settings? It's at 4.3 (Jellybean) according to the About Device screen. (I tried to enter recovery mode with the "Power / Volume Down" trick, but it does not work.) I just continue normally.)

Linux – how to reset nftable counters?

As far as I know, it is not possible to reset one anonymous Counter (the same problem as resetting a counter is not possible) anonymous Quote, see at the end).

Named counter

Tested with nftables 0.9.0.

What can be done instead is use called Counters that are one of the (currently) three possible stateful objects on which operations can be performed. A specific named counter is attached to a table.

table ip filter {
counter mycounterd102 {
Packages 697173 Bytes 850761603
}
counter mycounters100 {
Packages 38 bytes 4096
}
Chain entrance {
Type Filter Hook Input Priority 0; Accept politics;
ip daddr 192.168.0.102 counter name "mycounterd102"
ip saddr 192.168.0.100 count name "mycounters100"
}
}

A manual command creates the named counter as follows, optionally with a nonzero value:

nft add counter ip filter mycounterd102 packages 697173 bytes 850761603

Now you can perform actions on these named counters:

# nft list counter ip filter mycounterd102
table ip filter {
counter mycounterd102 {
Packages 697173 Bytes 850761603
}
}
# NFT Reset Counter IP Filter mycounterd102
table ip filter {
counter mycounterd102 {
Packages 697173 Bytes 850761603
}
}
# nft list counter ip filter mycounterd102
table ip filter {
counter mycounterd102 {
Packets 0 bytes 0
}
}

As expected, the reset action lists the specified counter atomically and resets it.

You can also reset all counters in the table (or in all tables if no table is specified):

# nft counter reset table IP filter
table ip filter {
counter mycounters100 {
Packages 38 bytes 4096
}
counter mycounterd102 {
Packets 0 bytes 0
}
}

Reference: Stateful objects

that talks about counters and quotas. There is an associated error related to an anonymous quota that can not be reset even if all quotas are reset. It can be assumed that there are exactly the same problem with counters: not available from January 2019 (and the date of this answer):

Bug 1314 – nft reset quotas does not reset any anonymous odds

time machine – This allows you to completely reset or remove and restore Safari in Mojave

The first thing I would do is delete history in the Safari menu. Then stop Safari and start it again while holding down the button shift Key. This will start Safari in safe mode and disable any third-party extensions.

If Safari behaves after that, disable your extensions and turn them back on one at a time.

If this fails, more extreme measures are appropriate. I would start with a clean preference. Stop Safari and then hold the Finder possibility and select the Go menu and then "Library" from this menu.

Once the library folder is open, search for a folder or folders with Safari in the name, and move the contents of each folder to folders on your desktop. Then find a "Preferences" folder in the Library folder and open it. Search for files / folders with Safari in the name and move them to the desktop. Once the library folder is free of Safari-related files, try Safari and see how things work.

If things are still not working properly, I would download and install the combo update for the current version of your macOS. Look for "combo update mac os 10.14.5" (or whatever your current version is). It will lead you to a big file on apple.com. Download and run it. It updates your operating system and usually fixes problems like this.

If The do not fix the problems please let us know.