When you want to download a publish profile for the service in Azure, there can be an error, that basic authentication is disabled.
(read more...)When you want to download a publish profile for the service in Azure, there can be an error, that basic authentication is disabled.
(read more...)To Run PostgreSQL in Docker I use an official image ‘postgres’ from https://hub.docker.com/_/postgres. You can start it as it’s described in the documentation, but I prefer to use docker-compose. For me it’s more flexible and allows to avoid of errors when start form command line.
(read more...)I often use docker at my workstation. It’s very comfortable. It’s already too much written about it, I won’t repeat. And let everyone choose what he wants.
(read more...)I am tired to look for Vi shortcuts, let the copy of this content stay here. Press Esc to start waiting for the command and after that enter the action.
$ vi <filename>
— Open or edit a file.i
— Switch to Insert mode.:w
— Save and continue editing.:wq
or ZZ
— Save and quit/exit vi.:q!
— Quit vi and do not save changes.yy
— Yank (copy) a line of text.p
— Paste a line of yanked text below the current line.o
— Open a new line under the current line.O
— Open a new line above the current line.A
— Append to the end of the line.a
— Append after the cursor’s current position.I
— Insert text at the beginning of the current line.b
— Go to the beginning of the word.e
— Go to the end of the word.x
— Delete a single character.dd
— Delete an entire line.Xdd
— Delete X number of lines.Xyy
— Yank X number of lines.G
— Go to the last line in a file.XG
— Go to line X in a file.gg
— Go to the first line in a file.:num
— Display the current line’s line number.h
— Move left one character.j
— Move down one line.k
— Move up one line.l
— Move right one character.If you work with external developers and you often have to get the code from them, it's not very good to transfer it with dropbox or something like that. You want to achieve it, view changes, make tests and build it. It's why CI/CD is made for. At first you should add external repository to your project and to automate the process of getting new builds. Here's how to do it.
(read more...)I can't imagine the development process without Git. It's not only to store the source code, but to work and to live with it. If you can't use Git, you can't take part in modern development. It's not very difficult, may be it's even easy. But you should know some recommendations to avoid mistakes and to make your work more efficient.
(read more...)When I tried to execute http-server from nodejs (with command 'http-server –o'), I had got the error. The solution requires to update execution policy.
There are different ways to change text editor in Midnight Commander. You may choose between internal editor and external one, or you can choose one of external editors.
Application logs can stop your machine if you do not control their size. By default, webserver IIS doesn't clean IIS logs and stores them in c:\inetpub\logs. If your server is high loaded, logs of IIS can get critical size in 2-3 weeks.
(read more...)
In Linux OS (Debian, Ubuntu, CentOs) log files of web server can grow and grow. According to web server activity, they can grow to a very big size. To remove files is a bad solution because they won't be restored and you loose new logs.