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 слични објави

Пребарај: #naturalisation

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

@nido_russia · Post #1675 · 28.06.2024 г., 15:14

The Chairman of the Investigative Committee of the Russian Federation, Alexander Bastrykin, stated that more than 30 thousand migrants who recently received Russian citizenship and did not register for military service were "caught" in the country, about 10 thousand of them were sent to the special operation zone. Along with citizenship, according to him, they received "not only rights, but also a constitutional obligation to protect the country that accepted them." “Comrades, digging trenches and creating fortifications requires really good working hands. Today they are joining the ranks of our rear units that are building these fortifications.” he said. Migrants seeking citizenship must bear this in mind. Subscribe: @nido_russia https://t.me/nido_russia/1675 Sources: TASS, Yugopolis #citizenship#naturalisation#naturalization#Russia#Ukriane#svo