Nov 27

Get Linux system process list without ‘ps’ command

Reading time: < 1 minute

When you work with embedded systems sometimes you would feel happy to have a Linux box until you discover there are plenty of basic things that you don’t have available, the extreme of that could be the ‘ps’ command which is used most of the time for checking if any process is running . Maybe you know that thanks the /proc filesystem there is access to the source of the information.

Keep next command close for solving this inconvenience he next time:

find /proc -mindepth 2 -maxdepth 2 -name exe -exec ls -lh {} \; 2>/dev/null
Sep 12

RDP vs Team Viewer vs Anydesk

Reading time: 4 – 6 minutes

Lately I bought a Surface Go for working specially as an agenda and for working outside home when I don’t have to work on technical stuff. At some point I considered the idea of working on that device remotely when I’m working with my desktop environment because it could be more comfortable specially because I have a bigger screen and keyboard for interacting with the content that I have on the tablet.

The first thing that I tried to do was enabling Remote Desktop Protocol on my Surface Go. But it was officially impossible because it has Windows 10 Home and the “Home” version doesn’t have this feature. BTW when you are not comfortable with this the best is googling little for finding any hack which allow me to enable the service. And yes, it exists and works really well.

You can find the project which hacks that in Windows 10 Home GitHub it’s called “rdpwrap” and if you want to know more about that go to next links:

After so much effort for getting RDP working on Windows 10 I discovered that RDP doesn’t work like Team Viewer, so you’re not going to control remote desktop while you can view what is happening in that remote session. This is not mandatory for me but in some cases it’s really useful. After some weeks I had to install Team Viewer for getting that feature working and I rediscovered that tool after some years without using it, and I was pleased to discover how good it works and how it improved after some years.

Then something inside me triggered the idea to look it up for an alternative to Team Viewer without so many restrictions and with a better free version. After trying some alternatives to Team Viewer I have to recommend Anydesk as an excellent and simple to use tool. And the most important thing, you don’t have to install anything in your Linux, Mac or Windows computer for using it. The only thing that you have to do is run the executable and use the auto-generated code for connecting to the remote system. I felt very good for those features and currently this is the option which I use for giving some support to friends remotely and for connecting to my Surface Go desktop remotely from my desktop computer.

As you can see this is not an exahustive revision, or comparsion of feautrues of all those three tools. But at the end of the day most of them allow you to do the same things but with slightly different procedures. BTW, the killer feature for me is something that I’ve got from “join.me” in the past, I mean use a tool for remote desktop control without having to install anything in the server and neither in the client part. I didn’t talk about “join.me” because it eats all my resources when I run it, and they focused the tool as a meeting tool and this is not anything that I want. Those extra features killed IMHO the best things that tool had in the past.

TL;DR

The best option IMHO and for my use is Anydesk.

Enjoy it.

Sep 11

OBS Studio – cómo usar los perfiles, escenas y fuentes

Reading time: < 1 minute

Cada vez uso más OBS Studio y hace unos meses me decidí a sacarle todo el jugo a la herramienta. Pues bien, para ello me tuve que ir al manual para entender cual era la finalidad de los perfiles, las escenas y las fuentes. Para que no se me olvide registré este vídeo:

Jun 11

Nested byobu, re-assigning shortcuts

Reading time: 2 – 2 minutes

I’m a byobu user for a long time, I love it for many reasons. But this is just a quick tip for extreme users like me. I mean people who use byobu for local consoles with remote byobu sessions running on top of SSH, for instance.

When prefix key combinations has to be sent to the remote host we have to press “Control + a + a” and finally the command that we want to send to the remote systems. This is not comfortable many times. So, I modified my configuration file for changing the prefix when I want to send remote commands to the nested byobu.

This is going to work this way:

Control + a

    • as a prefix for local byobu session.

Control + b

    as a prefix for remote byobu session

Take a look on this screen capture where you can see byobu status bars stacked.

If you find useful the configuration that I described the only thing that you have to do is modify the configuration file: ~/.byobu/keybindings.tmux

