3,138 reputation
11838
bio website dotancohen.com
location
age 37
visits member for 3 years, 4 months
seen 10 hours ago

1d
comment Firefox “Untrusted Connection” warnings when visiting reputable HTTPS sites when using child's account
This is a terrific answer. I've starred the question just to reference this answer. Thank you!
1d
comment Opened up a USB stick and it looks a bit odd
Notice also the wear on the contacts. It does look like this device has seen usage, i.e. was once a working device (that as you note, has not had pieces removed).
Dec
14
comment What does `-n` option in sed do?
I see now, thank you. I very much appreciate your taking the time to help make the example explicit. Have a terrific week!
Dec
14
accepted What does `-n` option in sed do?
Dec
14
comment What does `-n` option in sed do?
Thank you Gordon but your assessment only repeats my observation. In the first two examples sed without -n prints out every line in addition to those lines specifically requested. Thus in that case -n suppresses the printing of every line parsed. However in the third and fourth examples the behaviour is different. In those cases sed without -n does not output the lines twice, thus using -n does not suppress the printing of every line parsed but rather suppresses the printing of lines not changed. I am having difficulty generalizing when the behaviour will be one or the other.
Dec
14
asked What does `-n` option in sed do?
Dec
10
awarded  Notable Question
Dec
2
comment How can you reverse the direction of alt-period in Bash?
Thank you! I have been wondering how to do this for ages.
Nov
28
comment Certificate Patrol for Chrome?
This question should probably be on the software recommendations SE site. That said, it is a great question that I've upvoted and starred.
Nov
27
comment Open a text file in cygwin's VIM
Thank you very much! I don't have a cygwin environment to test in right now (happily at home in Linux) but as soon as I have to fight with another Windows machine I will try this. +1 in the meantime. Thanks!
Nov
27
awarded  Nice Question
Nov
26
comment Many websites seem to be switching Root Certificates
Thank you.‏‏‏‏‏
Nov
26
accepted Many websites seem to be switching Root Certificates
Nov
26
asked Many websites seem to be switching Root Certificates
Nov
24
answered Rendering HTML from a pipe
Nov
24
comment How to password protect a folder on Unix/Linux without encryption?
Your first argument is not valid. On modern systems there is no performance penalty for encryption.
Nov
24
comment How to password protect a folder on Unix/Linux without encryption?
This is the Unix way of handling the situation!
Nov
24
comment Vim: how to perform this task every time I open a file?
Cris: The idea would be that once you've converted the files, you would never need to do it again.
Nov
23
comment Vim: how to perform this task every time I open a file?
You are probably better off using grep -rlIP '[\x0d]' * to find the affected files and running dos2unix on them.
Nov
18
comment How to know which Certificates to leave in my browser, and which to remove
Apparently Firefox has had a patch that would support RFC 6962 for a year now, but it has not been accepted into trunk.