Skip to content

Instantly share code, notes, and snippets.

View Canx's full-sized avatar

Ruben Cancho Canx

View GitHub Profile
@Canx
Canx / optimize_lliurex21_v4.sh
Last active March 30, 2023 09:52
Optimización de arranque para Lliurex21 (probado en ORG2)
#!/bin/bash
# Script para acelerar el tiempo de arranque de Lliurex21.
# V4: Arreglamos fallo de sssd y desactivamos dnsmasq
# V3: Desactivamos networkd-dispatcher
# Tiempo original en un ORG2 con hdd: https://gist.githubusercontent.com/Canx/01b854da791b996f81177b52c49bab07/raw/4b8965186ec68bb52931aed376636e532fc91d75/lliurex21_original.svg
# Tiempo optimizado con V2: https://gist.githubusercontent.com/Canx/01b854da791b996f81177b52c49bab07/raw/4b8965186ec68bb52931aed376636e532fc91d75/lliurex21_optimized_v2.svg
# Arreglamos fallo de sssd
@Canx
Canx / analisis-rebost.md
Last active October 26, 2022 16:35
Comparativa Lliurex21 con rebost y sin rebost.
@Canx
Canx / bootchart-lliurex21-sin_rebost.svg
Created October 26, 2022 16:19
Lliurex 21 en Virtualbox (SSD) - Sin rebost
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / bootchart-lliurex21.svg
Created October 26, 2022 16:10
Bootchart Lliurex21 en máquina virtual (máquina real con SSD)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / bootchart-llx21_3min_ORG2_sin_rebost_y_lliurex-auto-upgrade_test1.svg
Created October 25, 2022 12:06
Lliurex 21 sin servicios rebost y lliurex-auto-upgrade
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / bootchart-llx19-2min_ORG2.svg
Created October 25, 2022 09:50
Bootchart Lliurex19 ORG2
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / bootchart_llx21_3min_ORG2.svg
Created October 25, 2022 09:40
Bootchart Lliurex 21
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / llx21_sin_rebost_test1.svg
Created October 25, 2022 09:38
Bootchart Lliurex21 sin rebost
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Canx
Canx / analisis.md
Last active October 25, 2022 15:15
Análisis comparativo del arranque de Lliurex 19 vs Lliurex 21 en ordenadores ORG2

La comparación se hace con equipos ORG2, myu utilizados en las aulas de informática en la CV.

Lliurex 19

Bootchart (1 test)

  • Arranque sddm = 22s

Simulador robot de limpieza

Modifica el código fuente del simulador para programar al robot de limpieza y que limpie cada habitación de suciedad antes de que se te acabe la batería! Accede al simulador con el siguiente enlace:

Roomba jungle

Debes pulsar en "Ver dentro", y añadir tu código en el objeto "Roomba", modificando los eventos "Empezar_nivel" y "Choque".

Es imprescindible que uses los bloques de usuario "avanzar", "girar_derecha" y "girar_izquierda" para controlar el robot.