Categories

Archive

Configurar zsh para que reconozca el Numpad

zsh does not do the mapping automatically, but you can use bindkey to do the mapping on your own. I have the following in my ~/.zshrc to get the keypad working: bindkey -s in-string out-string binds in-string to out-string. If in-string is typed out-string is pushed back and treated as input. The actual Read more ›

Tuya IoT

https://www.home-assistant.io/integrations/tuya/ https://medium.com/@ekfz.t/iot-development-practice-in-python-on-tuya-cloud-development-platform-59fd5eb18145 Admin: https://iot.tuya.com/cloud/basic?id=p1637549142794an9gyx&toptab=project Test: https://iot.tuya.com/cloud/explorer?id=p1637549142794an9gyx&groupId=group-controll&interfaceId=1374244593192673300 SDK PHP https://github.com/ifsale/tuyapiphp?ref=bestofphp.com https://bestofphp.com/repo/ifsale-tuyapiphp-php-rest-api SDK Python https://medium.com/@ekfz.t/iot-development-practice-in-python-on-tuya-cloud-development-platform-59fd5eb18145 https://developer.tuya.com/en/docs/iot/device-control-best-practice-java?id=Kat2uf0cwn9k9 https://github.com/tuya/tuya-connector-python

Resumen funcionamiento SPF, DKIM y DMARC

fuente: https://medium.com/@pendraggon87/short-primer-on-spf-dkim-and-dmarc-9827eb2f359d SPF Sender Policy Framework (SPF) is simply a DNS TXT record that lists the servers that are allowed to send mail for a specified domain. This allows recipients to determine if an email really is coming from who Read more ›

Batch buscar una cadena dentro de otra

https://social.msdn.microsoft.com/Forums/windows/en-US/44e47101-77fe-4c50-825c-588f4b5ea5f6/windows-batch-file-finding-a-substring-within-a-string?forum=winforms @echo off set Ms=x15 55 xx4*8 112.6 12 800 88.1 sssset Ss1=xx4*8 112.6 12 800 88.1 call set Replaced=%%Ms:%Ss1%=%% echo Ms:       %Ms%echo Ss1:      %Ss1%echo Replaced: %Replaced% If NOT “%Ms%”==”%Replaced%” (     echo Ms contains Ss1) else (     echo Ms does not contain Ss1) pause