Hola! Each runlevel has a certain number of services stopped or started, giving the user control over the behavior of the machine. Conventionally, seven runlevels exist, numbered from zero to six. While brewing coffee at home I found the difference between runlevels in Linux. See below.
Shuts down the system.
Does not configure network interfaces, start daemons or allow non-root logins.
Does not configure network interfaces or start daemons.
I was asked the other day ‘How does the default Apache virtual host file looks like?’ I was having my Peruvian coffee and decided to place below the default Apache virtual host file in this post for any future reference.
API is an Application Programming Interface which is a way that allows communication between two applications using a set of rules. While having a great coffee from Bolivia I found the following API requests types.
The main Web Service APIs are:
SOAP (Simple Object Access Protocol) uses XML to transfer sets of information in the form of objects. Created by Microsoft in 1998.
XML-RPC was developed in 1997. It uses identifying tags similar to HTML and provides a rigid way to structuring data.
REST (Representational State Transfer) Mainly a set of HTTP verbs. GET, POST DELETE, PUT handle the management of the server’s resources.
I hope this information about API requests types is helpful. You can also contact me if you have questions.
An innerjoin it is the most common kind of join, so common that SQL doesn’t actually make us say “inner join” to do one.
An outer join returns a set of records or rows that include what an inner join would return, but also includes other rows for which no corresponding match is found in the other table. There are 3 types of outer join:
The other day I only had access to my secondary Mac (mac mini) via the Terminal. For some reason Screen Share did not work. I needed to enabled File Sharing on my mac mini in order to transfer some backup files from my MacBook Pro to the mac mini. Coffee was brewing!
This is how I activated File Sharing via the terminal on the mac mini. I ran these two commands:
If for some reason, you need to enable the root account, all you need to do is to set a password for the root user. In Ubuntu, you can set or change the password of a user account with the passwd command.
To change the root password you need to run the following command as a sudo user:
sudo passwd root
You will be prompted to enter and confirm the new root password.
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
That’s all! Now you can login to the Ubuntu system as a root. This is not the recommended way. You should always use a sudo user account instead.
A session is defined as a group of interactions one user takes within a given time frame on your website.
For example a single session can contain multiple page views, events, social interactions, and E-Commerce transactions. A single user can open multiple sessions. Those sessions can occur on the same day, or over several days, weeks, or months. As soon as one session ends, there is then an opportunity to start a new session. There are two methods by which a session ends:
After 30 minutes of inactivity
If a user arrives via one campaign, leaves, and then comes back via a different campaign.
By default, a session lasts until there’s 30 minutes of inactivity, but you can adjust this limit so a session lasts from a few seconds to several hours. See suggestions by Google in this link.