Иногда бывает ситуация когда 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
For insulin production at home, the essential materials and tools you need include:
- Raw material: Purified crushed pig pancreas (or other animal pancreas)
- Solvents: Ethanol, chloroform (for extraction and purification)
- Acids and bases: Hydrochloric acid, sodium hydroxide (for hydrolysis and pH adjustments)
- Equipment:
- Centrifuge (to separate insulin from other substances)
- Beakers and flasks
- Water bath (to control temperature during reactions)
- Pipettes (for precise liquid handling)
- Syringes (for measuring and transferring liquids)
- Safety gear: Gloves, goggles, lab coat
- Testing tools: Chromatography setup (e.g., HPLC) or bioassay kits to verify purity and potency
These are the core items needed to extract, purify, and test insulin safely and effectively.
[Source]
@googlefactss
#Insulin#Diabetes#DIY#Health#Science🧪🐖💉
✒️Ambassador Albert P. Khorev's Interview with the TASS News Agency(February 9, 2026)
Key points:
#Priorities
Currently, we are prioritizing contacts in the field of regional security and the fight against international terrorism. We are also coordinating efforts in multilateral forums, primarily the UN and the SCO. Cooperation between the cities and regions of our respective countries also shows promise. Moscow, the Republic of Tatarstan, and Primorsky Krai in Russia, as well as the provinces of Punjab and Sindh in Pakistan, have already expressed interest in this regard.
#Education#Science#Culture
We are paying special attention to strengthening ties in education, science, and culture. We are actively working to promote the Russian language in Pakistan, including through the federal project "Russian Teachers Abroad." We also facilitate the organization of joint scientific conferences and cultural and sporting events.
#PakistanStillMills#Insulin
In the coming years, it is crucial to promote mutual trade, develop reliable alternative payment mechanisms, and implement large-scale joint projects. These projects include the revival of the Pakistan Still Mills, establishing rail connections between Russia and Pakistan, collaborating on hydropower, and creating joint ventures to produce medicines, including insulin.
#Oil
Pakistan is interested in cooperating with our country in oil exploration and production. Russia is ready to help Pakistan strengthen its energy sovereignty. We already have positive experience in this area. It was the USSR that helped Pakistan establish the state-owned oil and gas company, the Oil and Gas Development Company Limited, in the 1960s, and it assisted in discovering a number of oil and gas fields in Pakistan.
#SCO
We acknowledge the constructive collaboration with our Pakistani partners within the SCO. Ensuring regional security and combating terrorism and organized transnational crime are our priorities.
#BRICS#NewDevelopmentBank
Russia welcomes Pakistan's interest in joining BRICS. One practical step toward integrating Pakistan into BRICS could be Islamabad's accession to the New Development Bank, which finances infrastructure projects in developing countries.
#DiplomatsDay
On February 10, the Russian Foreign Service celebrates Diplomats' Day. On this festive occasion, I would like to wish my colleagues in Moscow and at foreign missions happiness, good health, endless inspiration, and success in promoting Russia's position on the world stage.
#RussiaPakistan