200 Linux commands for everyday life

Written on September 20, 2020

Picture from Unsplash, by @lazycreekimages
Picture from Unsplash, user Michael Dziedzic, @lazycreekimages

For a long time I had the idea of gathering somewhere centrally the most common Linux commands in these years of technology work. Looking back, I see that my relationship with the software in a professional way (I was previously a trainee) began in 2007, about thirteen years ago. Since then, I have always been within Linux environments and above all, in Ubuntu / Debian in particular. In some moments I have had to manage CentOS / RHEL and in some laptops I still have Fedora. But Debian / Ubuntu / L-Ubuntu were always my options (and still are).

Read More

Drupal & DevOps(I) - Provisioning with Terraform

Written on August 31, 2020

Picture from Unsplash, by @gmmoreno
Picture from Unsplash, user Gustavo Moreno, @gmmoreno

During this summer holiday, strange and so different, I tried to keep myself entertained with a thousand technical things (in addition to the daily needs of home and family) that I had on the TO*DO list. For example, I’ve been testing the Julia programming language to familiarize myself with the syntax and its approach. Or I’ve been studying the internal architecture of arrays built in C language within PHP, and I have also used tools I wanted to know, like in this case: Terraform.

Read More

Patching Drupal modules with Composer

Written on July 17, 2020

Picture from Unsplash, by @tony_wanli
Picture from Unsplash, user Tony Wan, @tony_wanli

I was thinking about I could write my as my little monthly post in this sketchbook just when I saw a new comment coming -through email notifications- to my main website, The Russian Lullaby in one of my last articles about migration debugging in Drupal. Specifically, the comment is a query about patching a Drupal module, since the article includes a section where the module has to be patched in order to work fine (at least earlier, for certain versions prior to the last one). So I thought I’d publish a little post about Drupal patches applied from Composer.

Read More

Drupal Fast Tips (V) - Placing a block by code

Written on June 24, 2020

Picture from Unsplash, by @xavi_cabrera
Picture from Unsplash, user Xavi Cabrera, @xavi_cabrera

Today I would like to type a little bit about a technical exercise I did the other day: I played to activate and locate Drupal blocks in themes avoiding the site - building, just with code. So I’m going to show some ideas related with Forms, Blocks, Themes and the Config system of Drupal. This will be valid for Drupal 8 and Drupal 9. Let’s go.

Read More

Drupal Snippets (II) - Creating nodes by code

Written on May 17, 2020

Picture from Unsplash, by @manuelsardo
Picture from Unsplash, user Manuel Sardo, @manuelsardo

Last week I needed to develop some functionality for a project and I did something I hadn’t implemented for a long time: I had to create nodes through programming and so I realized some things that had been deprecated at this point, So I take this opportunity to publish a simple snippet about this.

Read More

Drupal Snippets (I) - Stop submit from jQuery

Written on April 26, 2020

Picture from Unsplash, by @jodaarba
Picture from Unsplash, user Jose Aragones, @jodaarba

I want to make a short and quick publication (I promise), just with a snippet, a piece of code that I have used recently and I wanted to share the idea: How to prevent that after a click on the main button of a Drupal form (based on Form API) it reloads again, stopping the process.

Read More

Drupal Fast Tips (IV) - Xdebug, DDEV and Postman

Written on April 19, 2020

Picture from Unsplash, by @timothycdykes
Picture from Unsplash, user Timothy Dykes, @timothycdykes

Last Friday I had to perform several code debugging to review several use cases based on the interconnections between a data bus and a Drupal installation. It has been a long time since I debugged REST and in this time, I have gone from using Drupal in a custom LAMP / Docker environment to working only and exclusively with DDEV based Drupal environments.

Read More

Thinking about Drupal Migrations(II) - Examples

Written on March 17, 2020

Picture from Unsplash, by @emileseguin
Picture from Unsplash, user Émile Séguin @emileseguin

