Categories
development

Create JSON editor in PHP

Strategy to edit JSON files with PHP
Create API to get photo items with translations and separate API to get locales
Create VueX store to use API

Categories
Quotes

Leaning anything

“You can’t teach anybody anything, only make them realize the answers are already inside them.”

— Galileo Galilei
Categories
Quotes

Positive thinking

“Positive thinking will let you do everything better than negative thinking will.”

— Zig Ziglar
Categories
development

How to add custom icon vue-awesome

To show vector icon in the vue component is nice library – vue-awesome
In the brand category is a lot of images. But for example we need to add – Vivaldi browser icon but it doesn’t exist.
Read above how to add this icon

Categories
Offtop

Christmas holiday

I like to back to hometown for holiday.
Meet my family and prepare for holiday.

Categories
Linux

Open jnlp file on Fedora

How to open an jnlp file on Fedora

Categories
development

Add profiles for Chromium browser with custom time zones

If you need check user time zones in the front end you can run different Chromium profiles with TZ parameter

TZ='America/Los_Angeles' chromium "--user-data-dir=$HOME/chrome-profile"

TZ='Asia/Tbilisi' chromium "--user-data-dir=$HOME/chrome-profile2"

TZ='Europe/London' chromium "--user-data-dir=$HOME/chrome-profile3"

TZ='Europe/Kiev' chromium "--user-data-dir=$HOME/chrome-profile4"

`

Categories
Linux

Detect more space used path with terminal in the Linux

If You need get more free disk space Linux – use du

Get most 10 biggest directories by filesize

du -a /home/username/path/ | sort -n -r | head -n 10

Categories
development

Image optimization

Batch compress photos from http://arstudiolt.lt


Before photos optimization – total 165 Mb


After photos optimization – total 26 Mb

All for visitor traffic saving ! And better internet! Use to this tools – https://webspeedtest.cloudinary.com/

Categories
Development

Get 100 from 100 in the Insight Page Speed

Whohoo! I optimise my webpage and got 100/100 in the Google Page Speed Insight