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

Пребарај: #cnft

当前筛选 #cnft清除筛选

🤔What is cNFT cNFT is a young technology in TON that allows you to create NFT collections with thousands or even millions of items for the price of a single NFT mint. Using this technology, GetGems team has already conducted several NFT giveaways via the Pearls bot. For example, the Gemmy collection is a cNFT collection. 🎲 You can see the received cNFTs in your profile on #GetGems, but in order to sell or transfer such NFTs, they need to be claimed by paying a blockchain commission. 🙏 If you filled out forms from the #TONSociety, you may have already received a Soulbound #cNFT. Such cNFTs when claimed become Soulbound NFTs (#SBT) — a type of NFT that cannot be sold or transferred. These NFTs can act as an achievement or unique award that cannot be sold. ⚡️Boost | 🌐Twitter