Reputation
900
Top tag
Next privilege 1,000 Rep.
See vote count; VIP usercard
Badges
10 15
Newest
 Yearling
Impact
~268k people reached

Apr
8
comment How to create Unity indicators?
@Mackwerk: the link works for me.
Mar
24
revised Print output of code in the middle of the screen
deleted 46 characters in body
Mar
24
answered Print output of code in the middle of the screen
Mar
11
comment Install uwsgi 1.2.5 via pip
your gcc installation is broken if can't find headers that are installed via standard packages
Mar
11
comment Command for determining my public IP?
@AdamMonsen Thank you for the link. The point of using DNS (as the answer that you've linked says) is that the response is standard (and unlikely to change) and the service (OpenDNS) might stick around longer than most of its http alternatives. The time it takes to make the request might be shadowed by the command start up time.
Mar
7
comment Sending SMS in Ubuntu 14.04
your mobile operator may provide a web-interface to send SMS. Then there is something like twilio.
Feb
23
comment How do I check whether a module is installed or not in Python?
@souravc: the point is to avoid sudo, not pip. I use pip all the time to install various packages into local virtual environments.
Feb
23
comment How do I check whether a module is installed or not in Python?
don't use sudo pip; it may break system python. Use apt-get to install packages for system python. You could use pip --user option or virtualenv to install Python packages for yourself.
Feb
23
comment How do I check whether a module is installed or not in Python?
@ZackTitan: pip is included with python on Windows too (since Python 2.7.9 and Python 3.4). Run python -m ensurepip, to make sure pip is installed there.
Feb
22
comment Install Python in Wine
I can confirm that wine msiexec /i python-3.4.2.msi /L*v log.txt commands can install Python 3.4 on wine-1.6.2 where the msi file is from python.org. wine start python-3.4.2.msi fails for some reason on my machine YMMV.
Feb
19
awarded  Yearling
Feb
19
revised Sleep time variable from file?
added 102 characters in body
Feb
19
answered Sleep time variable from file?
Feb
19
comment Sleep time variable from file?
do you want to wait for a specific (absolute) time such as 2015-02-20 12:00:00+00:00 or do you want to wait given number of seconds e.g., 10 (sleep 10 seconds). What do you want to happen if your computer hibernates: do you want the script to wake up immediately or wait the rest of the time e.g., 3 seconds?
Feb
18
comment Sleep time variable from file?
Yes. It is possible. Do you want to know how to pass a value from a file to the sleep command as a parameter or how to pass a value generated by another command as a parameter?
Feb
11
awarded  Nice Answer
Dec
7
awarded  Nice Answer
Oct
28
comment How to play a fixed frequency sound using Python
it should be (2*math.pi)
Oct
28
comment How to play a fixed frequency sound using Python
@user98415: add at the top from __future__ import division to avoid unnecessary truncation on Python 2.
Oct
25
comment Getting + installing gcc/g++ 4.9 on Ubuntu?
some steps are missing for 14.04. sudo pbuilder build gcc-4.9_4.9.0-6.dsc fails.