156 reputation
5
bio website
location
age
visits member for 5 years
seen yesterday

Jan
16
comment grep *.c not working
This guy didn't deserve to get downvoted, it is what the command ls | grep *.c is doing if there are more than one file in the current directory, due to bash expansion, like I further explained in my answer.
Jan
16
comment grep *.c not working
@Johnsyweb he is probably curious about WHY it didn't work. Not about the result.
Oct
17
comment How to manage GPG keys across multiple systems?
Good Q&A, but AFAIK there's still one problem with this setup... It's great for signing, but not for encryption if you don't want to share the same enc key between your different devices, because when someone makes you recipient of an encrypted message, gpg use by default the latest not revoked enc key generated. It's not possible to force the senders to use an specific enc subkey depending on UID (home or work, etc).
Jul
16
comment why is there so many linux /dev/tty?
unix.stackexchange.com/questions/21280/…
Jun
14
comment Is there any way to keep text passed to head, tail, less, etc. to be colored?
@Errandir the problem with that configuration is that it will break any script or command that use git diff output as input because it will always output the ANSI escape codes.
May
10
comment Passing arguments to a Python script: file association not found. Windows 7 on iMac
an elevated console in w7 is a console with administrive rights. go to the "Start" button, type "cmd" in the search box, and hit ctrl+shift+enter, and the UAC will pop up a window asking you if you want to run the command (a windows console) in elevated mode.
May
10
comment Passing arguments to a Python script: file association not found. Windows 7 on iMac
just run assoc .py=Python.File and ftype Python.File="C:\Python26\python.exe" "%1" %* in a elevated console, restart windows just in case, and try again. Is there any reason why you running 2.6 instead of 2.7?
May
10
comment Passing arguments to a Python script: file association not found. Windows 7 on iMac
I don't see any specific question. Can you reword? What isn't exactly working? what error do you get? do you only want to associate .py to python.exe?
Apr
27
comment Is there any way to keep text passed to head, tail, less, etc. to be colored?
Any specific output program? It depends on the program sending the data through the pipe. head, tail, etc aren't the ones removing the colors, it's the program generating the data that usually check if the output is going to the console (colored), a file or pipe (not colored).
Apr
12
comment Using git, how do I go back to first commit then go through the history?
why would you want to do that?, can you explain what are you trying to do, instead what you want to do?