As I said in the previous post, during these months I will be playing with migrations, preparing some cases for a future (I hope) book. Well, during these days of confinement, I intend to continue with small articles around here to show experiences related to migrations.

Read More

Thinking about Drupal Migrations(I) - Resources

Written on February 25, 2020

Picture from Unsplash, by @inmasantiago
Picture from Unsplash, user Inma Lesielle @inmasantiago

I am working on notes for a draft that will be a book about migration processes made with Drupal and its Migrate API. It is expected to be released in June 2020 and the work of collecting, experimenting and articulating the content is being quite extensive. As there are still some months left for the launch, in order not to lose the mental sanity and to be able to give partial sense to these tasks, I have thought to publish here some small posts derived from the working notes.

Read More

Drupal Fast Tips (III) - The Magic of '#attached'

Written on January 29, 2020

Picture from Unsplash, by @gaspanik
Picture from Unsplash, user Masaaki Komori @gaspanik

Since a few days ago, I’m preparing a tutorial about the integration of JavaScript in Drupal that will be released soon (it will be written in Spanish in Medium). On the other hand, recently I was preparing some Drupal patches for the portability to Drupal 8 of a small contrib module, the humans.txt. Okay, but what do the two activities have in common?…

Read More

Books/ Local Web development with DDEV explained

Written on December 30, 2019

Picture from Unsplash, by @specialdaddy
Picture from Unsplash, user Janko Ferlič @specialdaddy

I recently acquired the book “Local web development with DDEV explained” written by Mike Anello and I’d like to share my thoughts on that here. So, Do you develop projects based on Drupal? do you know the DDEV tool for building environments? these may be important motivations, but there are more reasons why Mike Anello’s book could be interesting for you…

Read More

Drupal Backend Workshop in Drupal Day Spain 2019

Written on November 26, 2019

Picture from Unsplash, by @ryanhafey
Picture from Unsplash, user Ryan Hafey @ryanhafey

I write these lines (or I start them) just as I return from Drupal Day Spain 2019, which this year took place in the city of Zaragoza. I’m typing while I recreate in my head various anecdotes, details, conversations and above all, learning.

It has been a very enriching meeting and I liked it very much from a technical point of view, but now I want to write mainly about what has been my personal contribution to the encounter: an introduction workshop to the backend of Drupal 8.

Read More

Random commands for your daily life with Drupal

Written on October 30, 2019

Picture from Unsplash, by @jamie452
Picture from Unsplash, user Jamie Street @jamie452

Recently I returned to the habit of asking myself every morning “What did I do yesterday?” just at the beginning of the day, in time to find the connection with the sequence of tasks of the present day. Among the questions, to contextualize myself I used the command history and history |grep whatever again to extract by console the history of instructions of the previous day…and so I have been compiling some commands used daily.

Read More

Drupal Fast Tips (II) - Prefilling fields in forms

Written on September 27, 2019

Picture from Unsplash, by @chadwiq
Picture from Unsplash, user Chad Walton @chadwiq

Today I would like to play a little with the forms in Drupal 8 , taking advantage of them and walking around interesting concepts such as the injection of services (and services by themselves) or dynamic queries to database. That’s why today I’m thinking about a short and didactic exercise that integrates everything. If you are interested in Drupal 8 forms, the services and the Database API, read on…

Read More

Drupal Fast Tips (I) - Using links in Drupal 8

Written on August 15, 2019

Picture from Unsplash, by @osmanrana
Picture from Unsplash, user Osman Rana @osmanrana

The first thing I need to clarify is that we are not going to talk about “using links” in Drupal 8. We’re actually going to talk about how to build custom links in Drupal 8. Well, I wanted to write about this but because of the character limitation of the title string I used that form. So keep reading if you want to know how to build links programmatically in Drupal 8. Do you follow me?…

Read More

Docker, Docker-Compose and DDEV - Cheatsheet

Written on June 9, 2019

Picture from Unsplash, by @markusspiske
Picture from Unsplash, user Markus Spiske @markusspiske

