How to split a windows with gvim

To split a window horizontally you need to press ctrl+w in command mode then wait for a “w” to show on the bottom right of the screen then press “s” 1CTRL+w s To split a window vertically you need to press ctrl+w + v 1CTRL+w v CTRL+Z

Read More »

How to normalize and denormalize data between 0 and 1

Some AI algo¬†works better with values between 0 and 1 but it is rare to have data already between 0 and 1. The following formula will show you how to convert an array of data to a normalized Normalize = ($inputvalue – $min) / ($max – $min) 0.111 = (2-1)/(10-1) Denormalized = ($normalizedValue * ($max-$min) […]

Read More »

How to install metatrader 5 on linux ubuntu xenial

There is 2 basics steps to install Metatrader 5 on linux. You need to install right version of wine and ubuntu xenial does not have the right version in its repository. The one that comes with Ubuntu is missing the mono packages that is needed to run .NET application and it is also missing the […]

Read More »

How to install wine on linux ubuntu with X11 forwarding via vagrant

The following code should go into a bash file on the linux image that vagrant is running. 1234567echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | sudo debconf-set-selections yes Y | udo apt-get install ttf-mscorefonts-installer sudo dpkg –add-architecture i386 sudo apt-get update yes Y | sudo apt-get install wine yes Y | sudo apt-get install winetricks yes Y […]

Read More »