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

Пребарај: #nationalsecuritycase

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

@hkdmovement · Post #7445 · 31.05.2024 г., 21:19

In a deeply troubling development, 14 Hong Kong democrats have been found guilty while 2 were acquitted in an unfair trial that lacked a jury and involved judges appointed by the government. This landmark national security case not only undermines citizens' voting rights but also raises serious doubts about the impartiality and fairness of the proceedings. The absence of a jury denies defendants their right to a trial by their peers, further eroding the principles of justice. Upholding democratic values and safeguarding individual rights must remain a top priority. #HongKong#UnfairTrial#NoJury#AppointedJudges#VotingRights#NationalSecurityCase#JusticeUnderThreat https://hongkongfp.com/2024/05/30/breaking-14-hong-kong-democrats-convicted-2-cleared-of-conspiring-to-commit-subversion-in-landmark-national-security-trial/