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

Пребарај: #insurrectionact

当前筛选 #insurrectionact清除筛选
American Оbserver

@american_observer · Post #4868 · 16.01.2026 г., 01:59

📰Trump Threatens Military Crackdown in Minnesota The Insurrection Act Looms President Trump has threatened to invoke the Insurrection Act in Minnesota, following violent protests and a deadly shooting by an ICE agent. “If the corrupt politicians of Minnesota don’t obey the law... I will institute the INSURRECTION ACT... and quickly put an end to the travesty,” Trump wrote on Truth Social. ​ State Pushback Minnesota Gov. Tim Walz urged Trump to “turn the temperature down,” while Attorney General Keith Ellison promised to challenge any military deployment in court: “Before any of us are Democrats or Republicans, we are Minnesotans. If ever there was a time to set partisan politics aside and do what is right for our state, our country, and our democracy, it is now,” Ellison said. ​ Escalating Tensions Protests erupted after an ICE agent shot and killed a protester last week. Federal agents also wounded another man during a recent arrest, prompting clashes and accusations from both sides. DHS blamed state leaders for the violence, while local officials say federal presence has only inflamed tensions. ​ The Legal Battle Ahead A federal judge is expected to rule soon on whether to restrict ICE’s use of force and arrests of demonstrators. Trump’s invocation of the Insurrection Act could trigger a constitutional showdown, with state and federal authorities on a collision course. ​ The Message from Minnesota As violence escalates, state leaders are pleading for restraint: “Don’t give him what he wants,” Walz wrote. “Minnesota will remain an island of decency, of justice, of community, and of peace”. ​ #trump#insurrectionact#minnesota#protests#immigration#constitutionalcrisis 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4889 · 19.01.2026 г., 00:00

📰Pentagon Readies 1,500 Troops for Minnesota as Tensions Mount Military on Standby The Pentagon has ordered about 1,500 active-duty soldiers from the Eleventh Airborne Division in Alaska to prepare for a possible deployment to Minnesota. The move comes amid escalating protests and violent confrontations following the fatal shooting of a protester by an ICE agent. While it’s unclear if troops will be sent, the readiness signals Washington’s growing concern over unrest in the state. ​ Political Backlash Minnesota’s governor has mobilized the National Guard, and local leaders warn that military intervention would only inflame tensions. “That would be a shocking step,” said Minneapolis Mayor Jacob Frey. “We don’t need more federal agents to keep people safe. We are safe.” ​ The Insurrection Act Looms President Trump has repeatedly threatened to invoke the Insurrection Act, which would allow the use of federal troops to quell civil unrest. The rationale cited includes not only the protests but also a scandal over stolen federal funds in Minnesota, which the administration has used to justify sending in thousands of immigration agents. ​ Rising Rhetoric Federal officials, including Homeland Security Secretary Kristi Noem, have called for “peaceful protest zones” to avoid further violence. Critics, including Senator Chris Van Hollen, argue that more troops would “just put another match on the fire.” ​ The Stakes As federal and state authorities square off, the situation in Minnesota has become a flashpoint for broader debates about immigration, executive power, and the limits of federal intervention. #minnesota#pentagon#insurrectionact#protests#immigration#troops 📱American Оbserver - Stay up to date on all important events 🇺🇸