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

Резултати

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

Пребарај: #schumacher

当前筛选 #schumacher清除筛选
AI & Law

@ai_and_law · Post #322 · 05.06.2024 г., 07:04

Schumacher Family Awarded €200,000 Over AI-Generated Interview Michael Schumacher's family has been awarded €200,000 ($217,000) in compensation by a German magazine that falsely claimed to have conducted an exclusive interview with the Formula One legend. Die Aktuelle published the interview last April, suggesting it was an exclusive with Schumacher, who has not appeared in public since a serious brain injury from a skiing accident in December 2013. The end of the article revealed the interview to be entirely generated by AI. The Schumacher family pursued legal action, resulting in a settlement confirmed by the Munich Labor Court. Funke media group, which owns Die Aktuelle, apologized and terminated the contract of the editor-in-chief responsible for the publication. The family continues to maintain strict privacy regarding Schumacher's condition, with limited information shared even in a recent Netflix documentary about his life and career. #Schumacher#FormulaOne#AI#Privacy#LegalAction