Here I document some issues for searching of which I spent more then 15 minutes

  • Subtle difference between Html.TextAreaFor and Html.EditorFor

    Hello everybody,

    today I want to document one gotcha related to difference between Html.TextAreaFor and Html.EditorFor.

    Recently I've had a requirement to add hint text to text fields. In Html world there are two ways to create input field which accepts text: <input type="text" /> and <textarea>some text </textarea>. In MVC world you can create those tags with help of Html.TextAreaFor and Html.EditorFor.

    I've had challenges with trying to apply attribute placeholder to TextAreaFor. EditorFor was pretty simplte to google and find:

    @Html.EditorFor(model => model.YourName, new { htmlAttributes = new { @class = "form-control", placeholder="Your name" } })

    But finally after a research I've … more

  • How to manage docker from C# with SSH

    Hello everybody,

    today I want to write a few words about how to work with Docker with help of C#.

    Recently I've got a challenge to find the way how to manage Docker. Initially I've tried Docker.Dotnet library. It has quite interesting options for management of docker, but from my own prospective it's not very convenient for management.  After some trial/error efforts I've decided to try another option. I tried using SSH connection in order to manage linux instance with Docker. In order to have access to CentOs I've used SSH.Net.

    In order to have option for mocking of SSH I've created following interface:

    public interface ISshManager


    string IpHost { get; set; } … more

  • How to add redirect to grid in Acumatica

    Hello everybody,

    today I want to write a few words on how to add links to some entites in Acumatica.

    So, recently I've had an assignment to add redirect into existing grid, so intead of showing some text show nice link which will lead to Purchase order.

    Here is what I've done in order to achieve it.

    First of all I've noticed, what is primary DAC class in graph. It was VendFilt. 

    Then following steps were needed:

    create code for button:


    public PXAction<VendFilt> gotoPOOrder;

    [PXButton(Tooltip = "Open Purchase order")]

    [PXUIField(DisplayName = "Open PO")]

    public virtual void GotoPOOrder()


        var poOrdEntryGraph = PXGraph.CreateInstance<POOrderEntry>();

        var  … more

  • Usage of openssl

    Hello everybody,

    today I want to note just short usage of openssl command:

    openssl req -nodes -days 10 -newkey rsa:2048 -keyout keyfile.pem -out certfile.pem

    this command will generate two files: keyfile.pem and certfile.pem. more

  • How to build private docker registry

    Hello everybody,

    today I want to describe to ways of how private registry of docker can be used and created. Before I'll go in details of it's creation I want to point what is purpose of docker registry in itself. Imagine that you spent a lot of time and money in order to create your own docker image. And for some reasons you don't want to share it with whole world, just with your own customer. What you can do? You have two options:

    Use private docker registry

    Create your own docker registry

    I will omit how to use 1 for now and will go directly to point 2. 

    There are two ways how to create local docker registry:

    Direct installation

    Registry image

    Before you continue to any … more

  • How to open specific port in Cent OS permanently

    Hello everybody,

    today I want to document how to permanently open port in CentOS linux permanently. You can achieve it with following command:

    firewall-cmd --zone=public --add-port=22/tcp --permanent

    Key --permanent ensures that port will remain working after the reboot. more

  • ngrok and it's usage

    Hello everybody,

    today I want to say a few words about interesting program: ngrok. The main idea of it is to allow other computers to see ports which you've configured in your virtual box machine. And surprisingly it is very cross platform. Take note of the list of platforms at download page: Mac OS X 64-Bit, Windows 64-Bit, Linux 64-Bit, Linux ARM, FreeBSD 64-Bit. more

  • Stop and clean all docker containers in ubuntu


    just small note on topic how to remove and delete all docker containers in ubuntu:

    sudo docker stop $(sudo docker ps -a -q)

    sudo docker rm $(sudo docker ps -a -q) more

  • PXSplitter basic template for autosize grid in Acumatica

    Hello everybody,

    today I want to write a few words about UI in Acumatica and if to be more precise about combination of splitter with other UI controls.

    As you maybe know, in order to allow user to modify height of input control, splitter conrol should be used.

    For now I found following configuration of splitter useful: 


    <px:PXSplitContainer runat="server" ID="PXSplitContainer" Height="100%" Width="100%" Panel1MinSize="120" Panel2MinSize="120" 

        SplitterPosition="210" Size="3" SkinID="Transparent" Orientation="Horizontal">

        <AutoSize Enabled="true" Container="Window" MinHeight="300" MinWidth="100" />

        <ContentLayout AutoSizeControls="True" Orientation="Horizontal" /> … more

  • How to enable ports for Docker swarm in ubuntu

    Hello everybody,

    today I want to document how to enable ports for dokcer swarm in ubuntu:

    sudo ufw enablesudo ufw allow 2377/tcpsudo ufw allow 7946/tcpsudo ufw allow 7946/udpsudo ufw allow 4789/tcpsudo ufw verbose more

General information

Greetings to everybody stopping at my blog. Purpose of this web site is to be google of my brain. Everything I found useful, or of possible beneficial for usage in future I've save here at this blog

Contact information

If you want to contact me more on any subject printed at this web stie, you can email me: zaletskiy(at)

Job information

If to speak in general, I'm developer. For now I work as team lead in company GlobalLogic.