Ir al contenido principal

Entradas

When “Pre-Installed OpenWrt” Isn’t Plug-and-Play

  Lessons Learned After Finally Configuring a Raspberry Pi CM4 Mini Router (Bought in 2022) Product Mini Router built with Raspberry Pi Compute Module 4 Dual Gigabit Ethernet NICs 4GB RAM / 32GB eMMC Pre-installed OpenWrt Compact form factor, fanless, low power Background: A Device That Waited Its Turn I bought this device back in 2022 . At the time, it looked like the perfect small router: Raspberry Pi Compute Module 4 Dual Ethernet ports OpenWrt already installed No SD card required thanks to eMMC But like many homelab projects, it ended up sitting on a shelf . Fast forward to today — with more networking experience, a clearer home network plan, and a real need for a flexible router — I finally decided to configure it properly. That’s when the real journey started. What I Expected (Even in 2025) Even knowing this wasn’t a consumer router, I still expected: Plug WAN into my upstream router Plug LAN into my laptop Access 192.168.1.1 Hav...

When “Pre-Installed OpenWrt” Isn’t Plug-and-Play

  Lessons Learned After Finally Configuring a Raspberry Pi CM4 Mini Router (Bought in 2022) Product Mini Router built with Raspberry Pi Compute Module 4 Dual Gigabit Ethernet NICs 4GB RAM / 32GB eMMC Pre-installed OpenWrt Compact form factor, fanless, low power Background: A Device That Waited Its Turn I bought this device back in 2022 . At the time, it looked like the perfect small router: Raspberry Pi Compute Module 4 Dual Ethernet ports OpenWrt already installed No SD card required thanks to eMMC But like many homelab projects, it ended up sitting on a shelf . Fast forward to today — with more networking experience, a clearer home network plan, and a real need for a flexible router — I finally decided to configure it properly. That’s when the real journey started. What I Expected (Even in 2025) Even knowing this wasn’t a consumer router, I still expected: Plug WAN into my upstream router Plug LAN into my laptop Access 192.168.1.1 Hav...

Modern Architecture for Native Apps with AWS Backend: A Practical Guide

Introduction Designing a mobile app today goes far beyond building a beautiful interface. Native apps — whether for iOS or Android — need secure authentication, user role management, real-time communication with the backend, and scalable infrastructure to support growth. In this post, I’ll walk you through a clean and modern architecture to connect native mobile apps to a robust backend on AWS. The architecture is modular, scalable, and aligned with best practices for security and performance — without relying on overly complex tools. Why it matters: apps today are more than just UI A production-grade mobile app often includes: User login (email, Google, or others), Differentiated access for multiple roles (e.g., user vs admin), Secure token-based communication, A backend capable of handling business logic and data, Data storage, asset management, and scalable APIs, Compliance with Google Play and App Store requirements. All of these require a backend architecture ...

Understanding Liveness, Readiness and Startup Probes in Kubernetes

 This is a small article about understanding the liveness, readiness and startup in kubernetes.  There's good explanation in the kubernetes documentation: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ This video also explains well the process: https://www.youtube.com/watch?v=aTlQBofihJQ But I wanted to understand it in a practical way. So I have this demo: https://github.com/DiegoTc/guest-book-js-docker/tree/Running-App-Version-1 It's a simple application running on a kubernetes cluster. https://github.com/DiegoTc/guest-book-js-docker/blob/Running-App-Version-1/argo/deployment.yaml apiVersion: apps/v1 kind: Deployment metadata: name: chat-ui spec: replicas: 1 revisionHistoryLimit: 3 selector: matchLabels: app: chat-ui template: metadata: labels: app: chat-ui spec: containers: - image: diegotc/guestbook:20230803-064434 imagePullPolicy: Alwa...

La Gran Estafa por John Grisham

