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/

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

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 filenam...