Deactivate the confirmation dialog if you change the file extension in macOS Finder

Every time I change a file type in Finder, I have to confirm that I really want to change the file extension.

Change confirmation dialog for file extension

Are you sure you want to change the extension from ".old" to ".new"?

If you make this change, your document may open in another application.

Hold .old Use .new

How can I finish this confirmation step?

magento2 – Can I deactivate the Magento Inventory modules?

I'm having problems with inventory quantity versus salable quantity. I do not use multiple source inventory in this project. Can I deactivate all Magento_Inventory modules and have no problems?

    'Magento_Inventory' => 1,
    'Magento_InventoryAdminUi' => 1,
    'Magento_InventoryAdvancedCheckout' => 1,
    'Magento_InventoryApi' => 1,
    'Magento_InventoryBundleProduct' => 1,
    'Magento_InventoryBundleProductAdminUi' => 1,
    'Magento_InventoryCatalog' => 1,
    'Magento_InventorySales' => 1,
    'Magento_InventoryCatalogAdminUi' => 1,
    'Magento_InventoryCatalogApi' => 1,
    'Magento_InventoryCatalogSearch' => 1,
    'Magento_InventoryConfigurableProduct' => 1,
    'Magento_InventoryConfigurableProductAdminUi' => 1,
    'Magento_InventoryConfigurableProductIndexer' => 1,
    'Magento_InventoryConfiguration' => 1,
    'Magento_InventoryConfigurationApi' => 1,
    'Magento_InventoryDistanceBasedSourceSelection' => 1,
    'Magento_InventoryDistanceBasedSourceSelectionAdminUi' => 1,
    'Magento_InventoryDistanceBasedSourceSelectionApi' => 1,
    'Magento_InventoryElasticsearch' => 1,
    'Magento_InventoryExportStockApi' => 1,
    'Magento_InventoryIndexer' => 1,
    'Magento_InventorySalesApi' => 1,
    'Magento_InventoryGroupedProduct' => 1,
    'Magento_InventoryGroupedProductAdminUi' => 1,
    'Magento_InventoryGroupedProductIndexer' => 1,
    'Magento_InventoryImportExport' => 1,
    'Magento_InventoryCache' => 1,
    'Magento_InventoryLowQuantityNotification' => 1,
    'Magento_InventoryLowQuantityNotificationAdminUi' => 1,
    'Magento_InventoryLowQuantityNotificationApi' => 1,
    'Magento_InventoryMultiDimensionalIndexerApi' => 1,
    'Magento_InventoryProductAlert' => 1,
    'Magento_InventoryRequisitionList' => 1,
    'Magento_InventoryReservations' => 1,
    'Magento_InventoryReservationCli' => 1,
    'Magento_InventoryReservationsApi' => 1,
    'Magento_InventoryExportStock' => 1,
    'Magento_InventorySalesAdminUi' => 1,
    'Magento_InventoryGraphQl' => 1,
    'Magento_InventorySalesFrontendUi' => 1,
    'Magento_InventorySetupFixtureGenerator' => 1,
    'Magento_InventoryShipping' => 1,
    'Magento_InventorySourceDeductionApi' => 1,
    'Magento_InventorySourceSelection' => 1,
    'Magento_InventorySourceSelectionApi' => 1,
    'Magento_SalesInventory' => 1,
    'Magento_ScalableInventory' => 1,
    'Magento_InventoryShippingAdminUi' => 1,
    'Magento_CatalogInventoryStaging' => 1,

dnd 5e – How can a BBEG activate or deactivate anti-magic tiles in its turn?

Consider making the tile manipulation a hiding action.

Hide-and-seek actions are a different method than legendary actions to give a monster opportunities to balance the action economy between himself and the group of players. They usually refer to changing or using the terrain of their hiding place and can only be carried out by the monster (or NPC) when they are in their hiding place. You mentioned that the party will face this BBEG in hiding, so it would make sense here. The advantage of making the anti-magic tile manipulation a hiding action is that the BBEG continues to make full use of its action, bonus action and object interaction on its turn and does not have to waste any of them.

