Codehouse: my digital life

  • How to input brackets in a mac using a Portuguese PC Keyboard

    How to input brackets in a mac using a Portuguese PC Keyboard

    When you buy a mac mini without and you don’t want to spend money with a mac magic Keyboard, reusing a PC keyboard instead, and you need to use characters outputted by the right alt key (like the brackets in portuguese), you are in a trouble!


  • Redirect to your mirror at archive.org

    Redirect to your mirror at archive.org

    In case if your site goes down, and you don’t have a mirror host for your content, the wayback machine from archive.org provides you with such a thing you can make use of. Just provide your http server or web framework to detect an error (in PHP you can use the functions set_error_handler and set_exception_handler)… Read More


  • 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… Read More


  • Redirect to your mirror at archive.org

    Redirect to your mirror at archive.org

    In case if your site goes down, and you don’t have a mirror host for your content, the wayback machine from archive.org provides you with such a thing you can make use of. Just provide your http server or web framework to detect an error (in PHP you can use the functions set_error_handler and set_exception_handler)… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

  • 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… Read More

Social Media Auto Publish Powered By : XYZScripts.com