Install latest Python version on Raspberry Pi

Install latest version of Python from source on Raspberry Pi in few simple steps. This should also work on most Linux distributions.... Read more »
Install latest version of Python from source on Raspberry Pi in few simple steps. This should also work on most Linux distributions.... Read more »
I needed to make some changes to an old PHP (Wordpress) site and wanted to quickly run it locally. I don't actively use PHP anymore therefore I didn't want to install XAMPP or anything big like this. The obvious idea was to use WSL to run the site. First I tried with Apache, but for some reason, despite everything being... Read more »
It's recommended to download a fresh image of Raspbian Stretch from official Raspbian website, but if for whatever reason you don't want to do that, you can still upgrade from Jessie to Stretch.... Read more »
Or simply put, easily switch between versions of NodeJS on any Linux based system. There are two most popular Node version managers. One, my personal favourite is n package, the other one is nvm. n For me the easiest way is to use n package. Just install whatever Node version your official distribution ships with. sudo yum install nodejs or,... Read more »
I couldn't find a clear explanation of how to pass both data and methods from parent component to a child component in VueJS. Remember, there's always more that one way of doing almost anything. Below is just one of those ways. More detailed, albeint no so clear, explanation and all the other ways of passing props can be found in... Read more »
It's good practice to occasionally check the health of your laptop battery. There's a very easy way to do so on Windows 10. Of course there are lots of programs that will give you detailed information on your battery, but the built in command will also give you quite nice report. Open command line Press the Windows Key + x Choose... Read more »
NuxtJS is a fantastic framework for creating VueJS applications. It comes bundled with Vue Router, Vuex, Vue Server Renderer and many more. All configured for you out of the box. The problem I have with it, it comes with linting options set to force 2 spaces as indentation. I'm a "tab" guy, so making me use spaces for... Read more »
Have you noticed other sites hotlinking to your images or other assets? Are they eating up your bandtwitch? Or you just want to proactively prevent that? If so, there's a very easy way to do so with a simple configuration on nginx. Open up nginx config file for your site and add another location block like this: server { # your normal... Read more »
To redirect all traffic from www.example.com to just plain example.com, add another `server {}` block to your nginx config file with just two lines: server { server_name www.example.com; return 301 $scheme://example.com$request_uri; }... Read more »
Mailgun is a fantastic, free service which allows you to send, receive and track emails effortlessly. It's dead easy to integrate with your self hosted Ghost blog. Mailgun configuration Log in to your Mailgun account. Go to "Domains" section. Click on "Add New Domain" and add a subdomain you want to send emails from. Follow on... Read more »