File sharing in linux (and other OS)

Seems like it's a trivial task but NO. You can't use Samba because of OS compatibility, FTP is too hard to understand and install and other things.

But there is a simple way to do this - use nodejs http-server!
If you're using your PC for development you've already should hav nodejs and npm.

Install the http-server package globally:

npm install -g http-server

Goto the folder which you want to share and type in Terminal:

BSOD 0x00000074 BAD_SYSTEM_CONFIG_INFO

STOP 0X00000074 (0X0000000000000002, 0XFFFFF88002E22B20, 0X0000000000000002, 0XFFFFFFFFC000009A)

If you get BSOD STOP 0X00000074 error on Windows booting,  you must to boot from bootable Windows DVD installation disc.
Run bcdedit commnad from Recovery console and type next commands.

bcdedit /deletevalue {default} numproc
bcdedit /deletevalue {default} truncatememory

Those commands would change quantity of processors and maximum memory option.

Colorbox slideshow with views from multiple images field by first image

This article about colorbox and views: how to display first thumb styled image of the multiple image field and after click on it display all images in colorbox.

First of all install views, libraries, colorbox и colorbox plugin.

$ drush en views libraries colorbox -y

Download colorbox plugin and unpack it in libraries folder.

https://github.com/jackmoore/colorbox/archive/1.x.zip

Reset Administrator password on Windows 10 tablet UEFI

There are much and more manuals in net about this stuff. But noone of them help me with this problem. I can't boot from usb flash on table.
First of all, you must enable usb boot. To enter “System Restore” you need to hold Shift key and click on Reboot option.
“Diag” → “Advanced options” → “UEFI Firmware Settings”.

Views filter by int value in float field

Imagine, that you have float field with 2 symbols after dot.
At the views page with filter you need to filter values by all range of module of user's float input.
Ex: user input 2.45, we filter all values  X>=2 AND X<(2+1)

With the standard accessories of views you can filter with two filter “from” and “to”. But in FO we have only one field.
To solve this problem we can use hook_views_query_alter.

We already have a view. To make our hook work, we must set the unique tag to the view, to check it in out hook. mymodule_query in example code.

Replace Russian Keyboard in Motorola Droid 4 Cyanogenmod root

I was using Russian Keyboard since HTC Desire Z. It was good in remaping keys to comfortable work in ru layout. After Moving to Motorola Droid 4 I installed this app by good memory.

All as great, except the Shfit+3 combination, it doesn't type the # sign. Later I discover, that another layout must be selected, not English UK. But the first step was made after discovering code on github, which promise to make eng+ru+ua layouts and switchind them by CAPS key. Plus, there was ALT and CTRL keys, which I need to play Doom with comfort.

Pixus 10.1 3G Android 4.4.2 remove malware

Chinese tablets it's not only the cheap price, but in uther cases it's not funny surprises. It was the first time I've met the problem, when the stock firmware has a virus/malware. Couple of them.

MediaTek MT8392 processor, it's the twin of  МТ6582. First is used in tablets, second in phones. I want Cyanogen to run on this device, but didn't found one. I thought that it would be great to repack cyanogen mode myself. Sources are available across the net. But I keep calm, sit down and start to struggle with virus.