Computing
Tip of the day: validating a Jenkinsfile from the CLI with HTTPie
An easily missed feature in Jenkins is the bundled linter for Jenkinsfiles.
While there are many examples about how to use it with cURL, I could not find any using HTTPie, which I find much more convenient in general than cURL. So, after some fumbling due to the little documented expectations of the validator, here is the solution showing how to validate a Jenkinsfile from the CLI:
Tip of the day: running Flagr Docker image on a M1 mac
After almost one year with an Apple Silicon macBook, I eventually got my first actual problem caused by the architecture : trying to deploy the Flagr Open Source feature flags service, the docker deployment failed like with an image error. The fix turned out to be fairly simple:
Parsing actual IANA language codes
Tip of the day: how to edit Ansible Jinja2 templates in JetBrains IDEs
How to edit Ansible templates in GoLand, PhpStorm, or other JetBrains IDEs: think outside of the box ! There is a free solution...
GoLand tip of the day: when Make run configurations don't find go
The problem
In a GoLand 2018.3 EAP run configuration, a Makefile run configuration finds thego
binary on macOS, but not on Ubuntu, causing make targets like this one to fail:
Simple enough to fix...
Lighthouse 3.0 is out: Drupal 8.5 has killer performance
As you may have noticed if you are a regular here, I just refreshed the theme on this site to a custom theme built on Bartik. And since Chrome had just been updated, I took the newly updated performance audit.
What more to say ?
MySQL tip of the day: getting rid of the results formatting on the CLI
The problem
When using MySQL from the CLI, the -e
flag comes in handy to execute MySQL commands directly in bash, like mysql -uroot -p -e "SHOW DATABASES;"
. Which gives nicely formatted output like:
I'm going to Drupal Europe and so should you
So DrupalCon Europe is out for 2018. But that does not mean a EU-level event does not exist, to bind the community beyond the specialization of DevDays, FrontEnd United, CxO, GovDays, and all the DrupalCamps. Drupal Europe is that event, and to support the community who wants to prove a large Drupal conference can reasonably happen after all the trouble the Drupal Association had with it, the best way it to register for the conference.
ASAP.
So join me there :-)
Tip of the day: Unfuddle DMP format and lesser-known git commands
While exporting a project from Unfuddle in order to import its issues to Jira, I took a look at the other files beyond backup.xml
and the media/
directory. Turns out that when Unfuddle provides you with a project backup, it includes the repositories in an undocumented (on their site, at least) format, under the dmp
file extension. Let's find out how to actually use these.