izdwuut's personal place

Get Out of Here!

Just a quick note. I’ve recently moved my blog to Medium. From now on, I treat this one as a legacy project. It may be still useful to some of you, but I’m not going to update it any more. Thanks for stepping in!...

Create Pastebin-like app in Angular/Spring Boot

Okay. So I’m mostly Python guy, but I’ve recently applied for a Junior Java Developer job. I have some commercial experience with it (more than Python, to be honest) but my skills got rusty, so I decided to create a little project to sharpen them. It took me about a week to come up with The Pastinator - a Pastebin-like app written in Angular/Spring Boot. Everything you need is in video description....

Securing Apache on Ubuntu 18.04 with a Let's Encrypt TLS certificate

Literally every modern site implements TLS certificate. Why don’t we do the same? We will use a free certificate issued by Let’s Encrypt. I assume that you have Ubuntu and Apache up. We will start with issuing the cert. Let’s go! Issuing the certificate Start with installing Certbot. It will add all requirements for us: sudo apt install certbot Issue the cert. I use example.com for an example. Change it for your domain’s name:...

Mange a domain with Domain.com and DigitalOcean

Quick update: if you need a primer on domains in general, check a magnificent resource that Alejandra has sent me. Many thanks! Most of the developers sooner or later will have to buy a domain for one of their projects, let it be hobby or commercial. I had this problem recently and most solutions that I’ve found were lacking, so I thought of this tutorial. I assume that you have already bought a domain at Domain....

Create Reddit upvoter using Python and PRAW

Welcome to another tutorial of mine! Be sure to check the previous ones here. In this one, I’m going to cover a script that upvotes every new submission and comment from a given subreddit. Please, don’t try to run it in reverse and downvote all the things. Please… I assume that you have Python installed on your system. The tutorial targets Windows 10 with Powershell. Registering the application In order to use PRAW, we need to register our script first....

Host a Flask app using Apache and mod_wsgi

Now that dust has settled after Youtube Thumbnail Downloader tutorial, it’s time for a new thing. When you run a Flask developement server, it tells you that it isn’t suited for prodution: WARNING: This is a developlment server. Do not use it in a production deployment. Fair point. It hasn’t been tested for security and whatnot. There are a few alternatives, most notably Nginx and Apache. I go for the latter....

Create your own Youtube Thumbnail Downloader in Python

The idea is pretty simple. Given the URL to a Youtube video, the script spews out it’s thumbnail. See this lovely image? It would make for a perfect wallpaper and I wrote a script that does just that. How would Python render it possible, you’d ask? By working hand-in-hand with Youtube API, of course! I should seriously reconsider becoming a clown. I have a hunch that it would come as natural to me....

IS THIS THING RECORD O hi there!

Hello world! I’m Bartosz. Now that I have your attention, why don’t you follow this inconspicuous and harmless link and click OK in every window that appear on your screen? Much obliged. This is it! My much awaited blog. Admit it, you was looking forward to check out what nonsensical thoughts I managed to came up with. Wait until you see my prime time commercials. I think (I hope) that it’s safe to say that I’m going to dedicate this place to some programming-related stuff....