7,134 reputation
33366
bio website
location
age
visits member for 4 years
seen 1 hour ago

11h
comment Firefox won't let me select any kind of script as the protocol handler for an SSH link
when you say ssh url, do you mean ssh:// (does that exist? what'd the browser do? open a terminal?) or sftp://?
11h
comment How to preserve L2 headers while sending Ethernet frames over serial line
out of interest, can you show a pic of the 'serial line' and the hardware involved?
12h
comment Loop Counter not working
you also made it difficult for people because they'd have to write up your data file 'cos you didn't include it. And many programmers can't understand explanations that well anyway and need code. And you should still have pasted the results as you wanted them. Anyhow I think I understand what you mean. My code gives the results that I think you want.
14h
comment Installing Skype on Debian Wheezy [amd64]
You didn't include the link
14h
comment Loop Counter not working
Also you write "Every track after first eng/subtitle gets set as default=yes when it should be set to default=no" That's not true even in your own results. The last line of your results is 22---eng--- Subtitle---no--2 and you're not clear whether you want it to be yes or no. Also I suggest you write a flowchart to help you understand your code.
14h
comment Loop Counter not working
Can you be much more clear, by, pasting the results you want, and contrast it with the results you get. Don't just describe, as your english is poor. You pasted the results you get, that's good. But also paste the results you want. Also try to explain in English what 'default' is meant to represent. Also consider whether you want to say IF !eng_aud_count!==1 or if you want to say IF !eng_aud_count!>=1
15h
comment Loop Counter not working
And if I do for /r %a in (a.a) do echo %a then I get an error (a.b) was unexpected at this time. As it's meant to be a directory there not a file. So perhaps you could clarify how your line For /r %%A in (*Encoded.mkv) do ( is meant to work,
15h
comment Loop Counter not working
-1 you should troubleshoot this and try to figure out what BATCH FILE ISSUE it is. You should eventually break it down to a simple problem. Trying to demonstrate an issue of a loop counter not working does not require a reference to 'Encoded.mkv'
15h
comment Windows 7's PATH and environment variables are corrupted
this was probably more worthwhile as a comment than an answer. That rather than restart he should end task explorer.exe and restart explorer.exe. Your answer addresses part of his problem - this part "I can't even open the System Properties dialog where I can see environment variables (because it uses shell variables to start it and it doesn't work). In short, I reboot every time." But notice that since he has a path problem after a restart, this wouldn't fix his problem anymore than he has by restarting.
20h
comment sed, insert file before last line
I don't quite understand the mechanics of //N. But if you want to prepend text before the last line, why not just append it to the line before last? So, skip the //N then it will always append. Now you want text from file f1 before the last line $ echo -e 'one\ntwo\nthree\nfour' | sed -e '/three/r ./f1'
21h
comment Can a people DDOS a block Port?
Looking from an algorithmic perspective, it looks like there has to be some processing. e.g. process the incoming packet, what port is it on(what value does it have in the TCP DST PORT field), if that value is on a closed port, don't let it in. If it's part of an existing connection, let it in. If it's a new connection, on a port that is open, pass to the firewall and if it matches, port forward it. i.e. even if it's a packet whose TCP DEST FIELD is a closed port, there is still processing - checking that field.
1d
comment SSH'd (via Cygwin) vim to write to local file
@Tim you probably know, but anyhow, from wikipedia "towards the end of 2011, mintty became Cygwin's default terminal"
1d
comment append to txt windows
This link has the path strTextFile = "C:\home\todo.txt" it's not clear what you want to change there. Just change it
1d
comment append to txt windows
You might want the vbs file to take 2 parameters one being the filename, the other being the line to append. The person at that link wanted just one parameter, and so multiple scripts so called with different names, each taking one parameter. He also wrote one with two parameters.
1d
comment append to txt windows
haven't used launchy much as it seemed to miss out indexing things I needed when I tried it. But you should know echo linetoappend >>c:\blah\file.txt is a command you can run from cmd(start...run..cmd<ENTER>)that appends a line to a file.
1d
comment Create an image of a partition that I can mount on windows/linux
following on from what ramhound has said, perhaps this will do it nicely technet.microsoft.com/en-us/sysinternals/ee656415.aspx Disk2vhd by sysinternals
1d
comment ssh works on IP get “ssh_exchange_identification: Connection closed by remote host” on FQDN
What if you ping the hostname? What if you ping the FQDN?
1d
comment Cannot access any torrents after reinstalling Windows
Maybe your IP changed and so any port forwarding you had set up on your router isn't working. So have another look at the port forwarding on your router
1d
comment Can a people DDOS a block Port?
might his router be extra busy receiving a bombardment of packets on the albeit closed port? and perhaps his internet bandwidth?
1d
comment How to change UI language of Marble for Windows?
Let us continue this discussion in chat.