As an example, an ancient red dragon has the following hide-and-seek options and chooses one to run at initiative count 20 (loss of initiative ties) each round.

  • Magma breaks out at a point on the ground that the dragon can see within 120
    Feet of it, creating a 20 foot geyser with a 5 foot radius. Everyone
    A creature in the Geysir area must achieve DC 15 skill savings
    Throw and take 21 (6d6) fire damage from a failed save or half as much
    Damage to a successful.
  • A tremor shook the cave in a 60-foot
    Radius around the kite. Any creature other than the dragon on the
    Soil in this area must be on a DC 15 skill save or successful
    to be knocked lying down.
  • Volcanic gases form a cloud within a 20 foot radius
    Sphere centered on a point the dragon can see within 120 feet.
    The ball spreads around corners and its area is slightly covered.
    It takes initiative 20 to count in the next round. Any creature
    That begins its turn in the cloud must be successful on a DC 13 constitution
    Rescue throw or be poisoned until the end of his turn. While poisoned
    That way, a creature is disabled.

Knowing that your BBEG should manipulate the anti-magic tiles every round, you can easily limit them to one option for their hiding action: manipulate the tiles as you like.

Overwrite / deactivate magento2 – third party plugin (Amasty Shop By) which is not declared

I've struggled with this for a while but can't figure out how to disable a plugin in the Amasty Shop by extension to overwrite it. I have to override some methods in the plugin, but since they are set to private and use private variables declared in the class, I just have to disable this specific plugin and overwrite it with my own.

The problem I have is that the plugin doesn't appear to be declared / named in the di.xml files in the extension, but there are some additional plugins in the extension that extend it, and these plugins are in named di.xml.

The plugin I want to overwrite is here: vendor/amasty/shopby/Plugin/Ajax/Ajax.php

There are 2 plugins (in the same directory as above) that extend it and in which they are named vendor/amasty/shopby/etc/frontend/di.xml As follows:

I have created and registered my module and am trying to deactivate and overwrite the plugin:



It is likely that I am missing something obvious here, thankful for pointers in the right direction.

vimscript – Activate / deactivate the option "Relative number" when opening / closing the GDB terminal window

When I wasn't sure how to do this, I asked this question in StackOverflow, the main part of which is the following:

Regarding line numbers, I prefer normal file editing
have the following setting

set number
set relativenumber

because the former tells me where I am, the latter helps me use it
j and k effectively.

But when Debug with
gdb
,
Use of termdebug Package and the :Termdebug I often command
Want to set breakpoints; Therefore I want to activate the latter option
from who run set norelativenumber Command in a global realm
So that all files that I edit show the actual line numbers.

When I read the answer and the Vim help pages a little more, I came to the following solution, which is now part of mine ~/.vimrc File:

" Source the termdebug plugin
packadd termdebug

" Add mapping to load termdebug
noremap  td :call MyTermdebug()

" turn off relativenumber,
" start Termdebug,
" and create autocmd to turn relativenumber back on
function! MyTermdebug()
  call SetRelNumInAllWin(v:false)
  augroup ClosingDebugger
    au!
    autocmd BufUnload !gdb call SetRelNumInAllWin(v:true)
  augroup END
  Termdebug
endfunction

" set/unset relativenumber in all windows if flag is v:true/v:false
function! SetRelNumInAllWin(flag)
  let current_win_id = win_getid()
  tabdo windo call SetRelNum(a:flag)
  call win_gotoid(current_win_id)
endfunction

" set/unset relativenumber in current window if flag is v:true/v:false
function! SetRelNum(flag)
  if &number
    if a:flag
      set relativenumber
    else
      set norelativenumber
    end
  end
endfunction

How do I deactivate the toast notification after an SMS has been sent?

I have a Nokia 6.1 Plus on Android 10.

I'm having trouble activating my bank on Google Pay. An SMS will be sent during the activation process. Then this toast message regarding my SMS credit is displayed by the operator.

IMG:

(Click to enlarge)

While this message is displayed, the system is getting out of the context of Google Pay. In return, Google Pay says so.

IMG:

(Click to enlarge)

It irritates me that sending or receiving money is annoying.