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

Резултати

Пронајдени 2 слични објави

Пребарај: #libraries

当前筛选 #libraries清除筛选
djangoproject

@djangoproject · Post #328 · 03.05.2017 г., 19:27

http://www.csestack.org/python-list-installed-modules-versions-pip/ The main strength of the Python is, the wide range of external #libraries are available. As we keep coding in Python, we install many packages. It is easy getting a Python list installed #modules on the system. There are a couple of ways you can do that.

GitHub Trends

@githubtrending · Post #14966 · 16.07.2025 г., 13:30

#other#awesome#awesome_list#c#c_plus_plus#cpp#cpp_library#cppcon#libraries#list#lists#programming_tutorial#resources You can access a vast, well-organized collection of C++ libraries, frameworks, and tools that cover almost every programming need—from standard libraries, GUI, networking, and machine learning to game engines, cryptography, and more. This curated list includes popular and high-quality options like Boost, Qt, OpenCV, and many specialized libraries for tasks such as asynchronous programming, audio processing, and serialization. Using these resources can save you time, improve code quality, and help you build efficient, robust applications by leveraging tested, peer-reviewed components instead of writing everything from scratch. It’s a one-stop reference to boost your C++ development productivity and capabilities. https://github.com/fffaraz/awesome-cpp