Skip to content

Instantly share code, notes, and snippets.

View jaimemrjm's full-sized avatar

Jaime Martín jaimemrjm

View GitHub Profile
@jaimemrjm
jaimemrjm / local_llm_linux.md
Last active February 7, 2026 12:24
Local LLM in Linux

Overview

Play a little bit with local LLM models in a badget laptop, by keeping an stable Linux base system. In my case Fedora Linux.

Current hardware

  • CPU: AMD Ryzen 5 Pro 7535U
  • GPU: AMD Radeon 660M GPU
  • RAM: 16 GB
@jaimemrjm
jaimemrjm / domotic_tips.md
Created August 29, 2025 21:46
Home Automation (domotic) tips oriented to Home Assistant

Video cameras

My Energeeks Sentinell III (Model: EG-CIP004) WiFi Camera is based on Tuya platform. It supports ONVIF protocol but is poorly documented.

By using nmap, I have discovered the open port: 888, and the default username: admin. If you want to configure it in Home Assistant: 0. (Enable the ONVIF feature from the Energeeks or Tuya mobile app, if it's the first time)

  1. Add ONVIF integration in Settings.
  2. Set the host ip-address, the port 888, the username admin, the password you set in the mobile app
  3. Add the entity in the HA Dashboard.
@jaimemrjm
jaimemrjm / Download all Google Classroom dashboard published photos.md
Last active August 2, 2025 06:31
How download all Google Classroom dashboard published by-the-teacher photos
  1. In Google Classroom Dashboard, open every image link in the posted message.
  2. Close the view.
  3. Go to Google Drive -> Shared with you
  4. Selected the latest images that you open before.
  5. Click on Download button (upper menu).
  6. Repeat the previous steps for every post.
@jaimemrjm
jaimemrjm / wsl_tips.txt
Created February 8, 2024 17:25
WSL tips
## Configurar .zshrc para que cambie el titulo de la terminal de Windows
DISABLE_AUTO_TITLE="true"
HOSTNAME=$(hostname)
function precmd () {
window_title="\033]0;${PWD##*/}@$HOSTNAME\007"
echo -ne "$window_title"
}
@jaimemrjm
jaimemrjm / Fedora_Linux_tips.md
Last active February 7, 2026 11:46
Fedora Linux tips

Fedora Linux tips

My Fedora - KDE Plasma notes (Fedora 43 version when I write this). I have installed Fedora linux distro because works fine in my Thinkpad. I was frustrated about KDE Neon updates and Kubuntu doesnt support Wayland yet.

User permissions

sudo usermod -aG adm,disk,users,audio,dialout,cdrom,video $USER
@jaimemrjm
jaimemrjm / Raspberry Pi tips.md
Last active October 16, 2021 21:30
Raspberry Pi consejos y notas (desactualizado)

Backup SD of Raspberry Pi

sudo dd bs=4M if=/dev/sdb | gzip > ~/camelberry_image-`date +%d%m%y`.gz

To restore backup

sudo gzip -dc ~/camelberry_image-date.gz | dd bs=4M of=/dev/sdb

Bright Pi

Como root:

@jaimemrjm
jaimemrjm / openMediaVault_tips.md
Last active February 1, 2026 12:40
OpenMediaVault tips

OpenMediaVault tips

Installation

  • recommended to use Debian installer and then the omv debian packages
  • recommended to run omv-firstaid after omv packages installation.
  • any additional disk, apart from the main one (the Debian/OMV installation one) must be added from the OMV interface. No manual /etc/fstab file edition is allowed. Otherwise you are not allowed to use those disks to share folders, etc. To incorporate the disks in OMV: 1. unmount and remove them from /etc/fstab, 2. Check the disk are available in Settings-Storage-Disks, 3. Go to Settings-Storage-File systems and mount (don´t create and mount) and configure as it was in the /etc/fstab file.

Hardware issues related to Asrock J4105-ITX motherboard

@jaimemrjm
jaimemrjm / Checklist_nautica.md
Last active October 4, 2024 10:23
Checklist náutica para navegar en el Mediterráneo
  • Gafas de sol
  • Gorra PER
  • Carnet PER
  • Lentillas y Funda de gafas
  • Powerbank
  • Cargador estándar y cable USB
  • Funda transparente estanca
  • Pinzas de la ropa
  • Crema solar
  • Bañador
@jaimemrjm
jaimemrjm / remove_unwanted_apps_Miui_Android.md
Last active March 18, 2019 11:08
How to remove unwanted apps in Miui (Android)

How to remove unwanted apps in Miui (Android)

Steps

pm list packages 
pm uninstall -k -–user 0 <android_app>

<android_app> is the app package of the unwanted android app without package: prefix.