Related Posts
How to run your Kotlin gradle built app from the command line
So you build your Kotlin app, you went through the trouble of creating a build.gradle script that you build with gradle assemble this outputs a a “build/libs/kotlin.jar” .jar file, but you have no clue how to run your Kotlin code from the command line. Doing it by hand with “java -cp ” is too much […]
PHP, ordenando un arreglo de Objetos, y utilizando funciones dentro de funciones.
No fue hasta que programe en Python que me habia pillado que podia definir funciones dentro de funciones en PHP. Hoy tuve que arreglar un defecto en el home de wedoit4you.com del cual algunos bloggers se estaban aprovechando para permanecer en el home. Los articulos aparecen ordenados por fecha de publicacion, y algunos estaban publicando […]
How to build your Docker image using the same Dockerfile regardless of the host architecture
Problem If you are now using docker on a Mac M1 (arm64 platform), you don’t want to use amd64 as the architecture for your Linux Images. You could have 2 lines on your Dockerfile and comment each one depending on where you’re building the image Dockerfile # Building on Apple Silicon host FROM –platform=linux/arm64 ubuntu:20.04 […]