We know that for some years, working with Docker Engine has become a MUST. From our ability to define specifications(Dockerfiles), configure autobuilds in the cloud to generate images from our repositories(Dockerhub), run images and containers(Docker), connect containers and relate them(Docker-Composer) or deploy container networks( Docker Swarm) … on this depends the agility that we can give to our daily work.

Read More

OpenEuropa-The European Commission in Drupal 8

Written on May 21, 2019

Picture from Unsplash, by @peterlaster
Picture from Unsplash, user Pedro Lastra @peterlaster

“European Commission DIGIT initiative fostering open source adoption in consolidating the European Institutions web presence”…ummm what is this? I want to share -briefly- the process of installing a platform based on Drupal 8.

Read More

Development environments for Drupal with DDEV

Written on May 18, 2019

Picture from Unsplash, by @heapdump
Picture from Unsplash, user Patrick Lindenberg @heapdump

I always (or almost always) had worked on Drupal projects with the same stack of versions, so I only had one environment set up. Then, I started to have different versions (Drupal 6.x, Drupal 7 … 8) at the same time for diverse projects and then I started playing with Docker. But now I have discovered ddev and a new game has started.

Read More

JavaScript Fast Tips (II) - Styles in console output

Written on April 6, 2019

Picture from Unsplash, by @danielwatsondesign
Picture from Unsplash, user Daniel Watson @danielwatsondesign

The previous Tuesday I was practicing with JavaScript and using console.log() to show data (nothing serious, if it was important I had used breakpoints, of course :-P), and in an outflow of extensive information, I remembered a nice way to organize it visually: You could give color and shape to the information displayed through console.log().

Read More

JavaScript Fast Tips (I) - Data with console.table()

Written on March 23, 2019

Picture from Unsplash, by @denisolvr
Picture from Unsplash, user Denis Oliveira @denisolvr

I would like to write down a quick and little trick to get information from an HTML - based web view through Javascript. It’s a useful tip for those who work daily with web technologies and want to do element listings or maybe locate a specific element within the DOM

Read More

Three tips working with Drupal

Written on September 13, 2017

Picture from Unsplash, by @markusspiske
Picture from Unsplash, user Markus Spiske @markusspiske

I have been working with Drupal 7 recently and I have done configuration and development tasks for projects based on Drupal 7: projects of work (consultancy) and other tasks for Drupal modules on which I am working in my free time. I would like to make a collection of snippets and ideas that I have implemented recently (some of which I have not done for a long time) and to register here. Maybe it will help someone at some point who needs to do the same things.

Read More

Drupal Sevilla, a group is moving

Written on June 30, 2017

Picture from Unsplash, by @tegan
Picture from Unsplash, user Tegan Mierle @tegan

This week the local group Drupal Sevilla -the community of people interested in Drupal living and working from Seville (Andalusia, Spain)- has met and we have done a retrospective on the cycle of activities developed to date, taking advantage of the last appointment before Of summer to review and prepare ideas for the new course that will begin in September.

Read More

First steps with the P5.js library

Written on June 16, 2017

Picture from Unsplash, by @davideragusa
Picture from Unsplash, user Davide Ragusa @davideragusa

A few days ago I attended a talk given by Esperanza Moreno @mimina, architect, researcher and developer. She’s developing applications that allows connect musical files (metadata) with renderings and musical remixes, a visual and auditory show called “Antropoloops”, a quite powerful cultural project. See their website

Read More

Hello World!

Written on May 10, 2017

Picture from Unsplash, by @slavab
Picture from Unsplash, user Slava Bowman @slavab

Hi to everyone! I’m working on a personal website for technical stuff, out of the corporative site and other blogs where I write content in spanish. I have found this piece of software with easy setting and deployment options from Github, from a fork of a repository for light websites with Jekyll and some gems over Ruby, so I’ll try. A bit of Vim, Git in local and push to Github.

Read More