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 June 7, 2026 17:08
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 32 GB
@jaimemrjm
jaimemrjm / Android_tips.md
Last active March 22, 2026 23:30
Android phone tips: SSH / FTP server (for backup, sync...), Samsung Dex

Restore apps when new Android phone

  1. Install termux, rsync and copy your SSH key and restore your files with rsync (see next section).
  2. Copy your keepassx database via adb, Telegram or Google Drive.
  3. Open the keepassx database, config your Nextcloud app.
  4. Config keepassx2Android to use Nextcloud app.
  5. Install the latest Macrodroid helpers by using adb and set manually Android system permissions for Macrodroid (pending to document).
  6. Login in all my authorization/identification/securized apps:
  • Authy
  • Cl@ave
@jaimemrjm
jaimemrjm / Home Assistant good ideas.md
Last active March 20, 2026 17:26
Good ideas I have found to implement or configure in Home Assistant
@jaimemrjm
jaimemrjm / Fedora_Linux_tips.md
Last active March 19, 2026 22:15
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 / 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 / git_tips.md
Last active November 27, 2025 17:26
my git tips

My git tips

Update repo and submodules

git pull && git submodule update --init

Update repo if error fatal: Cannot rebase onto multiple branches.

git pull origin <branch> --rebase 

Show remote repo

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

KDE Neon tips

My favourite packages

dolphin-nextcloud yakuake keepassxc gcc make vim mpv nfs-common ttf-bitstream-vera ttf-ancient-fonts fonts-crosextra-carlito fonts-crosextra-caladea rar gimp nfs-common git va-driver-all vainfo audacious lame bleachbit baobab exfat-fuse darktable pavucontrol-qt soundconverter htop fonts-croscore fonts-freefont-otf fonts-liberation

How to keep updated

pkcon refresh && pkcon update
@jaimemrjm
jaimemrjm / Multimedia tips for Linux.md
Last active May 12, 2025 22:01
Multimedia tips for Linux about format conversions, removing noise, etc.

Video tips for Linux

Convert any video file to HEVC

HEVC

Convert any video file to HEVC (H.265) keeping audio tracks:

ffmpeg -i <input_file> -c:v libx265 -x265-params crf=23 -c:a copy <output_file>

AVC