Skip to content

Instantly share code, notes, and snippets.

View jaimemrjm's full-sized avatar

Jaime Martín jaimemrjm

View GitHub Profile
@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 June 8, 2025 11:32
Fedora Linux tips
@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:

OpenMediaVault tips

Installation

  • recommended to use Debian installer and then the omv debian packages
  • recommended to run omv-firstaid after omv packages installation.

Hardware issues related to Asrock J4105-ITX motherboard

  • Add the non-free string to the first line in /etc/apt/sources.list.
@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.

@jaimemrjm
jaimemrjm / Android_tips.md
Last active September 26, 2025 12:25
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 TaskerSettings by using adb
  6. Set manually Android system permissions for Tasker by using adb and enable "Modify system settings" in the Android settings for Tasker.
  7. Login in all my authorization/identification/securized apps:
  • Authy