1,392 reputation
517
bio website janosgyerik.com
location Paris, France
age 36
visits member for 3 years, 3 months
seen 7 mins ago

I like to code and I do it a lot. I want to build software to save the planet. Passionate polyglot programmer, generalist with specialties. Code reviewer, unit tester, driver of change. I get things done.

I make free Android apps such as Programming Quiz, websites such as bashoneliners.com, and other open source stuff. I wrote a book on Bazaar Version Control, and an article on shell tips & tricks for Linux Journal.

I blog, tweet (@janosgyerik), and post "pro tips" on CoderWall.

Careers 2.0: http://careers.stackoverflow.com/janosgyerik

LinkedIn: https://www.linkedin.com/in/janosgyerik


Oct
15
comment What is Tree and Merge Source?
@SylvainPineau I try. (I did write a book on this stuff, you know ;-) (see my profile ;-)
Jun
6
comment Django installed, but can't import django in python
@NGRhodes Hardcoding paths in code is not a good idea.
May
28
comment nvcc not found, but only when using sudo
@JamesTobin I see, I added a note about that.
May
28
comment nvcc not found, but only when using sudo
Thanks @JamesTobin! I'm happy to add links that improve the answer, but I don't see the added value in the link you posted. Can you explain?
Mar
29
comment Automatically mount NTFS drive when I login
Btw, at least in Xubuntu, it's a bit different: udisksctl mount -b /dev/disk/by-uuid/THE_UUID. udisksctl is in the udisks2 package and I don't have a udisks package.
Mar
8
comment Rename files incrementally in a specific directory?
@souravc oh shoot, you're right, thanks!
Mar
8
comment Eclipse Doesnt start
And if you run /opt/adt-bundle-linux-x86_64-20131030/eclipse/eclipse directly instead of its symlink? Also, what is the output of ls -l /opt/adt-bundle-linux-x86_64-20131030/eclipse/eclipse ?
Mar
8
comment Gksu Naulitus is not working
@user222588 others might make the same mistake, search for "naulitus" and find your post, so it's not all that bad ;-)
Mar
3
comment Create a Screen session with a bash script using contab
Do you get an error message or something? First get the bukkit.sh script working on the command line. Next, check that screen -S bukkit path/to/bukkit.sh works. Next, check that screen -d -m -S bukkit path/to/bukkit.sh works. Finally, setup cron. Try the most simple thing first, and take little steps so you understand which step breaks. Tell me that, and the error message you get if you need help.
Mar
2
comment Live version works fine, but installation crashes
What is the error message when the installer crashes?
Mar
2
comment nvcc not found, but only when using sudo
@dsp_099 yup, see my updated answer
Mar
1
comment How can I run this sh script without typing the full path?
Thanks @Jacob, notice it says "When scripts are installed into a directory in the system PATH". The idea.sh script is not such script, in fact moving it outside its installation dir is completely unsupported. The Debian packaging rules don't apply here.
Mar
1
comment How can I run this sh script without typing the full path?
@Jacob can you please include a link to this "bad practice"? I think that's plain wrong.
Feb
25
comment How to remove an unsuccessful installation of Java 6
You want to give up completely, or you want to fix this installation? Repeating the apt-get install step might fix it. Or you could try to remove the broken package with apt-get remove --purge oracle-java6-installer
Feb
25
comment How can I quit a frozen application?
Can you switch to a virtual terminal with Control-Alt-F1 when it happens?
Feb
25
comment Shell Scripting
It looks like the line 1 of cadetkpgm2.sh is cadetkpgm2.sh. Check what's inside the file using cat cadetkpgm2.sh, because I think it's not what you think it is. After you fix the content of the file, bash cadetkpgm2.sh will run it. You can make it executable with chmod u+x cadetkpgm2.sh.
Feb
25
comment Shell Scripting
What's the error message? It probably tells you exactly what the problem is ;-)
Feb
19
comment How does security differ between any two standard users?
Down to file permissions, group memberships, and application specific custom settings. Why do you ask?
Feb
18
comment Problem opening .sh files
Can root access that file? Maybe the file is in your encrypted home directory?
Feb
15
comment How to store the array length in a variable in bash scripting language
@Akari ah.... I just noticed your typo...