Ir al contenido

Blog

A chunk of me online

Notes on WordPress, Symfony, Linux, home automation and free software. Written from the trenches.

  • 3 min read

    Turning the door intercom into a smart intercom (and II)

    Several months ago I proposed turning my door intercom into a smart intercom by using an Asterisk IP PBX installed on a Raspberry Pi, and with an I/O hat, according to what I explained in a previous post. I managed to progress up to the point I already could pick up and hang the intercom, and open the door remotely……

    Read →

  • 6 min read

    My personal experience with COVID

    By the end of March I started to feel wrong with what seemed a sinusitis with a lot of mocus and fever.  My doctor prescribed antibiotics, and I spent a whole week taking them. I took April 1st and 2nd off from work because I still wasn’t feeling totally OK… On Monday April 4th I decided to go to the…

    Read →

  • 3 min read

    Turning the door intercom into a smart intercom (I)

    Keeping on with the hard task of turning my home into a smart home, I want to build a VoIP gateway for the door intercom. Using it, if the postman brings an Amazon parcel and rings the intercom I won’t have to rush down two floors of stairs (as my office is in the attic) to answer the intercom before…

    Read →

  • 1 min read

    Validating JWT Access Tokens in PHP using AWS API Gateway and Lambda Authorizers

    I’ve written an article for the Okta Developer blog about how to validate JWT Access Tokens using an AWS Lambda Authorizer written in PHP to secure access to an AWS API Gateway. It seems complicated, isn’t it? To write this article I had to make some R+D work, as it includes up-to-date pieces of information that cannot be found anywhere…

    Read →

  • 1 min read

    SQL Injection in PHP: Practices to Avoid

    I’ve written an article for the Okta blog about SQL Injection vulnerabilities in PHP and how to avoid them. You can check it here: https://developer.okta.com/blog/2020/06/15/sql-injection-in-php

    Read →

  • O Holy Night, Spanish version
    2 min read

    O Holy Night, Spanish version

    Recently, according my English listening abilities have improved, I’ve discovered the depth of some English and American Christmas Carols. In Spanish, most of the existing Christmas Carols can be summarized as: party, fiesta, fish which are drinking in the river, trotting donkeys, and other consequences related to happiness caused by God becoming a man. Only a few Christmas songs invite…

    Read →

  • 3 min read

    I want to automate my home lights, but nobody sells me what I need

    I’d like to automate my home. I’d like having all my electrical circuits centralized and remotely managed, and being able to turn on and off lights from outside home, or in a scheduled way. Pressing a button when exiting home so all the house lights turn off immediately would be very cool, and the perfect solution to my kids’ carelessness…

    Read →

  • 12 min read

    Can you license under the GPL a software requiring payments to work?

    Some days ago, in the local Spanish WordPress Slack, I kept an interesting conversation about if a WordPress plugin, licensed under the GPLv2, may include a piece of code that disables the plugin, totally or partially, if a valid activation code is not entered in the plugin configuration backend. That is: if GPL-licensed software can be comercialized under the freemium model. My…

    Read →

  • 1 min read

    Error when installing customized SELinux policy in CentOS 7 Core

    If, in CentOS 7 Core, when you try to install a customized SELinux policy like the ones generated with # grep sshd /var/log/audit/audit.log | audit2allow -M test_new_policy “` you get this error: # semodule -i test_new_policy.pp libsemanage.semanage_exec_prog: Child process /sbin/load_policy did not exit cleanly. (No such file or directory). libsemanage.semanage_reload_policy: load_policy returned error code -1. (No such file or directory).…

    Read →

  • 1 min read

    Tongue-twister

    This is a little tongue-twister composed by my daughter and me today while having dinner. The hare of the heart in the hair on the head had a ham in the hand and went home with a hen. What in hell did they hum? Did they hiss in the hall? No, the hen and the hare with the heart on…

    Read →

About me

David Marín Carreño, freelance developer in Cobeña (Madrid). WordPress, Symfony, Linux and home automation.

Archive

Verified on Toptal since 2015.

TOP 3% TALENT

Vetted by Hire me