Monday, 26 June 2017

Disable calculating git delta for binary files

 just add following lines into
.gitattributes
data/* binary -delta -diff

Tuesday, 23 May 2017

Tuesday, 3 January 2017

Strange GIT ssh error

$ git clone -v ssh://my.name@gerrit.company.com:29418/repo_name
Cloning into 'repo_name'...
FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

The soluation:
Put
unset GIT_SSH
into .profile

Wednesday, 15 June 2016

autoconf, check arguments

If you used several arguments to configure your source:
$ ./configure --disable= etc....

Later you can print the build arguments with:
$ ./config.status --config

Tuesday, 31 May 2016

Windows 10 DirectX debug layer issue

Visual Studio lack of support DirectX 11 Debug layer. You can fix it:

- HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate\AU 
UseWUServer set to zero

-Restart Windows
-Install Graphics tool
-Settings/System/Apps&Features/ManageOptionalFeatures/AddFeature/GraphicsTools

Friday, 13 May 2016

Proper partitioning WD Red 4T disk

I partitioned my disk in NAS by the following way:

parted /dev/sdc


at the parted prompt 

mklabel gpt mkpart primary ext4 4096s 100%

align-check opt 1

quit


Formating the drive:

mkfs.ext4 -L lia_store /dev/sdb1

reboot