Magento2 stop data from getting saved in database

Magento2 How can I stop data from getting saved in custom table ‘amasty_acart_rule_quote’ as soon as quote data is restored?

I am using following function to restore Quote items

$objectManager = MagentoFrameworkAppObjectManager::getInstance();
        $customerSession = $objectManager->create('MagentoCustomerModelSession');

how to stop limit number of urls posted

ive set a project to

“stop the project after xxx verifications per url”
under project>options

it has already done multiples of what its supposed to do & just keeps doing more,
its the indexer engine, its done about 1500 in half a day for each project,
 i just want it to do a steady amount & put the rest in the lists for when they are needed,
but apart from turning that engine off completely (which i would have to do for each project)
how do you get it to stay at the levels you have set it to at

its not 20-30% more -its not going to stop

unity – Why does the script stop working after respawning?

I have a flying enemy that follows the player:

public class MoveTowardsPlayer : MonoBehaviour
    public float moveSpeed, sightDistance;
    public Rigidbody2D theRB;
    public Transform target;
    private void Start()
        theRB = GetComponent<Rigidbody2D>();
    private void Update()
        Vector3 targetDir = target.position - transform.position;
        targetDir = targetDir.normalized;
        float dist = Vector3.Distance(target.position, transform.position);
        if (dist < sightDistance)
            theRB.velocity = targetDir * moveSpeed;


And here is what happens when the enemy dies, and then respawns:

  public void Die()
        Instantiate(enemyDieEffect, transform.position, transform.rotation);

    public void Respawn()
        gameObject.transform.position = initialPosition;
        currentHealth = maxHealth;

The enemy respawns if the player dies and goes back to the last checkpoint.

Interestingly, if the player dies before reaching any checkpoint, the MoveTowardsPlayer scripts still works after respawning. It only stops working after any of the checkpoints are reached.

For the sake of completeness, here is the Checkpoint script, which has absolutely nothing to do with the enemies:

public class Checkpoint : MonoBehaviour
    private Animator animator;
    public bool isReached;

    // Start is called before the first frame update
    void Start()
        isReached = false;
        animator = GetComponent<Animator>();

    private void OnTriggerEnter2D(Collider2D other)
        if (other.CompareTag("Player"))
            animator.SetBool("isActive", true);

    public void ResetCheckpoint()
        animator.SetBool("isActive", false);

windows 10 – Stop suggesting Microsoft Edge browser in start menu when typing “internet”

I use Chrome as my primary browser but must use Internet Explorer to be able to remote in to my work via Remote Desktop web client (since it uses ActiveX plugins).

To start an app, I would often type out the name from the start menu unless I had a pinned link or shortcut handy. But if I type “internet” as if I were trying to start Internet Explorer, I will always be recommended Edge and have it highlighted by default.

typing internet recommends edge

I will never be able to use Edge here so stop recommending it… can this behavior be disabled somehow?

Not even pinning the Internet Explorer link to the start menu prevents this. If I had any other shortcuts that started with the word “internet,” it still offers Edge and is preselected. At least if I type in “chrome,” Chrome is selected first.

stop kn330 bluetooth to pair with my TV

I am having Mi smart tv in my house. My neighbor is having KN330 2 in 1 Bluetooth 5.0 Receiver Transmitter. I get pairing requests from kn330 often. I am not finding any solution in my TV menu to ignore such request. Every time I have to cancel request. This disrupts my TV viewing. My neighbor is unable to any thing. Howto solve this problem of getting disrupted.

magento2 – How to stop Magento 2 using cookies like recently_viewed_product?

According to the GDPR and recent court decisions, technically unnecessary cookies may only be set after the user has given his active consent.

Cookies that are not technically necessary are widely regarded as cookies for tracking, marketing, external media, etc.

Magento 2 sets the following cookies, among others:

  • recently_viewed_product
  • recently_viewed_product_previous
  • recently_compared_product
  • recently_compared_product_previous

First question:
Does Magento use these cookies to recognize the preferences of the visitor during subsequent page views or sessions and to display products that suit the visitor? In my opinion, these would then be marketing cookies that should not be set until the user actively agrees?

Second question:
How can the above mentioned cookies be deactivated without affecting the basic functionality of Magento?

linux – Please Help im seeing all these unknown and reported ip adresses and dont know how to disconnect from them and stop them from reconnecting

netstat -o shows im connected to a bunch of ips that have been reported before. how do i stop these connections from happening again?!?

