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

Пребарај: #oscarawards

当前筛选 #oscarawards清除筛选
港島西。Channel

@islandwest84 · Post #39893 · 05.03.2023 г., 13:54

聯署要求取消邀請,支持打壓人權演員甄子丹,擔任奧斯卡金像獎頒獎嘉賓 Cancel inviting Donnie Yen who supports human rights abuses as a presenter for the Oscars. 請簽署支持及轉發 https://chng.it/YFPf7mVwdT Donnie Yen is a supporter of the Chinese Communist regime and has made several remarks in support of the Chinese government's policies, including supporting the implementation of the National Security Law in Hong Kong and accusing Hong Kong protesters of being rioters. These remarks not only violate the spirit of freedom of speech but also deny the rights of the people of Hong Kong to fight for their freedom and democracy. We demand that the Oscars Committee reconsider this decision and cancel the invitation of Donnie Yen as a presenter for the Oscars. Let us work together to uphold human rights and moral values, and make the Oscars a truly respectful award. #OscarAwards#聯署#petition#甄子丹#媚共偽人#殺神4#反送中運動#反修例#沒有暴徒只有暴政