213 reputation
15
bio website pyg.readthedocs.org
location
age 19
visits member for 3 years, 2 months
seen Apr 12 at 11:42

Code complexity and other software metrics for Python!

Here is the documentation: http://radon.readthedocs.org/
And the GitHub project: https://github.com/rubik/radon


Aug
30
comment Start Vim as my user with root privileges
That's great, thank you. I solved like this: alias svim="HOME=/home/user && sudo vim -u $HOME/.vimrc".
Aug
30
asked Start Vim as my user with root privileges
Aug
14
comment New bash prompt causing issues
Wow it works very well. I just added bold_style=$(tput bold) and \[$bold_style\] at the start of the string to make everything bold like in my question.
Aug
14
accepted New bash prompt causing issues
Aug
14
comment New bash prompt causing issues
Thank you! I didn't know of tput. This way everything is more clear and readable. Thanks!
Aug
14
comment New bash prompt causing issues
Oh I hadn't understood that every control sequence needed to be wrapped like that. Thanks!
Aug
14
asked New bash prompt causing issues
Nov
12
asked chmod - change permissions on a file
Apr
17
comment How to get the name of the user that launched `sudo`
Thank you for the advice. Ok, I will set my euid to SUDO_UID.
Apr
16
accepted How to get the name of the user that launched `sudo`
Apr
16
comment How to get the name of the user that launched `sudo`
+1 WoW! Thank you very much! That was exactly what I was looking for. I think I will use SUDO_UID and SUDO_USER. Thank you again.
Apr
16
asked How to get the name of the user that launched `sudo`
Mar
21
awarded  Scholar
Mar
21
awarded  Student
Mar
21
accepted Restoring backup files
Mar
21
asked Restoring backup files
Jan
28
awarded  Supporter
Jan
28
comment Once sudo su'd to root, is there a command to see my username?
On my system it works: whoami returns 'root', who am i returns my username