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

Пребарај: #hrce

当前筛选 #hrce清除筛选
Addis Standard

@addisstandardeng · Post #21499 · 23.02.2026 г., 11:50

#Eritrea refugees held, tortured in #Egypt: NGO More than 3,000 Eritrean refugees have been detained in Egypt this year and some have reported sexual violence and torture, a human rights #NGO said Monday. Eritrea, a Horn of Africa country of approximately 3.5 million inhabitants, has one of the most repressive governments in the world. Led since 1993 by President Isaias Afwerki, who has never held an election, its citizens face indefinite military service that leads many young men to flee the country. A report published by Human Rights Concern – Eritrea (#HRCE) said more than 3,000 refugees from the country have been arrested in Egypt since January 10. It collected testimonies and photographs to show that many had suffered "beatings and burns inflicted with hot water and corrosive substances", and sexual violence. Two young children have reportedly died...... https://web.facebook.com/AddisstandardEng/posts/pfbid0pAfsuDfZ61eDyhzJSPqWXwKYP48C31ng8pewvPg9ih1FgawXwh8bzCACYuaSq9aul?_rdc=1&_rdr