Activate File Sharing via Terminal macOS

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 …

How to Change Root Password in Ubuntu Linux

The root user is disabled by default in Ubuntu. This does not mean the account was removed. After researching while having amazing coffee from Latin America I found the following… 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 …

What is a session in Google Analytics?

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, …

Fixing Outdated WooCommerce Templates

Most theme authors fix themes in a timely manner, but others won’t 🙁 . There are times you will need to update WooCommerce templates yourself. Its easier than what you think, but it may take you some time. You need to determine what templates to update, make a backup of old templates and then restore …

Install mkpasswd in Ubuntu by installing whois

Hola, I ran into the below issue while trying to install mkpasswd in Ubuntu. sudo apt install mkpasswd Reading package lists… Done Building dependency tree Reading state information… Done E: Unable to locate package mkpasswd Turns out that mkpasswd is a utility part of the whois package. So, in order to get mkpasswd you have …

How to install Google Analytics code using the functions.php in WordPress

Using the WordPress functions file I was able to add the tracking code. It will then make the tracking code available to every page on your WordPress site. You will need to add this code to your theme’s functions.php usually located at: /wp-content/themes/<yourTheme> You will need to add this code at the bottom of your …

Key points during DevOps interview

Hola! Recently I went for an interview for a DevOps/IT Engineer position at NYC. I was skeptical about my skill set and if I would be able to talk about ‘DevOps’ stuff and etc… To my surprise, I learned more about myself during that interview. I was able to talk about and respond to about …

Enable Password Authentication on your droplet Digital Ocean

This one is quite simple. You will need to modify the ssh config file which is located at /etc/ssh/sshd_config. Open the /etc/ssh/sshd_config file with your favorite editor. Find or add the line PasswordAuthentication Enter the value ‘yes’ next to PasswordAuthentication It should look like: PasswordAuthentication yes Save and exit the file. The restart the ssh …

How to Recover from Lost SSH Keys Digital Ocean

Hola! This happen on a couple of occasions to me. First, you will need to force your droplet to generate a new root password. Select your droplet from the Droplets menu. You will be presented with the option to reset root password. Click on the ‘Reset Root Password’ button and a new root password will …