root@kali:/home/kali# netstat -o
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address Foreign Address State Timer
tcp 0 1 LAST_ACK on (2.00/3/0)
tcp 25 0 CLOSE_WAIT off (0.00/0/0)
tcp 0 0 ESTABLISHED off (0.00/0/0)
tcp 0 0 TIME_WAIT timewait (39.66/0/0)
tcp 0 1 LAST_ACK on (0.00/2/0)
tcp 0 0 ESTABLISHED off (0.00/0/0)
tcp 0 0 ESTABLISHED keepalive (0.60/0/0)
tcp 1 0 CLOSE_WAIT off (0.00/0/0)
tcp 0 0 a184-27-199-25.dep:http ESTABLISHED keepalive (0.85/0/0)
tcp 0 0 a23-36-194-14.dep:https ESTABLISHED keepalive (0.86/0/0)
tcp 0 0 ESTABLISHED off (0.00/0/0)
tcp 0 0 server-99-84-232-2:http ESTABLISHED keepalive (2.96/0/0)
tcp 0 0 server-99-84-227-:https TIME_WAIT timewait (24.77/0/0)
tcp 0 0 ec2-34-239-215-15:https ESTABLISHED off (0.00/0/0)
tcp 24 0 nl.10gbit.checkra:https CLOSE_WAIT off (0.00/0/0)
tcp 0 0 server-99-84-232-2:http ESTABLISHED keepalive (2.96/0/0)
tcp 0 0 a184-27-199-25.dep:http ESTABLISHED keepalive (0.85/0/0)
tcp 0 0 ESTABLISHED keepalive (588.70/0/0)
tcp 0 1 LAST_ACK on (0.12/1/0)
tcp 0 0 ESTABLISHED off (0.00/0/0)
tcp 0 0 sfo03s18-in-f3.1e1:http ESTABLISHED keepalive (0.60/0/0)
tcp 0 0 ec2-52-7-127-43.c:https ESTABLISHED off (0.00/0/0)
tcp 0 0 ns561500.ip-54-39:https ESTABLISHED keepalive (7.67/0/0)
tcp 0 0 ESTABLISHED keepalive (41.94/0/0)
tcp 0 0 TIME_WAIT timewait (39.90/0/0)
tcp 0 0 ec2-3-227-166-28.:https ESTABLISHED off (0.00/0/0)
tcp6 0 103 2601:204:e381:c82:48564 sfo03s07-in-x08.1:https FIN_WAIT1 on (8.07/5/0)
tcp6 32 0 2601:204:e381:c82:60746 2600:9000:21c4:4e:https CLOSE_WAIT off (0.00/0/0)
tcp6 0 103 2601:204:e381:c82:48770 2606:4700::6810:8:https FIN_WAIT1 on (0.65/5/4)
tcp6 0 103 2601:204:e381:c82:58122 sfo03s18-in-x0e.1:https FIN_WAIT1 on (13.32/6/0)
tcp6 0 0 2601:204:e381:c82:50666 fallingrocks.ocf.b:http ESTABLISHED off (0.00/0/0)
tcp6 0 124 2601:204:e381:c82:44558 2600:9000:20a6:aa:https FIN_WAIT1 on (7.94/5/0)
tcp6 0 396 2601:204:e381:c82:52498 g2600-140a-c000-0:https FIN_WAIT1 on (1.54/5/0)
tcp6 0 1 2601:204:e381:c82:37900 sfo03s08-in-x0e.1:https FIN_WAIT1 on (10.50/6/0)
tcp6 0 103 2601:204:e381:c82:37048 sfo03s18-in-x03.1:https FIN_WAIT1 on (3.98/5/0)
tcp6 0 0 2601:204:e381:c82:57470 sfo07s17-in-x01.1:https TIME_WAIT timewait (14.67/0/0)
tcp6 0 103 2601:204:e381:c82:57342 sfo03s18-in-x04.1:https FIN_WAIT1 on (0.65/5/4)
tcp6 0 0 2601:204:e381:c82:43300 sfo03s07-in-x0e.1:https TIME_WAIT timewait (25.88/0/0)
tcp6 0 103 2601:204:e381:c82:37008 sfo03s18-in-x03.1:https FIN_WAIT1 on (9.74/5/0)
tcp6 0 0 2601:204:e381:c82:50170 sfo03s08-in-x06.1:https TIME_WAIT timewait (14.23/0/0)
tcp6 0 103 2601:204:e381:c82:41184 2800:3f0:4001:81b:https FIN_WAIT1 on (0.23/3/0)
tcp6 0 0 2601:204:e381:c82:43802 g2600-140a-c000-0:https ESTABLISHED off (0.00/0/0)
tcp6 0 103 2601:204:e381:c82:51822 sfo03s18-in-x0a.1:https FIN_WAIT1 on (0.65/5/0)
tcp6 0 0 2601:204:e381:c82:37088 sfo07s17-in-x02.1:https TIME_WAIT timewait (14.24/0/0)
tcp6 1 0 2601:204:e381:c82:59902 2606:4700::6812:67:http CLOSE_WAIT off (0.00/0/0)
tcp6 1 0 2601:204:e381:c82:49002 sfo03s08-in-x0e.1e:http CLOSE_WAIT off (0.00/0/0)
tcp6 0 103 2601:204:e381:c82:59984 2606:4700:3033::a:https FIN_WAIT1 on (4.24/5/0)
udp 0 0 ESTABLISHED off (0.00/0/0)

im not sure what to do!!

How do I stop myself from getting angry at slow drivers?

Here’s what works for me usually – I don’t know how well it would work for others.

Sounds trite, but I try to look at the bright side.  That guy in front of me is going 10 under the speed limit, but at least we’re moving.  I’ve been in dead-stop traffic, too, which is worse.  I’m probably getting laid tonight, might even get a BJ, and that guy in front probably can’t say the same.  I have a good marriage and kids, and 50% of couples get divorced and/or are single parents.  I’m driving home from work, but at least I have a job.  A ****load of people lost their job due to coronoavirus.

When I can pass someone I will, but not in anger.

When I get caught at a light because the person in front of me just made it, I consider myself First in Line for the next Green.  If anything, all the cars behind me wish they were in my spot.

Source(s): My job required cool analysis, so anger was a liability.