Este libro lo vi en el facebook de la librería y me llamo mucho la atención, pensé por un momento que trataba de estafas de casino, o robos de bóvedas o algo a lo que Hollywood nos tiene acostumbrado (Ocean 11 o The Italian Job). Estaba equivocado, no tiene nada que ver con esto. Narra la historia de 4 companeros de la universidad: Mark, Todd, Zola y Gordy, como estan estudiando derecho en una universidad de bajo renombre, y se están dando cuenta que van a concluir sus estudios y no se sienten preparados. Entre los cuatros tienen casi 1 millón de dolares americanos en deuda. Provocando que uno de ellos decida saber como se dejo tentar por ese mundo perfecto de obtener un préstamo y después iba a tener un excelente trabajo. Es cuando descubre que a pesar de no ser ilegal, es un engaño total, ya que estaban en una fabrica de hacer titulos universitarios y no garantizan, absolutamente nada. Solo que tenían que pagar la deuda.  Se los r...

Llego el momento de pagar el tiempo de gracia a los bancos

Estamos en el ultimo día del mes de Mayo, y este Lunes inicia el mes de Junio. Si usted fue de los "beneficiados" por los bancos y no le ha tocado pagar ninguna cuota estos tres meses este articulo te puede interesar.  Primero, presentare un extracto del comunicado de  AHIBA - Asociación Hondureña de Instituciones Bancarias donde nos ayudara a entender esta "ayuda" y que tenemos que hacer para no ser afectados. Este comunicado fue publicado en el sitio web y redes sociales de AHIBA el 8 de Abril del 2020. Y el punto que nos interesa es el inciso 2. Este período de gracia, que inició a partir del 15 de marzo podrá extenderse hasta el 30 de junio de 2020, y permite diferir los pagos que se vencen dentro de estos meses para ser pagados en los meses sucesivos. Las cuotas no pagadas y el capital adeudado continúan devengando intereses corrientes. Mucha atención con lo marcado en rojo.  Esta es la suposición que muchas personas han tenido en Honduras. Suposición Con est...

Managing dynamic inventory in private subnets using bastion jump box

Managing dynamic inventory in private subnets using bastion jump box The title of post is quite large, but is something I encountered issues in the last weeks. I had a VPC in AWS, creating x amount of instances in a private network, and was quite complex to manage this instance using static inventory files. So I will explain you how to manage this problem with Ansible . Before continue, I want to say these articles are really good and can help you with this issues. Dynamic inventory Ansible (behind a jumpbox / bastion ) SSH jump hosts on CircleCI 2.0 So you will be asking, if these articles are so good, why are you writing them again? Easy, I’m doing this in Gitlab CI, and I suppose other CI will encounter similar issues. It’s not possible to connect to the instances using the instructions above. First Step We get our inventory in a dynamic way. For this we will use the inventory scripts. We need to modify the ec2.ini file with uncommenting the vpc...

Ansible using plugins for dynamic inventories

This is a small post about how to use inventory plugins in Ansible. If you are looking the script way I recommend to read this article: http://gloriasilveira.com/setting-up-ansible-for-aws-with-dynamic-inventory-ec2.html It explains really good this or you can watch this video: https://www.youtube.com/watch?v=LnbqO1kTPqE&t=6s But if you’re looking to use inventory this article can help you. First of all, why should I used inventory if all over the internet they’re using the python scripts? Well, Ansible recommends it: Inventory plugins take advantage of the most recent updates to Ansible’s core code. We recommend plugins over scripts for dynamic inventory. You can write your own plugin to connect to additional dynamic inventory sources. https://docs.ansible.com/ansible/latest/user_guide/intro_dynamic_inventory.html The actual ansible guide is quite good, but there was a step that got me confused, probably my english isn’t so good and I didn’t understood it. We need to ena...

Display GIT branch in the terminal

