Tuesday, May 12, 2026

OS Emulation on Ubuntu 20

 

 

sudo apt update && sudo apt install qemu-system-x86

 

# Create a 1GB disk image 

qemu-img create -f qcow2 win95.qcow2 1G

qemu-img create -f qcow2 win95.qcow2 500M #500MB

 # Run

qemu-system-i386 -m 64 -cpu pentium \ -drive file=win95.qcow2,format=qcow2 \ -net nic,model=pcnet -net user \ -soundhw sb16 \ -vga cirrus \ -cdrom /path/to/windows95.iso \ -boot d

#My command

$ qemu-system-i386 -m 64 -cpu pentium -drive file=win95.qcow2,format=qcow2,index=0,media=disk -drive file=./isos/W95_FULL_AR.iso,index=1,media=cdrom -fda ./isos/Windows95a.img -boot c -vga cirrus

 

 

Resources:

https://archive.org/  #Locate isos


 

Friday, May 08, 2026

Latex editor tools

 

[tex to image] https://www.bruot.org/tex2img/

https://latexeditor.lagrida.com/  #offline 

[eq image to tex] https://latexconvert.com/

Sunday, May 03, 2026

Image Flip to use on nemo

 

code in python for flip horizontal images:

from PIL import Image
import os
import sys

def flip_horizontal(input_path):
    # Split filename and extension
    base, ext = os.path.splitext(input_path)
    
    # Create output filename
    output_path = f"{base}_flipped{ext}"
    
    # Open image
    with Image.open(input_path) as img:
        # Flip horizontally
        flipped = img.transpose(Image.FLIP_LEFT_RIGHT)
        
        # Save result
        flipped.save(output_path)
    
    return output_path


# Example usage
if __name__ == "__main__":
    
    if len(sys.argv) < 2:
        print("No input files provided.")
        sys.exit(1)

    for input_image in sys.argv[1:]:
        try:
            output_image = flip_horizontal(input_image)
            print(f"Saved: {output_image}")
        except Exception as e:
            print(f"Error processing {input_image}: {e}")

Friday, May 01, 2026

Mobile development tools

Mobile development is the process of creating software applications for smartphones, tablets, and other mobile devices, primarily focusing on the Android and iOS platforms.

[1] https://flutter.dev/development/mobile  #framework/compiler for make apk

[2] https://dartpad.dev/  #preview code

Thursday, April 23, 2026

Alternative pdf books

 

https://welib.org

https://annas-archive.gl

https://z-lib.gd/

Thursday, April 09, 2026

3D blender resources

Step by step https://cgian.com/category/blender/

 

https://docs.google.com/presentation/d/1R9SXecAUshzz8HeN6VCLPUHpUJVBhTcMfQr0WIyszx4/edit?usp=sharing

 

Tuesday, March 31, 2026

Firefox - Disable You are sharing entire screen

 

 

about:config

privacy.webrtc.legacyGlobalIndicator

set to false (+add if not exist)  

privacy.webrtc.hideGlobalIndicator

set to true (+add if not exist)  

Friday, March 27, 2026

Jupyter issues

pip install notebook
jupyter notebook


pip install jupyterlab
jupyter lab


pip install voila
voila

 

Upgrade to nodejs 20/22

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo bash -
sudo apt-get install -y nodejs

 
curl -fsSL https://deb.nodesource.com/setup_22.x | sudo bash -
sudo apt-get install -y nodejs


References:

[1] https://jupyter.org/install

Saturday, March 07, 2026

Kazam issues

 Kazam in ubuntu 20 does not show box when you choose area for screen capture

 

sudo add-apt-repository ppa:sylvain-pineau/kazam
sudo apt update
sudo apt install kazam
 

$ kazam --version        #works
kazam 1.5.3 'NX-72307'

 

Friday, February 20, 2026

AI Remove background

 Online tools

[1] work in private space (20c/day) https://ezremove.ai/

[2] Good for small images https://www.remove.bg/upload

[2] Average https://removal.ai/upload/

[3] Average https://snapbg.ai/upload


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

 

Monday, February 16, 2026

Terminal code assistant

LM Studio [2]

chmod +x LM-Studio-*.AppImage
./LM-Studio-*.AppImage

 

Ollama on TUI

curl -fsSL https://ollama.com/install.sh | sh

ollama --version

ollama run qwen2.5-coder:1.5b

 

Resources:

 

[1] Opencode https://opencode.ai/download 

[2] LM Studio AppImage https://lmstudio.ai/

 

 

 

 

 

 

 

 

Winamp on Web

 

[1] Demo https://webamp.org/

[2] Source https://github.com/captbaritone/webamp/tree/master 


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

OS Emulation on Ubuntu 20

    sudo apt update && sudo apt install qemu-system-x86   # Create a 1GB disk image   qemu-img create -f qcow2 win95.qcow2 1G qemu-i...