Tuesday, February 17, 2026

QGIS

[1] https://qgis.org/resources/installation-guide/#debian--ubuntu

 

Shapefiles

[1] Perú https://www.geogpsperu.com/2014/03/base-de-datos-peru-shapefile-shp-minam.html

 

Wednesday, February 11, 2026

Gimp Horizontal Flip

 Automate  Horizontal flip by command line single and secure

First:

#!/bin/bash

for f in "$@"; do
    # Extract path, filename, and extension
    DIR="$(dirname "$f")"
    FILE="$(basename "$f")"
    NAME="${FILE%.*}"
    EXT="${FILE##*.}"

    OUTPUT="$DIR/${NAME}_flipped.$EXT"

    gimp -i -b "(let* (
      (image (car (gimp-file-load RUN-NONINTERACTIVE \"$f\" \"$f\")))
      (drawable (car (gimp-image-get-active-layer image)))
    )
    (gimp-item-transform-flip-simple drawable ORIENTATION-HORIZONTAL TRUE 0)
    (gimp-file-save RUN-NONINTERACTIVE image drawable \"$OUTPUT\" \"$OUTPUT\")
    (gimp-quit 0)
    )"
done

Second:

#!/bin/bash

for f in "$@"; do
    DIR="$(dirname "$f")"
    FILE="$(basename "$f")"
    NAME="${FILE%.*}"
    EXT="${FILE##*.}"

    OUTPUT="$DIR/${NAME}_flipped.$EXT"
    TMP="$(mktemp --suffix=".$EXT")"

    # Run GIMP flip
    gimp -i -b "(let* (
      (image (car (gimp-file-load RUN-NONINTERACTIVE \"$f\" \"$f\")))
      (drawable (car (gimp-image-get-active-layer image)))
    )
    (gimp-item-transform-flip-simple drawable ORIENTATION-HORIZONTAL TRUE 0)
    (gimp-file-save RUN-NONINTERACTIVE image drawable \"$TMP\" \"$TMP\")
    (gimp-quit 0)
    )" >/dev/null 2>&1

    # Check result
    if [ $? -eq 0 ] && [ -s "$TMP" ]; then
        mv "$TMP" "$OUTPUT"
        echo "✔ Flipped: $OUTPUT"
    else
        echo "✖ ERROR flipping $f"
        rm -f "$TMP"
    fi
done
 

 

Monday, February 09, 2026

Alternatives to overleaf

 

[1] https://typst.app/pricing/ 

[2] https://app.inscrive.io

[3] Using LLM https://prism.openai.com



References:

[1] https://inscrive.io/articles/overleaf-alternatives

 

 

Alternatives to coding using LLMs


[1] GLM-4.7 https://chat.z.ai/   (too much time/wrong answers)

 

Sunday, February 01, 2026

OSE SUNAT

Nubefact

[1] https://www.operador.pe/registro 

[2] https://probar-xml.nubefact.com/

[3] xml examples https://drive.google.com/uc?id=1F5Tk3Wo23bNHcskf7PuPEjyZeU8q3Kwk&export=download&authuser=0

Android on docker

 

A minimal and customizable Docker image running the Android emulator as a service.

https://github.com/HQarroum/docker-android

Friday, January 30, 2026

Chrome disable keyring prompt

 Add --password-store=basic to the end of the command line. 

google-chrome-stable --password-store=basic.

Thursday, January 29, 2026

Debug on Firefox

 Disable timers on current web page

in console write the following command

let id = setTimeout(() => {}, 0); while (id--) { clearTimeout(id); clearInterval(id); } 

 

Unminify JavaScript code

https://unminify.com/

QGIS

[1] https://qgis.org/resources/installation-guide/#debian--ubuntu   Shapefiles [1] Perú https://www.geogpsperu.com/2014/03/base-de-datos-per...