wp admin: is there an add-on to create multi-site WP installations programmatically?

So I created a multi-wordpress site and I want to be able to create multiple sites on the network programmatically. My subscription service has an API to be able to create usernames and passwords on the fly when they register. I just need to be able to create the site with some default values ​​when they register.

Also, if there is a good administration tool to manage these sites, it would be amazing.

3 WP installations in the same domain, with the same header

However, I would like to have 3 WordPress installations in the same domain, using the same header. How I can get this?

  1. mydomain.com (WP content website)
  2. mydomain.com/shop (Woocommerce website)
  3. mydomain.com/member (membership website)

The header must be the same in all URLs, since I would like the user to have the padding to stay in one place. Therefore, the header will include a link to the cart (Woocommerce website), a link to the members area (membership website) and a search box (WP content website).

How I can get this?

bash: Shell command to generate all the add-ons that exist in several WordPress installations

I am working on a server and I need a complete list of add-ons installed for all wp installations. I just need to know if there is a complement or not, no matter where it exists.

For example, given:

/siteA/wp-content/plugins/someplugin
/siteA/wp-content/plugins/anotherplugin

/siteB/wp-content/plugins/someplugin

I need the following result:

someplugin
anotherplugin

Here is the work command:

for i in $(find . -type d -name 'plugins' | grep 'wp-content/plugins$'); do find ${i} -maxdepth 1 -type d -exec sh -c 'for f do basename -- "$f"; done' sh {} + ; done | sort -u

Can this command be shortened?

homebrew – Two Qt installations on OSX?

My configuration (OSX 10.13.6) seems to have two Qt5 installations: one in /Library/Frameworks (/Library/Frameworks/QtCore.framework, /Library/Frameworks/QtGui.framework, etc.), but I also have one installed by brew to /usr/local/Cellar/qt/5.13.0. Is it a good idea to have Qt in two locations? Is it a good idea to remove the one in /Library/Frameworks and keep the brew installed?

kernel – Problem with linux-image-5.0.0-13-generic file during installations

Forgive me because I am a very new Linux user, although very excited. I started having problems with the facilities a couple of days ago. I also can't do any backup. The mistakes I receive all have to do with linux-image-5.0.0-13-generic. at the moment I'm in linux-image-5.0.0-21-generic.

I receive the following message when I try to run sudo apt-get upgrade, which I think could be a clue to the problem:

