linux – How to create new Firefox profiles with custom configurations and preinstalled extensions

I use a lot of Firefox profiles
I need to install some of my extensions and set some parameters on each profile after creating a new one.
How to make firefox pre-install some extensions and configure certain configurations on each new profile?

I'm using Linux (Ubuntu 18.04) and Firefox 67.0

CPU – X99 Chipset and Triple Channel Memory Configurations

I'm building a system with an x99 card and a xeon e5-v3.

I would like to know if the chipset and processor will support a three-channel memory configuration (eg three or six sticks) without performance penalties. That is, reaching the memory speed between two- and four-channel configurations (and not as a single-channel configuration).

Surprisingly, it is difficult to find reliable information on this subject on the Internet.

Thank you.

How do we know why our website traffic is in free fall?

The reason I need to know this is that since our redirection problem is resolved, all website traffic has increased significantly (both English) with the exception of the Chinese website.

We added more content, it is very easy to classify, (no competition), so the traffic dropped is due to some configuration changes maybe?
How can I recover my traffic? English-Website.jpgRed-Blue-Card.jpgChinese-Website.jpg

.

8 – How to define visibility configurations and third-party parameters in the block programmatically?

/ **
* Create custom solution blocks for super categories and category pages.
* /
function custom_blocks_update_8008 () {
$ values ​​= [
      'uuid' => '7760fb2f-5235-4390-a91b-32568da6b001',
      'info' => 'Hero Blocks',
      'type' => 'hero_blocks',
    ];

$ block_content =  Drupal :: entityTypeManager () -> getStorage (& # 39; block_content & # 39;) -> create ($ values);
$ block_content-> setVisibilityConfig (
& # 39; & # 39 ;, vocabulary_product_category
       [
         'id' => 'vocabulary_product_category',
         'depth_levels' => [
            1 => 'Super Category',
            2 => 'Category',
         ],
& # 39; negate & # 39; => FALSE,
& # 39; context_mapping & # 39; => [],
])

$ block_content-> save ();
}

$ block-> set () is used to set the value of the field
but I have to put
1) Third part Settings
2) VisibilityConfig
3) in custom_block.install

we have the method setVisibilityConfig defined in BlockInterface and
SetThirdPartySetting method set in ThirdPartySettingsInterface but I
try to define these values ​​in the BlockContent which has no such method
BlockContent ->
https://api.drupal.org/api/drupal/core%21modules%21block_content%21src%21Entity%21BlockContent.php/class/BlockContent/8.6.x
BlockInterface ->
https://api.drupal.org/api/drupal/core%21modules%21block%21src%21BlockInterface.php/function/BlockInterface%3A%3AsetVisibilityConfig/8.2.x
and
Third party settings
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Config%21Entity%21ThirdPartySettingsInterface.php/fonction/ThirdPartySettingsInterface%3A%3A%3AsetThirdPartySetting/8.2.x
Should I put it in pre-treatment or somewhere else?

Is there a case of use for a factory template when loading configurations into a constructor for an API call?

  1. Yes, this is a typical case of the Factory pattern.

The purpose of a factory is to apply a complex set of logic to create and configure an object / object ecosystem, possibly by accepting certain parameters to refine / control this logic.

  1. Singletons in the code are usually a bad idea.

A class-level method is a singleton. Later, when you want two different elements of the factory logic, you can not because only one element of the factory logic is called class :: create ().

This makes any type of test, especially unit tests, painful because you can not easily simulate the factory or the returned object.

If this create() was an object-level method instead, it's still a problem. the GatewayAPI objects now have conflicting roles. Is the object a gateway or a factory to get a gateway? When you call create() and retrieve an object, is it the gateway or a factory to get the gateway? How many turtles has this depth?

  1. Bonus round. The configuration for the GatewayAPI should be separated from the GatewayAPI.

As the factory is responsible for configuring the GatewayAPI, the GatewayAPI should no longer be responsible for knowing what this configuration is before it is configured.

It is now up to the factory to know what the configuration is / how to get the configuration / be informed of the configuration and then apply it.

magento2 – Magento 2 Main Configurable Products Duplicated in Control Information When Configurations Are Controlled

In our Magento 2.2.7 store, we have a number of configurable items, this is a main item with a number of individual items as configurations.

When a customer orders them, they strangely appear as additional items in the order information at a price of $ 0.00. An example is below.

enter the description of the image here

This makes the invoice of any order with a configurable product a bit difficult to understand.

network – MikroTik Capsman tries to push back network channel configurations that are not allowed by access points

According to information from authorized channels command on my access point, the allowed channels are as follows:

5180/20-Ceee / ac,
5260/20-Ceee / ac / DP,
5745/20-Ceee / ac,
5750/20-Ceee / ac,
5755/20-Ceee / ac,
5760/20-Ceee / ac,
5765/20-Ceee / ac

Despite the above, the manager insists on assigning frequencies outside this range. It's not obvious at first, but sometimes in the newspapers, I can find something like this:

