How is the coding environment in MMMUT

New questions with the tag "multiple-instances"

Found a total of 93 questions

FFMPEG copy hls high CPU usage

I have a number of batch scripts (Windows 10) to create "instant playback" for some (11) HLS streams using FFMPEG. If everything works, each instance is using less than 1% CPU. The problem I have is that FFMPEG hangs regularly and won't keep running. In this case s ...






Virtualize multiple instances

I'm having this problem, I want to open multiple instances of a portable software called hitleap (it's for Ubuntu, I don't use wine) in Ubuntu. when I try to run after, it shows me How can I run multiple instances of this program? I don't want a VirtualMac ...










Notepad ++ and XML - Replace

I have an XML file (1000 records, simplified here), structure (e.g. say):

  & lt ; LIST & gt; & lt; ITEM_0 & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM_0 & gt; ... & lt; ITEM_9999 & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM_9999 & gt; & lt; / LIST & gt;  

I need the result:

  & lt; LIST & gt; & lt; ITEM & gt; & lt; ID & gt; 0 & lt; / ID & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM & gt; ... & lt; ITEM & gt; & lt; ID & gt; 9999 & lt; / ID & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM & gt; & lt; / LIST & gt;  

Use of Regex:

  Find: \ & lt; ITEM _ (. *) (& gt;) Replace: ITEM & gt; \ n & lt; ID & gt; \ 1 \ & lt; / ID & gt;  

I get:

  & lt; LIST & gt; & lt; ITEM & gt; & lt; ID & gt; 0 & lt; / ID & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM & gt; & lt; ID & gt; 0 & lt; / ID & gt; & lt; - This line not wanted ... & lt; ITEM & gt; & lt; ID & gt; 9999 & lt; / ID & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM & gt; & lt; ID & gt; 9999 & lt; / ID & gt; & lt; - This line not wanted & lt; / LIST & gt;  

It replaces & lt; / ITEM & gt; also , although (I think) I just ask & lt; ITEM & gt; - what am I doing wrong / how to fix? I may be missing something related to grouping (or "greedy"?) But not sure what and have been looking for similar everywhere. There are a million ways to slice and dice it with something else, but it just annoys me to get that close but not with NPP.

Help, thanks, thanks.

Late Edit: Even if I do the first replacement correctly & lt; ITEM _ # & gt; , only the tag. I still have the & lt; / ITEM _ # & gt; closing tag as another find / replace operation. The problem here is that the current operation replaces both the & lt; ITEM and the & lt; / ITEM tags ...

I have an XML file (1000s records, simplified here), structure (e.g. say you): & lt; LIST & gt; & lt; ITEM_0 & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM_0 & gt; ... & lt; ITEM_9999 & gt; & lt; NAME & gt; Item Name & lt; / NAME & gt; & lt; / ITEM_9999 & gt; & lt; / LIST & gt; I need the result: & lt; LIST & gt; & lt ...

Logical vs. physical CPU performance

A computer has two physical cores and four logical cores (for example, a computer with an i5-3210M processor). When program A is run, htop shows that it is using 100% of one core and the other three cores are nearly inactive. The throughput in this case is X ....






Open multiple instances of Skype

I managed to use the / secondary parameter to run multiple Skype instances. However, if there is no instance running and I am running it it will open with the latest profile that I was using. And if I want to do it again, I'll sign up ....

ahk script tweak for 2 instances

I'm trying to create two different hotkeys that launch two independent instances of an application. When the second is open, a "[2]" is added to the title of the window, which is very useful to me. But it doesn't work my code below. For example, if I have the second ...



Replace multiple strings in multiple files

I think the title speaks for itself. How can I replace multiple strings in multiple files? For example, I have the following strings: home.php, blog.php, forums.php, contact.php, etc. And I want to replace them all with these: home.html, blog.html, forums.html, contact.html , ...