Cloning VirtualBox vmdk to vdi

First of all you have to shutdown VirtualBox machine that you wan’t to clone.
After that create new folder where you wan’t to clone existing vmdk machine to vdi

After that run this command in terminal:

Wait until the job is done and… that’s all.

PHP coding at night :)

Yesterday I was programming late at night (4 am) and all the time I had a problem with authentication when switching between web sites.
This morning I looked at the code and found out that I made a simple mistake – a typo in the code.
My advice – do not sit, and code late at night. 😉

ClearOS 6.x MultiWan

Today i have had a problem with 3 external internet connection. What i did at the very beginning of configuring it was that I haven’t choose which interface is the PRIMARY and which is BACKUP.

At the very beginning i have only one external wan so there where no problems but, after some time i have had second and about 3 month ago third external wan.

When one interface was down whole traffic did not know which other interface he had to choose 😉

Today i have set it up properly and voila everything works as planned.

CentOS 7 on HP Compaq 6710b and 16GB micro sd card

Yesterday i have installed CentOS 7 on my old HP Compaq 6710b laptop. I don’t wanted to remove my current OS (ubuntu) because I did’nt know if I find all software which i am using, so i decided to install it on 16GB micro sd card (!).

After install i have done this:

  1. add EPEL repo
  2. add RPMForge repo
  3. add NUX-Dextop repo (for remmina)
  4. add Google repo (for Google Chrome)
  5. add Adobe repo (for flashplayer)

After two days of working on it (Geany, GIMP, OpenVPN, Remmina) I must say that everything is working fine.

How to mount LG Nexus 5 under Fedora 20

I have bought a LG Nexus 5 smartphone, but after plugin in under Fedora (20) there was no response from the OS to mount it automatically. The dmesg | tail command gave me this:

Ok, this is something, now i had to do this:

And add those lines onto that file

OK, almost the last thing was to add to lines into my .bashrc file:

Now i had to restart my Fedora and voila after restart and plugin my Nexus 5 phone i do the nexusmount command from the terminal and it works!

Sources:
http://l33tsource.com/blog/2014/04/19/Mount-Nexus-5-on-Fedora/
http://tacticalvim.wordpress.com/2012/12/08/mounting-nexus-4-via-mtp-in-fedora-17/