Month: January 2019

Grub2 recovery from live USB (LVM)

  • 01.04.2019
  • Posted in: Linux

Boot from live usb. I use Debian 8. Open terminal and type sudo su Install LVM apt-get install lvm2 List all logical volumes in all volume groups lvscan I have such a LVM structure ACTIVE '/dev/v1/boot' [100.00 MiB] inherit ACTIVE '/dev/v1/root' [10.00 GiB] inherit ACTIVE '/dev/v1/tmp' [500.00 MiB] inherit ACTIVE '/dev/v1/var' [30.00 GiB] inherit Now mount devices to mnt folder mount...

read more

Emmet code examples in Sublime text

  • 01.03.2019
  • Posted in: CSS  HTML

Run in Sublime menu Package Control: Install Package command, type Emmet and install it. First type code in Emmet syntax, after that press Tab on your keyboard and view result. ul.nav <ul class="nav"></ul> 1 <ul class="nav"></ul> li{some text}*2 <li>some text</li> <li>some text</li> 12 <li>some...

read more