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

Пребарај: #mangadex

当前筛选 #mangadex清除筛选
GitHub Trends

@githubtrending · Post #15001 · 28.07.2025 г., 11:30

#python#danbooru#deviantart#downloader#flickr#gallery#kemono#mangadex#pixiv#tumblr#twitter gallery-dl is a free, easy-to-use command-line tool that lets you download image galleries and collections from many popular image hosting sites. It works on Windows, macOS, and Linux, and you can install it using pip, package managers like Homebrew or Chocolatey, or as a standalone executable. You can customize it with configuration files, use login credentials or browser cookies for private content, and even filter downloads by tags or chapters. This tool helps you quickly save large amounts of images or videos from websites, making it convenient to archive or organize media offline. It supports many sites and offers flexible options for advanced users. https://github.com/mikf/gallery-dl