por Miguel | Nov 12, 2018 | lightdm
When cloning a Linux image with Clonezilla on my HP 1040 g3 notebook I had to deal with the problem of lightdm not starting, the cloning process worked fine with several notebook models, except that one. Bloody hell of errors with lightdm: xhost: unable to open...
por Miguel | Nov 8, 2018 | wordpress
A veces necesito realizar cambios en las reglas de apache para wordpress y siempre me olvido de cómo lo hice, así que aquí dejo documentado las últimas que he utilizado para reusarlas cuando las necesite. Para utilizarlas solo basta agregarlas en el archivo .htaccess...
por Miguel | Oct 30, 2018 | analytics
Una tarea común para quienes trabajamos con la web es configurar analytics, aunque a veces necesitamos algo más específico como realizar mediciones de los enlaces en nuestro sitio a otros sitios web. La configuración más básica es agregar el siguiente snippet de...
por Miguel | Oct 26, 2018 | printing
Ah, the old art of printing stuff in paper is still something nowadays. From time to time I must setup printers (yeah, several models of: Oki, Lexmark and HP) to print bank checks in a A5 pre-formatted paper. It sounds easy at first, you setup the printer trays with...
por Miguel | Oct 11, 2018 | printing
Sometimes we want to reposition certain image/text in our paper because at the time of printing the content of our digital document doesn’t coincide/match the size of our real paper. The HP E60075 let’s you adjust a digital positioning (imageable area) so...
por Miguel | Oct 9, 2018 | python
Creando los directorios iniciales y prerequisitos Primero creo un directorio (APIS) donde ordenadamente trabajaré los proyectos de API REST: mortiz@florida:~/Documents/projects/python/APIS/ Y dentro del directorio APIS el nuevo proyecto a desarrollar, que al ser el...
por Miguel | Oct 4, 2018 | python
Verify you are installing flask for your correct python version inside your virtual environment. I’ve came across the problem: bash: flask: command not found And the first StackOverflow answer was: Flask 0.10 has no flask command, it was added in 0.11. But my...
por Miguel | Sep 24, 2018 | clonezilla
Clonezilla is a great tool to backup or restore any computer, it will use partimage to clone your real or virtual hard drive into an image or vice versa. It has available several protocols or options: disk-to-disk (hard drive to hard drive, usb to hard drive, hard...
por Miguel | Sep 13, 2018 | linux
Today our custom Linux wasn’t being loaded from PXE as usual, instead, we were stuck at «initramfs». Current Scenario: Loading Linux Lubuntu 16_04 via PXE Hardware: ThinClient HP-T630 No local disks where used in the process, the whole O.S is loaded in RAM....
por Miguel | Sep 3, 2018 | bash, linux
I was required to disable an specific port for an specific device. If an «X» device is connected in any port of the computer I should be able to enable/disable it at will. In our scenario the idea is to enable or disable a Genius GK100010 Numeric Pin Pad and other...