Sólo notas personales para que mi yo del futuro lo tenga más fácil
Cambiar ppp de imágenes recursivamente
find . -name "*.jpg" -type f | xargs -0 -d '\n' mogrify -density 72 -units PixelsPerInchConnecting to a WebSocket server via WebSocket Secure connection (wss://) on a Plesk based host.
As I'm going to have only one NodeJS, I prefer a subdomain: sockets.example.com
If you will have several NodeJS Apps you may want something like example.com/socket1, example.com/socket2, ...
As I will only use NodeJS on that subdomain, and I will redirect all traffic to NodeJS, it is safe to disable PHP
| /** | |
| * Devuelve un icono de fontAwesome correspondiente a un MimeType | |
| * | |
| * @param string $mimetype por ejemplo 'image/jpeg' | |
| * @param string $class clases extras del icono | |
| * @param string $style tipo de icono: fas, far... | |
| * @return string | |
| */ | |
| function fileIcon(string $mimetype, string $extraClass = '', string $style = 'far'): string | |
| { |
| M42 P4 S255 ; green led | |
| M42 P5 S0 ; red led | |
| M42 P6 S0 ; blue led | |
| M117 Ta-dah! | |
| M106 S0 ; cooling fan off | |
| M104 S0 ; nozzle heater off | |
| M140 S0 ; bed heater off |