unbind-key -n C-a 
set -g prefix C-a
set -g prefix2 F12
unbind-key -n C-b 
bind-key -n C-b send-prefix

I hope this is useful as it is for me.

May 31

Two new services on joor.net

Reading time: 2 – 3 minutes

Do not expect something exception, or may be anything that nobody else has. Both services are very common and widely available on Internet but I usually have issues when I try to use them.

This is the same reason because I created https://url.joor.net, my own short URL service. Maybe you are asking yourself about which are the next two service that I created for myself; but I exposed to everyone on the Internet.

Firstly I’m talking about a service that returns your public IP address mainly focused to be used from a shell console, but also available by web.

curl -L ip.joor.net

And it only returns your IP address as a plain text, allowing you to do things so useful as assigning the IP address to a variable. Of course, if you access with your web browser is it going to work perfectly to.

Finally, I want to reference a file sharing service also oriented on being used in the console, but it works OK when you use the browser. IMHO, the WUI (Web User Interface) is too much basic and it will be nice if it was more basic user oriented. But the simplicity of the API is the most powerful value of this service and which it makes a Swiss knife in the console. I’m not going to say anything else about the service try it by yourself.

transfer.joor.net

https://x.joor.net

Feel free of sharing your comments with me, thank you for your feedback. BTW, I maintain those services for my private use and I make them available publicly without any kind of warranty.

Mar 27

Inovaglobe Workfest Manresa

Reading time: 2 – 3 minutes

La semana pasada me invitaron a participar en un debate sobre transformación digital y sobretodo centrado en el futuro de la industria. Este debate estaba enmarcado en la primera edición de un evento llamado Workfest. El evento se celebró durante la mañana del día 19 en el Kursaal de Manresa. Un escenario fantástico para un evento lleno de vitalidad y un potencial excelente.

Desde aquí quiero felicitar a Esteve Pla y al equipo de Workfest Manresa por el grandísimo evento que organizaron, donde fueron capaces de atraer la atención a centenares de empresas tanto nacionales como internacionales. Realmente un trabajo fantástico para una primera edición.

Volviendo al debate en el que participe quiero destacar el altísimo nivel de los compañeros con los que compartí ese espacio. Empezando por el moderador Alexandre González, presidente y gerente de la Cambra d’Emprenedors i Empresaris. Siguiendo por Martina Font directora de Font Packaging Group, Jordi Arrufí que es el Managing Director del Mobile World Capital y Pol Baladas de seleactivitat.cat. Muy interesante la diversidad de currículums y de experiencias de los participantes del debate. Lástima no haber tenido más tiempo para entrar más a fondo en diferentes temas súper interesantes que se pusieron sobre la mesa, como por ejemplo, cómo debe ser la formación de los jovenes de hoy para la industria del mañana; o como atraer talento joven a la industria.

Antes de cerrar esta entrada desear toda la suerte del mundo a un evento tan necesario y potente como este. Ahora toca consolidarlo y hacerlo una cita obligada para el sector industrial de nuestro país.

Mar 26

IoT Stars

Reading time: 2 – 2 minutes

A finales de Febrero se celebró el Mobile World Congress en Barcelona, además del 4YFN en este contexto también se celebraron los premios IoT Stars que organizan dos grandes del mundo del IoT. Marc Pous de thethings.io y Rudy de Waele del IoT Council.

En el IoT stars se presentan diferentes proyectos innovadores que compiten entre ellos para ser reconocidos como el mejor proyecto de IoT del año. Pues bien, antes de la entrega de los premios me propusieron compartir algunas de mis reflexiones sobre el mundo del Internet of Things y así lo hice.

Realmente fué un honor poder colaborar en un evento con un ambiente tan familiar, con una audiencia llena de personas conocidas y que han compartido mercado conmigo los últimos cinco años.

Aprovecho este artículo también que fue un placer compartir escenario con Marc Pous, el gigante del IoT. Un señor que es muy grande como persona, tan grande o más como profesional del IoT y sobretodo que tiene un corazón todavía más grande.

Desde aquí un fuerte abrazo al mundo del Internet of Things.