Monday, December 29, 2025
Monday, November 24, 2025
home assistant virtualizado
Referencias:
1) you need to learn Virtual Machines RIGHT NOW!! (NetworkChuck)
https://youtu.be/wX75Z-4MEoM?si=OrCRN-ohxtozyLQN
2) Instala Home Assistant en cualquier PC o Mac (domoticarte)
https://youtu.be/qSpvsFak9jg?si=z-P83Tua_hkcKYmK
3) How to use VirtualBox - Tutorial for Beginners (Kevin Stratvert)
https://youtu.be/nvdnQX9UkMY?si=FoFDcihOA8X_25LY
Sunday, June 8, 2025
adb
Los 10 comandos que necesito:
1)adb devices
2)adb shell (consola remota)
3)adb push filename dest(ph)
5)adb exec-out screencap -p > filename.png (se trae la imagen al PC)
6)adb shell screenrecord "/sdcard/filename.mp4"
starts...
ctrl-c (desde la PC), and then:
adb pull /sdcard/filename.mp4 .
7)adb shell input tap x y
8)adb shell input text "jorge"
9)adb shell input keyevent 4
10) adb forward tcp:12345 tcp:12345 (para tkconclient)
/dev/input/event5: EV_ABS ABS_MT_POSITION_X 00000091
/dev/input/event5: EV_ABS ABS_MT_POSITION_Y 0000007e
^C
639
strtonum() es una extension de gawk. 639
Thursday, June 5, 2025
Sunday, June 1, 2025
Using i2cdriver to [M]onitor i2c activity (sniffer)
create a bat file in Windows with the following contents:
cmd /k "C:\Program Files (x86)\Excamera Labs\I2CDriver\i2ccl.exe" COM5 m
pause
edit the COM port # that the i2cDriver is connected to, and your path to i2ccl.exe.
😎
Wednesday, May 14, 2025
Aprender algo nuevo cada dia
2025:
Lunes 5/12 - copilot y bookmarklet
Martes 5/13 - copilot y tampermonkey
Miercoles 5/14 - run Tcl scripts with python wrapper
import sys ; import tkinter
print ("Greeting from Python {}.{}.{}".format(*sys.version_info))
gui = tkinter.Tk()
gui.tk.eval(open('agrep.tcl', 'r').read())
gui.mainloop()
Sabado 5/31
Domingo 6/1
Friday, January 3, 2025
Usando picocom con el i2cdriver
sudo picocom -b 1000000 -d 8 -p 1 -y n --imap spchex /dev/ttyUSB0
enviar por ejemplo:
? para hacer un "query" del status del modulo i2cdriver
_ para hacer un reboot del modulo i2cdriver
x para obtener un 3, lo que significa que ambos SDA y SCL estan en alto, bus libre.
e para hacer un echo
