Security How to get all subdomains of a domain To get all the subdomains of a domain I use the following command based on the assetfinder tools and massdns, both available on github. It is required to have git and python installed.
Development Python tutorial: variables In Python, variables are created by writing their name and assigning with an equal ("=") the value or the expression that specifies this value. It is not necessary to specify the type of the
Development Python tutorial Python tutorial index: Hello word! Variables This tutorial is for python3 but is largely a reference to previous versions of python.
Development Python tutorial: Hello word We are going to make our first python program: our hello world using a python function called 'print' that shows in the execution console the text that is passed to it as an
Development How to fix jhipster error "Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/util/namespace' is not defined by "exports" in /usr/lib/node_modules/generator-jhipster/node_modules/yeoman-environment/package. json" In a CentOS 8 with nodejs v18.15.0 and npm v.9.5.0 when running jhispter version 7.9.3 I get the error:[user@machine egeria-portal]$ jhipster INFO! Using bundled
Bugs and errors fix How to solve the error 'npm ERR! must provide string spec' when installing a nodejs package with npm If you get the following error when installing a nodejs package with npm such as 'npm install sqlite3':npm ERR! must provide string spec first run the following in the nodejs project:npm
Bugs and errors fix How to fix nodejs bash error: /usr/bin/node: cannot execute binary file: Exec format error This error:-bash: /usr/bin/nodejs: cannot execute binary file: Exec format error indicates that the nodejs executable installed in the linux distribution is not supported.In my case I have had this
IT infrastructure and architecture terraform - loop example creating three linux virtual servers on Azure This example shows the use of 'loops' in terraform to create three linux servers, each with its private IP and its public IP, the three servers belonging to a 10.0.0.0/
Development How to make git not always ask for your username and password on your computer So that git does not ask you on your computer for the username and passwords every time it is required, you can cache it for a while with:git config --global credential.helper
IT infrastructure and architecture terraform - first steps: creating a linux virtual server en Azure First of all, this example is made in CentOS 8, and it should not vary from one Linux distribution to another, it even works the same without problems in Windows or macOS.We
IT infrastructure and architecture How to sign in with the Azure CLI and manage associated subscriptions Before logging in with the Azure CLI to an Azure tenant, we must see which Azure subscriptions I have associated with the current computer and user:az account list which, in the case
IT infrastructure and architecture How to sudo a user in Ubuntu... and how to remove sudo from the user There are several ways to grant sudo ability to a user in Ubuntu, such as:sudo usermod -a -G sudo jlsv This command adds the user 'jlsv' to the 'sudo' group.It can
IT infrastructure and architecture How to install Azure CLI (package azure-cli) on Ubuntu 22.04 on WSL Windows 10 First we execute the following to refresh the available packages from all the repositories:sudo apt-get update We install the necessary packages for Azure CLI (azure-cli):sudo apt-get install ca-certificates curl apt-transport-https lsb-release
IT infrastructure and architecture How to install terraform on CentOS 8 The first thing is to execute:yum update We check the current repositories in the operating system to see if there is the Hashicorp repository with the command:yum repolist which should contain
IT infrastructure and architecture How to view the contents of a keystore pkcs12 with openssl, case truststore Directory Services of ForgeRock To view the content of a keystore in the form of PKCS12 run the openssl command as for example on the truststore of an installation of Directory Services (evolution of openDJ) of ForgeRock:
IT infrastructure and architecture How reload /etc/environment without reload linux or restarting session When you change the linux /etc/environment file where the general environment variables for all sessions are specified, it can be executed to load the new definition of the file into the session
IT infrastructure and architecture How to activate and configure ssh server in windows 10 Open Power shell with administrator elevation, and run the following to install it:Add-WindowsCapability -Online -Name OpenSSH.Server* Then we start the service:Start-Service sshd We specify that it starts automatically on each
IT infrastructure and architecture Key combination on MacBook Pro with Intel processor for booting Booting your Mac has the following key configuration options to boot in different modes by first pressing the Mac's boot key, except in cases where it is indicated not to, and immediately press
IT infrastructure and architecture How to easily install Windows 10 on a MacBook Pro To install Windows 10 on a MacBook PRO model A1398 with Intel processor without macOS installed is easily from a USB Flash recovery of a Windows 10, in my case in a Lenovo
IT infrastructure and architecture How to install a macOS High Sierra from scratch on a MacBook Pro I detail the actions to perform to install the macOS High Sierra 10.13 on a MacBook PRO model A1298 with micro Intel, from a bootable USB flash that I prepare in a
Bugs and errors fix What to do if your Mac won't boot In a MacBook Pro Model A1398 with micro Intel I made several installations of different OS (Windows 10, Ubuntu 20.04, etc.) and at a time that I deleted the different partitions of
Bugs and errors fix How to fix error when restoring macOS "This copy of the Install macOS High Sierra applicacion is damaged, and can't be used to install macOS" Restoring a macOS from scratch on to Intel-based MacBook Pro Model A1398 I encountered the error while running "Reinstall macOS":"This copy of the Install macOS High Sierra application is damaged, and can't
Development Simlinks, hard links and junctions in Windows Simlinks: There is really only one directory or file in storage, and the link. The space required is not doubled.It is a direct access to a directory or fileIt can be done
Bugs and errors fix How to fix in docker and docker-compose the error 'PermissionError: [Errno 13] Permission denied' in the fastest way ... and possibly unorthodox If you have the error 'PermissionError: [Errno 13] Permission denied' when running a docker-compose you can quickly fix the problem as follows:chmod 777 /var/run/docker.sock It is a problem of
Development JavaScript and its execution engines A JavaScript engine is a tool that executes JavaScript code.There are two types of JavaScript engines from the point of view of operation: runtime interpretes JIT: just-in-time compilation Runtime interpreters have less