TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #9 · 7 јан.

Иногда бывает ситуация когда dev-сервер по какой-либо причине не закрылся и висит в процессах, занимая порт. Это может быть из-за падения IDE или просто сам забыл погасить и закрыл терминал. Для таких случаев я набросал простую функцию с командой: kill_on_port() { port=$(lsof -t -i:$1) echo "KILL PROCESS:" $port sudo kill -9 $port } alias killonport="kill_on_port $@" Код поместить в ~/.bashrc и рестартнуть систему. Если во время старта dev-сервера получаете ошибку что порт уже занят, просто выполните команду, подставив свой порт. Bash kill_on_port 8000 Скорее всего бесполезно, если другой процесс назначен на перезапуск вашего dev-сервера в случае падения. Имя команды можете изменить на любое другое. #linux

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #naturaliation

当前筛选 #naturaliation清除筛选
NIDO Russia (НИДО)

@nido_russia · Post #1827 · 17.10.2024 г., 06:26

Documentation News: In Moscow, two men who failed to register for military service were stripped of their citizenship This was reported on the Telegram channel by the official representative of the Russian Ministry of Internal Affairs Irina Volk. Volk recalled that, in accordance with Russian law, every man with acquired citizenship must register for military service within two weeks. Violators face punishment. Our advise to members: 1. Comply with local laws. Register for military service if you are of draft age and have acquired citizenship. 2. Similarly, if you are of draft age and have no plans to register for military service, then you should consider not applying for citizenship. Like the popular saying goes, you can't eat your cake and have it. https://t.me/nido_russia/1827 #laws#naturaliation#documentation#passport#citizenship Source: Life(.ru)