@ElRincon_delConsejero · Post #4974 · 06.05.2025 г., 16:05
#IsaacAsimov
Hashtags
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
Пребарај: #isaacasimov
@ElRincon_delConsejero · Post #4974 · 06.05.2025 г., 16:05
#IsaacAsimov
Hashtags
@googlefactss · Post #40903 · 06.04.2026 г., 00:05
Isaac Asimov died on April 6, 1992. He created the Three Laws of Robotics. These laws state that a robot cannot harm a human, must obey humans, and must protect itself unless this conflicts with the first two laws. 🤖📚 [Read more 1] [Read more 2] @googlefactss #IsaacAsimov#Robotics#ScienceFiction#DidYouKnow
@googlefactss · Post #40459 · 02.01.2026 г., 03:04
Isaac Asimov was born on January 2, 1920. He wrote the Three Laws of Robotics: 1. Robots can't harm humans or let them be harmed. 2. Robots must follow human orders unless it breaks the first law. 3. Robots must protect themselves unless it breaks the first or second law. 🤖📜 [Read more] @googlefactss #IsaacAsimov#Robotics#ThreeLaws#ScienceFacts