Codehouse: my digital life

  • You trust in AI blindly ? Think again…

    You trust in AI blindly ? Think again…

    I\’ve decided to write my own DHCP server, for a variety of reasons: every time the DHCP of my router have to be resetted, I have to fill again, bit by bit, the manual static entries of every network component. In other words, having a server of my own making, I can more easily move……


  • Creating a minimal python development environment under Windows

    Creating a minimal python development environment under Windows

    This article explains how to get a minimal running Python environment under Windows. After exploring several alternatives, like using micromamba script which is based in anaconda, I went on researching to obtain a stripped version of Python to use as a stub for running non compiled code under Windows. Python.org has the embedded Python distribution……


  • Synchronize a remote Dropbox directory with a local one in Python

    Synchronize a remote Dropbox directory with a local one in Python

    This is the reciprocal of the latter post, in this case the remote changes are cloned locally.


  • Take your virtual server out of the cloud

    Take your virtual server out of the cloud

    Wouldn’t it be good that you could extract your virtual server out of your current cloud provider, and import it in another provider, or import in a virtual machine manager installed locally ? That it’s possible, but it depends on two conditions: have access to a repair environment in a recovery console in your cloud……

  • ReSpotGUI

    ReSpotGUI

    The integration of Spotify, the great daddy of audio streamers with third-party apps has been difficult over the years. Years ago, in their beginning they liberated libspotify, coded in for integration with different clients. Integration with major audio players like Foobar, Clementine and MusicBee were working, but in 2015 the company decided to drop the……

  • Using PHP with Node.js in Windows

    Using PHP with Node.js in Windows

    PHP and Node.js are two coding standards made for Web purposes. Node.js is not a language by itself and is a new implementation of Javascript and a different filosophy in programming. PHP adopted some features of Node like the package manager NPM on Composer and the assincronicity make the bulk of some frameworks like Laravel……

  • Don’t open random ports at your will

    Don’t open random ports at your will

    Last time I opened a port using netcat for receiving HTTP posts from a external. It’s possible, using a pipe, to redirect to forward all the received messages to a text file. Reached the time to choose a number for the port, I chose 5555. It never come to my knowledge what was going to……

  • Mute Spotify ads under Windows

    Mute Spotify ads under Windows

    Created a repository under Github from one that already allowed the automatic muting of Spotify when the music application is playing annoying ads. Sometimes I switch to Windows so I thought that it would be great to have the application, which is a bash shell script, to work under Windows. I had to rewrite from……

  • Damn, Google…

    Damn, Google…

    In your last update (Chrome 70), you broke the password-protected feature for Chrome Profiles, fortunately I found a extension that replaces that …. LockPWFree ! It has the defect, although, of opening a new Chrome instance if you choose to start the browser with the tabs when you last left… but anyways, is better than……

  • Use Books API on Google Apps Scripts !? No! No!

    Use Books API on Google Apps Scripts !? No! No!

    It apperars the Google guys don’t like us to use some APIs directly in their Google Apps Scripts platform. I don’t see  the Books API in the list of libraries available from the top menu and also when I try to access it directly using the UrlFetchApp predefined object it salutes me with a “403……

  • Recover from a lost remote shell

    Recover from a lost remote shell

    tmux is a very nice terminal multiplexer, is a good replacement for the old screen, but with many more features, you can have multiple virtual terminals in the same windows with the window splitted bet ween them. (Until four or eighteen as you like). It’s great, in the case if you are using a command……

  • Recovering your work when the devil visits you without first asking…

    Recovering your work when the devil visits you without first asking…

    No, I didn’t have an Interview with the Devil the way the Stones sang, because the devil when it decides to visit you, he never warns you. From this metaphor, perhaps what happened was how to lead with something such as when the most unexpected happens, we should be prepared for the wost, or better……

  • How to configure an E-mail distribution service using Postfix + Courier IMAP with SQLite as the credentials storage endpoint

    How to configure an E-mail distribution service using Postfix + Courier IMAP with SQLite as the credentials storage endpoint

    While I was doing the migration from Ubuntu 14 to Ubuntu 16, I came across the high resource demands required by the new version of MySQL. I’m running on a very basic VPS with to few RAM, and so MySQL (was running 5.7) crashed much frequently, so I decided to switch a MySQL fork, mariaDB,…