I was in a pinch. I needed to import 12.000+ files with different filetypes into a Wordpress Media Library. The easy part, uploading the files with the folder structure to wp-content/uploads was done quickly, but Wordpress Media Library didn’t “see” the files.

After some quick reading I found out that they need to be imported into the Library, and after some more reading I found wp-cli works with ‘xargs’ in Bash.

Helpful links at and

The command I ended using is as follows through SSH:

find /tmp -name '*.pdf' -or -name '*.doc' -or -name '*.jpg' -or -name…

Photo by Marten Bjork on Unsplash

A quick note on the use case

To have another Google Chrome instance (or many) running alongside your main instance allows you to separate accounts, plugins and bookmarks.

In this case, I wanted to use a just-for-work Mac for personal use, but I didn’t want to mix bookmarks, plugins and accounts. I do have other devices in which I run Chrome with my Google account, and I do like the sync feature, but I don’t like the idea of syncing my personal data to the main instance of Chrome on this specific Mac as this is not its main use.

That said, here is a way of…

Foto de Pixabay en Pexels

Use the Include directive to include an external config file in the main (default) ssh config file.

  1. Create another config file as usual.
  2. Add the following line at the beginning of your ~/.ssh/config

Include path-to-new-config-file

for example, if we have a config file in ~/Documents/.ssh/config add Include ~/Documents/.ssh/config in your main ~/.ssh/config

What is this good for?

As I mentioned in my objective is to s separate personal projects from work projects.

In this case, I can use a ssh config file for work and another file for my projects, and then…

multiple keys photo

A short note on the use case

Why would you want to use multiple keys on a machine you ask? There are several reasons, one being perceived security and another being convenience. Using just one Identity makes everything easier and you don’t have to manage several Identities You can read more and .

My use case would be that of convenience. I just want to separate work from personal projects and I would like to use a separate key (non-work related) with those projects

1. Create a new public key

ssh-keygen -t rsa -C "your_email@youremail.com"

This public key can be in any path, not just in ~/.ssh/ as default/ recommended.

For security…

I wrote about If you haven’t installed ngrok yet, please read that guide first.

After I had access to my Ubuntu Server through SSH, the next logical step (at least for me) was to enable Jupyter Notebooks running inside TORUS (Docker) to be reachable from a remote browser. That way I’m able to run python code on the server while using my browser as if it was locally installed.

To run ngrok for…

I have a server at home running Ubuntu 18.04 LTS (normal local network, behind a router with firewall activated, no DMZ) and I wanted to be able to access it though ssh. You can think of it as a TeamViewer alternative for port redirection.

What’s SSH?

Secure Shell (SSH) is a cryptographic network protocol for operating network services securely over an unsecured network. Typical applications include remote command-line login and remote command execution, but any network service can be secured with SSH. —

Enter ngrok

Public URLs for exposing your local web server.
Spend more time programming. …

Algunas reflexiones respecto al feedback

Suele pasar… todos hablan de los grandes emprendimientos, de las grandes innovaciones, de las personas que crearon productos y servicios maravillosos. Todos hablan y pocos hacen. Hacer es más complicado que hablar, y al hacer descubres que mucho de lo que hablaste lo hiciste sin una pizca de experiencia de lo que realmente sucede antes de lanzar una maravilla al mercado. Esa maravilla es el resultado de una serie infinita de acciones y conflictos, tanto internos como externos, por llevarle la contra al mundo. …

Diego Carrasco G.

Lifelong learner, careless dreamer, impulsive creator, uncommon behavior.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store