cap7: channel selection failed, no channel supported
cap7: channel selection failed, no channel supported
cap8: channel selection failed, no channel supported
cap1: selected channel 5300/20-eeCe / ac / DP (23dBm)

5300/20-eeCe / ac / DP is selected as 90% of the time. Very rarely, he selects something else … which is also unsupported anyway.

It seems that no matter what I do with the Caps Manager configuration, it tries to configure a configuration that I have not even defined.
You can see that in my configuration, I only explicitly defined the frequencies allowed by the access point. I have also explicitly put Supported modes to make sure the 5G config will only go to the 5G interface. The configuration itself is extremely simple:

/ caps-man chain
add a band = 5ghz-onlyac width-of-control-20mhz = extension-channel = frequency Ceee = 5180,5260,5745,5750,5755,5760,5765 name = 5G-20-Ceee
add band = 2ghz-g / n control channel width = 20mhz extension channel = This frequency = 2412,2417,2422,2427,2432,2437,2442 name = 2G-20-Ce
/ cap-man datapath
add bridge = bridge1 transfer client to client = yes local transfer = yes name = data path1
/ caps-man security
add authentication-types = wpa-psk, wpa2-psk name = password "LAN" = *************
/ caps-man configuration
add channel = 5G-20-Ceee comment = "5G only" datapath = datapath1 mode = ap name = "The LAN11" security = "The LAN" ssid = "The LAN11"
add channel = 2G-20-This comment = "2G only" datapath = datapath1 mode = ap name = "The LAN2" security = "The LAN" ssid = "The LAN2"
/ caps-man supply
add action = create-dynamic-enabled comment = "5G only" supported-modes = ac master-configuration = "LAN11" name-format = identity
add action = create-dynamic-enabled comment = "2G only" hw-supported-modes = gn master-configuration = "LAN2" name-format = identity

Despite the above configuration, the manager completely ignores the channel configuration and selects something different.

Incorrect configuration error 1
Incorrect configuration error 2

Which in the end looks like why the access point is unable to properly configure the wireless interface.
And this is a screen capture of the access point itself. You may find that the configuration of the interfaces is wrong and has nothing to do with the configuration I defined on the manager:

Bad channel and missing SSID

You can see that the interface is disabled and there is no SSID – this is the symptom of channel provisioning outside the allowable range.

Bogus config on AP

I am using version 6.43.8 of RouterOS (which is the latest one as of date of writing) with the following devices: hEX PoE Lite as router and capstan manager and multiple dots. cAP access ac.

I've tried different configurations, all disabled outside the basics to isolate the problem. The MikroTik audience responded with a general copy-and-paste response and asked me to define Supported modes what I did despite the fact that initially, I tested with a single interface.

Am I doing something wrong or is it a bug in RouterOS?

Why Apple does not launch Intel Macbook Air hexa / octa-core configurations?

I'm about to buy a MacBook Air, but I'm not sure that the processor and RAM would suffice. I currently have a MacBook Pro 15 early 2013 with a quad core I7 processor (8 threads) and 16 GB of RAM. RAM is still used but "pressed memory" is very weak.

What are the best practices for deploying different configurations per environment in Kubernetes / OpenShift?

Kubernetes provides a very elegant mechanism for managing the configuration of pods using ConfigMaps. The documentation does not clearly indicate what is the recommended practice for using ConfigMaps to manage different configurations for different environments and to deploy configuration changes as they occur.

Suppose I use a ConfigMap for my pod to set various environment variables or inject cofiguration files into my container. It is obvious that some (or all) of these variables or files must be different depending on the environment in which the pod is deployed.

In an ideal world, I can make configuration changes and deploy them to the pod without rebuilding or redeploying the container image. This implies that these configuration parameters, as well as ConfigMap, should probably be stored in a separate source code repository (otherwise, an image build would be triggered whenever the configuration is changed).

What are the recommended practices for:

  1. the management of different configuration parameters by environment (for example,
    branch separated by environment)

  2. automatically deploy configuration changes when they change under source control, but only in the respective environment

SQL Server – Capacity Considerations for SSRS Remote Configurations

We plan to create a virtual machine that will serve as a Rpeorting server and we decided that it would be better to use a remote configuration because this configuration eliminates resource conflicts between the report server and the hosting SQL server. future extension:

enter the description of the image here

We currently have the RS Catalog Server configured with the following capacity:

RAM: 24 GB
CPU (3GHz): 2

(all sizes allocated to disk blocks are 64 KB)
DataStorage (mdf): 1 TB
LogStorage (ldf): 250 GB
TempDBStorage (mdf / ldf): 100 GB

Assuming that the network bandwidth is not a problem, here is a guide for configuring RS motor capacity.

Are configurations below capacity excessive or sound correct?

RAM: 24 GB
CPU (3GHz): 2

(all sizes allocated to disk blocks are 64 KB)
Data storage (mdf): 100 GB
LogStorage (ldf): 50 GB
TempDBStorage (mdf / ldf): 50 GB