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

Пребарај: #hkja

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

@hkdmovement · Post #7828 · 17.09.2024 г., 04:44

Sep 13: Hong Kong's Press Freedom Under Pressure Alarming report from the Hong Kong Journalists Association (HKJA): • 15 media organizations targeted • Dozens of journalists and families threatened • 36+ individuals "named" online with accusations • 8 journalists' addresses received intimidating letters 🔍 Key developments: - Anonymous "patriots" sending threatening messages - Attempts to pressure journalists to quit jobs/unions - Multiple cases reported to police The HKJA condemns these intimidation attempts and calls for investigations. Press Freedom Decline: Since 2019, journalistic freedom in Hong Kong has significantly decreased. The Chinese Communist Party's increasing influence and policy changes have led to a more restrictive environment for independent journalism. These recent incidents highlight the growing challenges faced by Hong Kong's media, raising concerns about the future of free press in the city. #PressFreedom#HongKongJournalism#MediaFreedom#HKJA#StandWithJournalists