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

Резултати

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

Пребарај: #yishun

当前筛选 #yishun清除筛选
SG MRT Updates

@sgmrt · Post #1643 · 08.02.2023 г., 04:23

[NSL] UPDATE: Pls add at least 25mins train travel time between #Yishun and #Woodlands. Out staff are working hard to rectify the track point fault. Commuters are advised to take alternative routes such as TEL. Free regular bus and bridging bus services are still available. - SMRT

SG MRT Updates

@sgmrt · Post #1641 · 08.02.2023 г., 03:51

[NSL] UPDATE: Please add 25mins of train travel time between #Yishun and #Woodlands. Our staff are working to recover service. Free regular bus and bus bridging services are still available. For alt. travel options, please use TEL or visit our website for more information. - SMRT

SG MRT Updates

@sgmrt · Post #1640 · 08.02.2023 г., 03:36

[NSL] UPDATE: Pls add 25mins of train travel time between #Yishun and #Woodlands. Our staff are working to recover service. For alternative travel options, please use TEL or refer to our website (https://bit.ly/3sUuPup). - SMRT

SG MRT Updates

@sgmrt · Post #1639 · 08.02.2023 г., 03:22

[NSL] UPDATE: Pls add 25mins of train travel time between #Yishun and #Woodlands. Free regular bus and bridging bus services are still available. For alternative travel options, please use TEL or refer to https://bit.ly/3sUuPup for more information. - SMRT

ПретходнаСтраница 1 од 5Следна