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

Резултати

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

Пребарај: #hkdmovement

当前筛选 #hkdmovement清除筛选
Hong Kong Democracy Movement

@hkdmovement · Post #7022 · 17.01.2024 г., 10:40

Jan 16: day 10 of Jimmy Lai's trial. Defense disputes relevance of expert reports to national security charges, while prosecution argues no need to prove Lai's actions caused foreign sanctions. Judge approves expert reports, stating they aid understanding of US actions against Hong Kong and whether they constitute "sanctions, blockades, or other hostile actions" under the National Security Law. Trial continues with the testimony of an accomplice witness. It seems that the prosecution lacks a direct witness to support their accusations. Instead, they have relied on expert reports to present their case. The absence of a witness raises questions about the strength of the prosecution's evidence. #FreeJimmyLai#freepoliticalprisoners#FreeHongKong#HKDMovement