I encounter with this issue how to make possible to display my GIT branch in the console. I found the answer in ASK UBUNTU:  https://askubuntu.com/questions/730754/how-do-i-show-the-git-branch-with-colours-in-bash-prompt Step 1 nano ~/. bashrc Step 2 Add the following code at the end of the line # Show git branch name force_color_prompt = yes color_prompt = yes parse_git_branch () { git branch 2 > / dev / null | sed - e '/^[^*]/d' - e 's/* \(.*\)/(\1)/' } if [ "$color_prompt" = yes ]; then PS1 = '${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[01;31m\]$(parse_git_branch)\[\033[00m\]\$ ' else PS1 = '${debian_chroot:+($debian_chroot)}\u@\h:\w$(parse_git_branch)\$ ' fi unset color_prompt force_color_prompt Step 3 Reload the file source ~/. bashrc

Pre order your Super Smash Bros. Ultimate for Nintendo Switch

Are you fan of Super Smash Bros! Don't wait until the last minute, you can pre order you Super Smash Bros Ultimate here This new game has stages and fighters are joined by the combined rosters of every past Super Smash Bros game. If you buy it, you will be enjoying this Limited Time Offer: Piranha Plant Playable Fighter. Buy Super Smash Bros. Ultimate and register your game with My Nintendo by 11:59 PM on Jan. 31, 2019 and get Piranha Plant in your game for free.

Access to AWS Postgres instance in private subnet

I have been working with AWS in the last days and encounter some issues when using RDS.  Generally when you're working in development environment you have setup your database as Publicly accessible and this isn't an issue. But when you're working in Production. So we place the Amazon RDS database into a private subnet. What we need to do for connecting to the database using PgAdmin or other tool? We're going to use one of the most common methods for doing this. You will need to launch an Amazon EC2 instance in the public subnet and then use it as jumping box. So after you have your EC2, you will need to run the following command. See explantion below After this, you will need to configure your PgAdmin. The host name will be your localhost, the port is the same you define in the above command. Maintenance database will be your DB name and the username you have for connecting. Hope this helps you connect to your databases.

Getting Docker Syntax In Gedit

I have been working with docker in the last days, and encounter the syntax issue with gedit. Just pure plain text. So make a small search and found an easy way for fixing this. I found Jasper J.F. van den Bosch repository in GitHub and found the solution for this simple problem. We need to download the docker.lang file, available here:  https://github.com/ilogue/docker.lang/blob/master/docker.lang After that, you go to the folder you save the file and do the following command. sudo mv docker.lang /usr/share/gtksourceview-3.0/language-specs/  If this doesn't work you can try the following: sudo mv docker.lang  ~/.local/share/gtksourceview-3.0/language-specs/ And that's all! Screenshot of gedit with no docker lang Screenshot of gedit with docker lang

Installing Zsh in Ubuntu

So I decided to give it a try to Zsh I really like the way it shows me the information at CLI and really useful when using git. I didn't have to many issues for installing it. Just the following commands and it works. sudo apt-get install zsh sudo apt-get install git-core In case you encounter any issue this article can help you. Earn free bitcoin

Learning easeljs Day#4

