Well, to be honest, I’m still in a shock after I found out that there is no “wget” on window$, so here we are… explaining a safe way to download all YouTube videos in a playlist.

First, you need to generate all the URLs via this nice and simple online tool: https://youtubemultidownloader.net/playlists.html

Once it populates the text box, copy the results and store in notepad++ or something similar for later.

If you are on windows 10, you can download free software (unbelievable :O) called “Batch Downloader” from the windows store: (https://www.microsoft.com/en-us/p/batch-downloader/9nblggh625v6?activetab=pivot%3Aoverviewtab|pivot%3Areviewstab)

Install it (obviously), and now you can paste the previously generated URLs from the online tool above. Voila, you have your hard copy…


Share This:

February 16, 2019 | In: Nepotriedené

Prestashop 1.7.5 – nginx


Just a quick to save someone from cursing… a lot… I mean A F….. LOT

A working nginx configuration with latest php 7.3 and prestashop 1.7.5:


Hope it helps someone…

Share This:

Do you get a black screen on your Xiaomi phone as I did? I tried google but people gave many devices that did not work, ranging from rebooting the phone to flashing a different ROM.

In my case, the phone was just a few hours old, so obviously if the carrier did not drop the package, I did not consider it a hardware problem. Then I realized, it is doing “sometimes”, meaning, only after the phone was locked for more than a minute.

As tried to unlock the phone with a fingerprint, the sound suggested the phone was indeed unlocked, however, the screen was black. So I had to manually press the side on/off button once or twice to really get the screen working.

Then I had finally my revelation… what if… it is locking more than once. After going to settings, finding the period after which the phone “auto-locked” the screen (15 sec, 1 minute, …) and turning it off, it finally started to work… better…

It MOSTLY works now. I’ll keep testing it and see if it gets better or I’ll have to return it :/

If anyone has a working solution, please leave down in the comments.


actually, I had to return it, as after extensive testing the firmware seemed to be really badly broken…

Share This:

  • Comments Off on Xiaomi Mi Mix 2S – black screen after unlocking

September 2, 2018 | In: Programovanie

Postgresql pridanie usera

Pred spustenim servera, treba zmenit ownera na subore : server.key

chown postgres.postgres /var/lib/postgresql/8.4/main/server.key

V novsich verziach to mozno netreba.

potom prihlasit sa na psql

1. su – postgres

vytvorenie noveho superuser

CREATE ROLE mysuperuser2 WITH SUPERUSER CREATEDB CREATEROLE LOGIN ENCRYPTED PASSWORD ‘mysuperpass2’; // heslo musi byt v uvodzovkach

a potom sa da zvysok upravit v pgadmine

Share This:

  • Comments Off on Postgresql pridanie usera

August 30, 2018 | In: Programovanie

mysql natural sort

Natural sort in mysql

Share This:

  • Comments Off on mysql natural sort

How to remove svn needs-lock in all files in folders and subfolders

Use the check-for-modifications dialog, show all files (including not
modified ones).
Select all files, right-click, choose “properties”. Then remove the
svn:needs-lock property.

Share This:

  • Comments Off on svn:needs-lock disable

August 20, 2018 | In: Správa linuxu, Video-Audio

mp3 gain

Increase the volume of an mp3 on linux

Share This:

  • Comments Off on mp3 gain

August 18, 2018 | In: Správa linuxu, Video-Audio

mp3 cut

How to cut mp3 on linux?


Share This:

  • Comments Off on mp3 cut

August 18, 2018 | In: Programovanie

pocet riadkov kodu

Ak chceme pocet riadkov v kode

find . -name '*.php' | xargs wc -l

Share This:

  • Comments Off on pocet riadkov kodu

Transpiling code means converting the code in one language to code in another similar language. (sass -> css, TS ->JS)

import syntax isn’t much different from the require syntax, but import has extra flexibility for more advanced cases

setup js workflow: https://codequs.com/p/SyIn0WvzQ/modern-javascript-explained-for-dinosaurs

webpack-bundle-analyzer: https://youtu.be/ivQ7HrnBJe8?t=920

arrow functions: let x = num => x * 2;


Building an Ionic Geolocation Tracker with Google Map and Track Drawing


Ionic Local Notifications (Schedule, Payload and Callback) [v3]

Share This:

  • Comments Off on JS in 2018 – list of all the things I read