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

Пребарај: #shippingplans

当前筛选 #shippingplans清除筛选
Crypto M - Crypto News

@CryptoM · Post #64870 · 10.04.2026 г., 05:54

🚀 Middle Eastern Oil Producers Prepare for Potential Hormuz Strait Reopening Middle Eastern oil producers have requested Asian refiners to submit shipping plans for April and May, in anticipation of the potential reopening of the Hormuz Strait. According to Odaily, there is currently no indication that Tehran is lifting its near-total blockade of this crucial waterway, which has previously caused a sharp increase in energy prices. However, a recently announced two-week ceasefire agreement between the U.S. and Iran has sparked hopes for the strait's reopening. Two sources revealed that Saudi Aramco, the world's largest exporter, has asked its clients to submit applications for May shipments from the ports of Yanbu and Ras Tanura. One source noted that this would depend on the resumption of exports from the eastern port of Ras Tanura, which requires vessels to pass through the Hormuz Strait. #MiddleEast#OilProducers#HormuzStrait#ShippingPlans#Ceasefire#Iran#EnergyPrices#SaudiAramco#Yanbu#RasTanura#Exports#OilTrade