пятница, 21 сентября 2018 г.

Diff for binary files

diff -y <(xxd foo1.bin) <(xxd foo2.bin) | colordiff

среда, 19 сентября 2018 г.

Viber and Ubuntu 18.04

Download Viber
sudo dpkg -i viber.deb
sudo aptitude install -f
sudo aptitude install libqt5gui5


1. After executing command
sudo dpkg -i viber.deb

....
dpkg: dependency problems prevent configuration of viber:
 viber depends on libcurl3; however:
  Package libcurl3 is not installed.
 viber depends on gstreamer1.0-pulseaudio; however:
  Package gstreamer1.0-pulseaudio is not installed.
....

2. So now we have to fix dependencies
sudo aptitude install -f

Try to start Viber

/opt/viber/Viber
This application failed to start because it could not find or load the Qt platform plugin "xcb"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, xcb.
Reinstalling the application may fix this problem.
Aborted
3. Install Qt5
sudo aptitude install libqt5gui5