Archive for the ‘Programovanie’ Category

Some caveats and errors (but nothing horrible) from 7.4 to 7.4.1 -> fatal error if you don't define opcache user so be aware of that Mysql 8 is using a new recommended auth and you should probably use it as well, however, prestashop will not like...

  • Comments Off on Prestashop 1.7 on mysql 8 latest and php 7.4.1

At the time of writing, docker does not have repository for disco (ubuntu 19.04), so we have to use the previous version (18.04 - bionic). You will do all the steps as mentioned in the official docker doc:...

  • Comments Off on Installing docker on Ubuntu 19.04 (disco)

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 psql vytvorenie noveho...

  • Comments Off on Postgresql pridanie usera

August 30, 2018 | In: Programovanie

mysql natural sort

Natural sort in mysql

select alphanum ORDER BY LENGTH(alphanum), alphanum


  • 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...

  • Comments Off on svn:needs-lock disable

August 18, 2018 | In: Programovanie

pocet riadkov kodu

Ak chceme pocet riadkov v kode find . -name '*.php' | xargs wc -l

  • Comments Off on pocet riadkov kodu

npm install node-sass sass-loader style-loader --save-dev npm install bulma --save // css framework npm run dev npm install axions --save // a simple http lib // (# dummy data like comments...) npm install -g @angular/cli ng...

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

source from: /* * Variables */ :root { --card-padding: 24px; --card-height: 340px; --card-skeleton: linear-gradient(lightgrey var(--card-height), transparent 0); --avatar-size: 32px; ...

  • Comments Off on Sekeleton App in Pure CSS

SCSS crash course; aka - collection of existing sources used as a reminder for myself, and perhaps some random dude... $settings: ( maxWidth: 800px, columns: 4, margin: 15px, breakpoints: ( xs: "(max-width : 480px)", ...

  • Comments Off on SCSS and CSS in 2018 – my long overdue updates of what’s possible

Checking nested structure with isset does not work anymore! In the project I'm working on currently, all the models extends from ArrayObject: abstract class AbstractModel extends ArrayObject Now, I found the following on many places (or...

  • Comments Off on PHP 7.0.6 isset not working properly – anymore