You don’t need to have dedicated machine with windows or to give up using Linux or Mac just because you need to test your work on IE or Edge.
Here how you can run IE and Edge on Ubuntu. It should work on any other Linux or MAC OS. You don’t need to have windows licence or perform the system installation.
Continue reading “Running Internet Explorer and Microsoft Edge on Ubuntu”
Here’s a quick pytest basics walkthrough. Pytest is the most widely used package for testing in python. We are going to create few simple functions and test them.
Continue reading “Python pytest tutorial”
Virtualenv is a tool to isolate projects packages installations.
Continue reading “Python virtualenv tutorial”
sudo apt install apache2
Check computer name
Returned ‘userver’. I’ll use it in apache configuration for setting sub-domains.
Setup enabled sites. I.e directories and its host names. I’ll setup localhost, local ip address and subdomain main.userver to point to same directory of my main project. I’ll keep the apache default page for reference on address apache.userver
Continue reading “Setup Apache 2 & PHP 5.6 environment on Ubuntu 16.04”
Here I’d like to have a list of programs setups that I use after clean Ubuntu installation. Written for Ubuntu 18.04, not all might work on other versions.
Continue reading “Ubuntu checklist”
Example running MySql 5.7 inside docker container with data stored outside and access from remote computers.
Continue reading “Docker MySQL 5.7 example”
In the example we will connect to weather API to get temperature by city name using Requests. We will use Flask and Jinja to render HTML form and the result.
Continue reading “Python rest API client”
You can have free SSL certificate for HTTPS. Visit https://certbot.eff.org/ choose your OS, server type and follow simple instructions.
Automatically enable HTTPS on your website with EFF’s Certbot, deploying Let’s Encrypt certificates.
Conda is package and virtual environment manager for python.
Continue reading “Conda usage”
Did you know that you can turn on a computer over LAN or Internet? Yes you can! Why will you need it? For example you have a computer that you need to connect to remotely. So instead of keeping it always on, you can turn it on remotely and then just turn it of when you done.
I need it for my file server that I’ve made. I’ve installed Ubuntu a cheap PC and configured it as network file server. I want to hide it somewhere far at home and it will be connected only with power and LAN cable. I don’t need it always on so here how you set the “Wake on LAN”.
Continue reading “Turn on computer remotely”