Tuesday, June 19, 2018

[Solved] LombokProcessor could not be initialized

switch jdk to 1.8
If you use intellij got to file->project structure->project and choose 1.8 jdk

Friday, March 30, 2018

redis commands

start cli
redis-cli

show keys
KEYS

showo keys starting with blog
KEYS blog*

clear all keys (delete all from redis)
flushall

Wednesday, November 29, 2017

Elastic search start stop

Start
sudo service elasticsearch start
Stop
sudo service elasticsearch stop

Thursday, October 5, 2017

Tuesday, September 12, 2017

copy content of folder to another folder

see what owner of files is (for sake).

sudo cp -a /source/. /dest/
this should copy all files and in my case assign right owner.
If not cd to the dest folder and use

sudo chown www-data:www-data *