So, I decided that I wanted to practice and learn my JavaScript skills doing video games. I wasn't sure with what I should begin, as I have try this several times and fail. So I found this library easeljs . It's really easy to use it. This post and the future ones, are to share, part of the code and explain some of the things I had issues to manage, probably this can help somebody. See the Pen Running-Scripts V2 by Diego ( @diegotc ) on CodePen . function init() { stage = new createjs.Stage("demoCanvas"); circle = new createjs.Shape(); spriteSheet = new createjs.SpriteSheet({ framerate: 5, "images": ["man2_rt1.gif","man2_rt2.gif","man2_Up_rt1.gif","man2_Up_rt2.gif","man2_Down_rt1.gif","man2_Down_rt2.gif"], "frames": {"regX": 16, "height": 32, "count": 6, "regY": 0, "width": 32}, ...

La credibilidad de los medios

La credibilidad de los medios esta en juego en el mundo entero, no solo en Honduras. El discurso que los medios son comprados y solo defienden los intereses de ciertos grupos de poder, se escucha  a través del globo terráqueo. Desde el país del Norte, Estados Unidos, con un presidente critico a los medios como ser Donald Trump y su celebre frase del 2017 "You're Fake News", en Colombia los medios publicaban que el Si iba a ganar, en El Reino Unido se encargaron de decir que el Brexit nunca iba a ganar, y se equivocaron. Pero que esta sucediendo realmente, porque tantas equivocaciones en los medios. Hay muchas respuestas respecto a esto, y esta es mi opinión. Los medios de comunicación son un negocio, y el objetivo de todo negocio es hacer dinero. Los medios de comunicación se pasaron de listos con la bandera de la libertad de expresión, y se subieron a un podio que eran intocables, que cualquier critica que se les realizaba era un atentado contra la libertad de expr...

La ultima alegría de los sampedranos del 2017

El año 2017 esta por terminar, y para la ciudadanía de la capital industrial ha sido un año singular. La ciudad se enorgullecía de que en nuestro Aeropuerto Ramon Villeda Morales, íbamos a tener el único vuelo directo entre Europa y Honduras. Finalmente se empezaba a ver obras de infraestructura concluyendo en el tiempo establecido. Se podían observar los cruces de cebra en las intersecciones de la tercera avenida y primera calle, aparte que los conductores empezaron a respetarlos, y no digamos los semáforos peatonales que lindo es ver como la ciudadanía espera su momento para cruzar por el lugar que le corresponde. Parecía que este 2017 iba a ser un año de alegrías para la ciudad, y que no iba a suceder  algo que lo podría devastar esas pequeñas alegrías que nos hacían olvidar todas esas políticas de gobierno provenientes de la capital, que han perjudicado al  territorio nacional y no digamos a la ciudad que produce mas del 40% del PIB del país . Llegaban las eleccio...

Que buscaron los hondureños en Google en el 2017

Se han preguntando que buscan los catrachos en Internet? Les traemos un resumen de las busquedas de este 2017 en Honduras.

Los burgueses catrachos

Todo Honduras recordara como las elecciones del 2017 como ser una de las elecciones mas polémicas de su historia democrática. La historia se repetía y traía recuerdos de los años sesenta y setenta donde el fraude electoral era descarado y de esta manera se seleccionaban los presidentes. Pero este articulo no discutiremos eso,  al contrario hablaremos de la burguesía catracha. Cuando hablamos de la burguesía hondureña, no hablamos de las familias de origen árabe palestino conocidos en Honduras como los famosos "turcos" o las familias judías o las pocas familias de descendencia criolla adineradas que han quedado en nuestro territorio. No hablamos de estas familia, ellos no son los burgueses. Ellos son la élite del país, ellos están en otro estatus sociales. Los burgueses catrachos, son ese 30% del pan que vive otra realidad, pero que su burbuja se encontraba en problemas, con un gran aumento de precios a la canasta básica, aumento a los impuestos y con problemas de segurida...

Elecciones en Honduras, inicia el tercer acto

Las elecciones en cualquier del país de primer mundo son eventos que ocurren cada 4 o 6 años, dependiendo de las leyes de dichos países, y lo normal es que los críticos se extiendan hasta una semana discutiendo sobre las elecciones, pero no debaten si el candidato x gano o perdió. Sus deliberaciones son porque el candidato x perdió las elecciones, o porque el candidato y gano. Es raro que lleguen a pasar 48 horas y que el perdedor no acepte la derrota, y cuando lo hace, da un discurso y el mensaje final es acepto lo derrota y estoy dispuesto ayudar al nuevo presidente para el bienestar de nuestro país. Para nosotros en latinoamerica, esa manera de presentar los resultados son utopías que solo logramos ver en televisión y en las redes sociales. Esta es una historia ya muy conocida en la región, pero con diferentes personajes, pero misma trama. Son como las telenovelas mexicanas que aparecieron en cadena nacional a finales del siglo pasado, que era actividades recreativas en familia qu...

Install Visual Fox Pro in Ubuntu

Don't ask why I need visual fox pro, but if you encounter this issue like I did and find this nice error. You need to install the Microsoft Visual Fox Pro Libraries, you can download it from here . Hope this helps you Thanks to EZY Solutions for sharing their solution