Removing linux-image-5.0.0-13-generic (5.0.0-13.14) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-5.0.0-13-generic
/etc/kernel/postrm.d/zz-update-grub:
Sourcing file `/etc/default/grub'
/usr/sbin/grub-mkconfig: 1: /etc/default/grub: blinking: not found
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 127
dpkg: error processing package linux-image-5.0.0-13-generic (--remove):
 installed linux-image-5.0.0-13-generic package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-5.0.0-13-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Any help anyone can provide is greatly appreciated. I love everything I've learned / tried on Linux compared to Windows so far, but this is a bit daunting. Thanks in advance.

Is it a privacy issue that iOS persists private keys between application installations of the same package ID?

In iOS applications, Apple has many problems to prevent applications from creating a stable identifier for a specific device. For example, in iOS> = 5 they no longer allow applications to get the UDID linked to the hardware of UIDevice -uniqueIdentifier and instead exposes a value that changes between the application's facilities in UIDevice -identifierForVendor. They also seem to put unwritten restrictions on advertising identification, and allow the user to reset it by enabling the "limit ad tracking" option.

However, as I have been working on an application that needs to identify the installation on our servers, I noticed that there is a fairly simple way to identify a device in a unique way until a cleanup occurs or a user manually edits their keychain.

When you create a private key backed by SecureElement, that key is stored in the HSM, while the public part of the key is stored in the keychain. The keychain entries are associated with a specific package ID and are not deleted when the associated application is uninstalled. In addition, the HSM policies can be applied when creating the key that allows linking the access to the key to the biometric identity of a specific user.

Each time the application is reinstalled, you will have access to this identity linked to the hardware that can be used to strongly identify the device Y the user.

Why would Apple do this monitoring, what are the security and privacy implications, and what can a user do to protect their privacy without having to manually manage the keychain?

8 tips to get 1 million installations for your application!

VERY USEFUL TIPS
https://www.appypie.com/how-to-get-1-million-installs-for-your-app

C # CSOM Create folder and update the SharePoint list (in the 2019 installations)

I have a task where I need to perform the following tasks;

  1. Create a folder in SharePoint Titled in the name of a company
  2. Update a URL field of the item in the list with the URL of the folder in step 1, where the name of the company matches

I'm trying to do this in a script. I managed to do step one, but I'm really struggling with the transition to step 2. How can I get the URL of the folder I just created and update the list item in another list?

This is what I have (thanks in advance);

static main vacuum (chain[] args)
{
// Metadata for new folder
string collection = "BVI";
string siteUrl = string.Concat ("http: //opm.group.local/sites", "/", collection);
string library = "Library";
string title = "Title";
string refCode = "RefCode";
chain manager = "Administrator";
string manager = "Manager";
string clientDirector = "ClientDirector";
string administratorGroup = "AdminGroup";

// CREATE FOLDER AND UPDATE METADATA
using (ClientContext ctx = new ClientContext (siteUrl))
{
// Get Library by Name
List byTitle = ctx.Web.Lists.GetByTitle (library);

// New object of the ListItemCreationInformation class
ListItemCreationInformation listItemCreationInformation = new ListItemCreationInformation ();

// Create folder in lib
listItemCreationInformation.UnderlyingObjectType = FileSystemObjectType.Folder;

// Set the name of the internal folder
listItemCreationInformation.LeafName = title;
ListItem listitem = byTitle.AddItem (listItemCreationInformation);

// Set folder name
listitem["Title"] = ref code;

// Set folder metadata
listitem["EntityNumber"] = ref code;
listitem["RefCode"] = ref code;
listitem["Administrator"] = administrator;
listitem["Manager"] = manager;
listitem["ClientDirector"] = clientDirector;
listitem["AdministratorGroup"] = administratorGroup;

listitem.Update ();
ctx.ExecuteQuery ();
}

}

How do I eliminate unnecessary files from WordPress and Magento installations to stay below a limit on the number of files on my web server?

Using the GoDaddy Ultimate Linux Plan, under which are the features:

Details of the plan:
– Ultimate Hosting
– 2 CPU
– 1,024 MB of RAM
– 250,000 files
– 140 entry processes.

So far, there are 7 WordPress applications installed.

  1. Version 5.1.1, 213.7MB files, 4.9MB database, 0 backup copies.
  2. Version 5.1.1, 303.6MB files, 2.3MB database, 0 backup copies.
  3. Version 5.1.1, 2419.2MB files, 25.3MB database, 1 backup copies.
  4. Version 5.1.1, 277.3MB files, 1.6MB database, 0 backup copies.
  5. Version 5.1.1, 181.5MB files, 2.2MB database, 0 backup copies.
  6. Version 5.1.1, 212MB files, 4.8MB database, 0 backup copies.
  7. Version 5.1.1, 212MB files, 4.8MB database, 0 backup copies.

cPanel is showing:

Use of the file
248,160 / 250,000 (99.26%)

So, with 7 WordPress applications of the above specifications, is it possible to have 248,160 files? If not, how do I make sure that unnecessary files are deleted?

The increase in the number of files occurred immediately after I tried to install Magento in one of the WordPress application directories, which was unsuccessful. When I called GoDaddy customer service, they tried to install Magento from the side and then they told me that Magento was not installed due to the number of files allowed (2,50,000) and they asked me to remove the unwanted files.

Repair the Python / PIP installations on my Ubuntu

I'm sorry for this post if it's in the wrong post. I'm not very good with Linux apart from what I need to survive, very basic things.
Recently I have been learning something from Python and in my studio I have tried to install PyATS and Genie.
Since I did it, I had to try to make my way … I did not do anything special, I just tried one method after another.
Finally, I installed PyATS through pip3 install PyATS and then I used the same method to install genie, however, when I try to run any genie, this message appears below. Since I'm not a Linux administrator, it does not mean anything to me and I can not find anything online to guide me … can anyone offer help, please? I get the error of anything where genius is the application. My suspicion is that maybe Python has improved and I have some problems doing that, I wonder if Python is maybe corrupt. Thanks in advance.

kaj0103 @ ubuntu: ~ $ genie –help
Tracking (recent calls latest):
File "src / genie / utils / profile.py", line 45, in genie.utils.profile
Profile.py and cProfile.py modules.
File "", line 388, in _check_name_wrapper
File "", line 809, in load_module
File "", line 668, in load_module
File "", line 268, in _load_module_shim
File "", line 693, in _load
File "", line 673, in _load_unlocked
File "", line 661, in exec_module
File "", line 766, in get_code
File "", line 818, in get_data
FileNotFoundError: [Errno 2] There is no such file or directory: & # 39; / usr / genie_yamls /in that.py & # 39;

The previous exception was the direct cause of the following exception:

Tracking (recent calls latest):
File "/home/kaj0103/.local/bin/genie", line 6, in
of genie.cli.principal main import
File "src / genie / cli /principal.py ", line 9, in init genie.cli.principal
File "src / genie / cli / commands / diff.py", line 20, in init genie.cli.commands.diff
File "/home/kaj0103/.local/lib/python3.5/site-packages/genie/harness/in that.py ", line 34, in
from .main import main
File "src / genie / harness / main.py", line 18, in init genie.harness.main
File "src / genie / harness / discovery.py", line 23, in init genie.harness.discovery
File "/home/kaj0103/.local/lib/python3.5/site-packages/genie/harness/commons.py", line 4, in
since . import _commons_internal
File "src / genie / harness / _commons_internal.py", line 36, in init genie.harness._commons_internal
File "src / genie / utils / profile.py", line 47, in init genie.utils.profile
""
ImportError: The genie_yamls module can not be imported.