Skip to content

Instantly share code, notes, and snippets.

View MinskLeo's full-sized avatar
🏠
Working from home

Andrei MinskLeo

🏠
Working from home
View GitHub Profile
@MinskLeo
MinskLeo / Change CRLF to LF to all Files.md
Created December 25, 2024 19:49 — forked from tjsudarsan/Change CRLF to LF to all Files.md
Change End of Line Sequence from CRLF to LF to all files in the project for supporting ESLint

Converting the End of Line Sequence from CRLF to LF in any of your project files

Execute the following commands in your root of your project folder

NOTE: Do not do the following steps without commiting your data. As it clears all the git cache and it will clear all your changes in your project.

  1. First disable the autoCRLF in the git config by running the following command in your terminal git config core.autocrlf false

  2. Then remove the cached files in the git. Run the following command:

@MinskLeo
MinskLeo / Install execa
Created September 17, 2023 16:30
NX run-command interactive executor
Install version ^5.1.1 because version 6 is ESM only.
GitHub issue about it:
https://github.com/sindresorhus/execa/issues/489
yarn add -D execa@^5.1.1
@MinskLeo
MinskLeo / Test
Created July 22, 2019 09:25
VSC Test
TestGist
@MinskLeo
MinskLeo / nginx_nodejs.md
Created July 22, 2019 09:20 — forked from tomasevich/nginx_nodejs.md
Сервер в связке Nginx + NodeJs

Сервер в связке Nginx + NodeJs

Данная пошаговая инструкция поможет освоить основы на простом примере

Для справки

Сервер поднимался на Debian 8 c характеристиками:

CPU - 1 ядро x 500 МГц