sobota, 24 lutego 2018

YouTube Api Could not be loaded ! Please Check and Renew SSL Certificate !

Fixing "YouTube Api Could not be loaded ! Please Check and Renew SSL Certificate !"


  1. Right click on the youtube page and select "Page Info"
  2. Click on Security
  3. Click on View Cookies
  4. Remove all and reload the page.

sobota, 3 lutego 2018

Read EXIF data from image

From the command line in Linux
#sudo apt-get install imagemagick
Install imagemagic and it`s tool identyfi. Go to terminal and type
identify -verbose /home/user/image/2000-01-01-0001.jpg
will print all data from that file
identify -verbose /home/user/image/2000-01-01-0001.jpg | grep "exif:"
will print all exif data from that file Using exiftool First install exif tools
#sudo apt-get install exiftool
then run in terminal
exiftool -a /home/user/image/2000-01-01-0001.jpg | grep "Image Width"
or man exiftool


More usefull exiftool

piątek, 2 lutego 2018

swaplabel /dev/sd : unable to probe device: No such file or directory

swaplabel: /dev/sda1: unable to probe device: No such file or directory swaplabel: /dev/sda2: unable to probe device: No such file or directory swaplabel: /dev/sda3: unable to probe device: No such file or directory swaplabel: /dev/sda4: unable to probe device: No such file or directory swaplabel: /dev/sda5: unable to probe device: No such file or directory swaplabel: /dev/sda6: unable to probe device: No such file or directory swaplabel: /dev/sda7: unable to probe device: No such file or directory swaplabel: /dev/sda8: unable to probe device: No such file or directory swaplabel: /dev/sda9: unable to probe device: No such file or directory OR swaplabel: /dev/sdb1: unable to probe device: No such file or directory swaplabel: /dev/sdb2: unable to probe device: No such file or directory swaplabel: /dev/sdb3: unable to probe device: No such file or directory swaplabel: /dev/sdb4: unable to probe device: No such file or directory swaplabel: /dev/sdb5: unable to probe device: No such file or directory swaplabel: /dev/sdb6: unable to probe device: No such file or directory swaplabel: /dev/sdb7: unable to probe device: No such file or directory swaplabel: /dev/sdb8: unable to probe device: No such file or directory swaplabel: /dev/sdb9: unable to probe device: No such file or directory OR swaplabel: /dev/sdc1: unable to probe device: No such file or directory swaplabel: /dev/sdc2: unable to probe device: No such file or directory swaplabel: /dev/sdc3: unable to probe device: No such file or directory swaplabel: /dev/sdc4: unable to probe device: No such file or directory swaplabel: /dev/sdc5: unable to probe device: No such file or directory swaplabel: /dev/sdc6: unable to probe device: No such file or directory swaplabel: /dev/sdc7: unable to probe device: No such file or directory swaplabel: /dev/sdc8: unable to probe device: No such file or directory swaplabel: /dev/sdc9: unable to probe device: No such file or directory OR swaplabel: /dev/sdd1: unable to probe device: No such file or directory swaplabel: /dev/sdd2: unable to probe device: No such file or directory swaplabel: /dev/sdd3: unable to probe device: No such file or directory swaplabel: /dev/sdd4: unable to probe device: No such file or directory swaplabel: /dev/sdd5: unable to probe device: No such file or directory swaplabel: /dev/sdd6: unable to probe device: No such file or directory swaplabel: /dev/sdd7: unable to probe device: No such file or directory swaplabel: /dev/sdd8: unable to probe device: No such file or directory swaplabel: /dev/sdd9: unable to probe device: No such file or directory OR swaplabel: /dev/sde1: unable to probe device: No such file or directory swaplabel: /dev/sde2: unable to probe device: No such file or directory swaplabel: /dev/sde3: unable to probe device: No such file or directory swaplabel: /dev/sde4: unable to probe device: No such file or directory swaplabel: /dev/sde5: unable to probe device: No such file or directory swaplabel: /dev/sde6: unable to probe device: No such file or directory swaplabel: /dev/sde7: unable to probe device: No such file or directory swaplabel: /dev/sde8: unable to probe device: No such file or directory swaplabel: /dev/sde9: unable to probe device: No such file or directory

Nie można odczytać zawartości systemu plików

Nie można odczytać zawartości systemu plików. Z tego powodu pewne działania mogą być niedostępne. Powodem może być brakujący pakiet oprogramowania. Następujące pakiety oprogramowania są wymagane dla obsługi systemu plików ntfs: ntfsprogs / ntfs-3g. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! Nothing than Windows tool can easly repair ntsf. Run under virtualbox boot with hiren`s boot cd.

środa, 12 kwietnia 2017

E: Can not write log, openpty() failed (/dev/pts not mounted?)

W: Can not write log, openpty() failed (/dev/pts not mounted?)


sudo mount --bind /dev ~/chroot/chroot-amd64-ubuntu10.04/dev
sudo mount --bind /dev/pts ~/chroot/chroot-amd64-ubuntu10.04/dev/pts
sudo mount --bind /proc ~/chroot/chroot-amd64-ubuntu10.04/proc/
sudo mount --bind /sys ~/chroot/chroot-amd64-ubuntu10.04/sys
Source: https://docs.google.com/document/d/186YFzm3vKggFvvdzATU2X6PioqFNaQnyqLsOAaI-IYA/edit

niedziela, 9 kwietnia 2017

How to create a new normal user with sudo permission

How to create a new normal user with sudo permission?

 This procedure can be used in any Linux distro to add a normal user. That includes ubuntu, Linux mint, or even Centos

useradd -m username

# -m creates a home directory for the user.
# for more config option while adding user read
man useradd
## :)
Set password using passwd in order to login

passwd username


Add user to sudores so that we can use “sudo” to do administrative actions.

usermod -a -G sudo username


The option -a means to add and ‘-G sudo’ means to add the user to the sudo group. If you want to know more about the usermod command, issue man usermod command to know more about usermod