Get all styles from any element with JS
How do you read CSS rule values with JavaScript?
I was recently invited to join InitiativeQ via a friend on Facebook. The underlying idea makes rough sense to me (as a non finance expert). However their 'hook' seems to be that early adopters will get free money later down the line when the currency launches (the earlier you adopt, the more currency you will receive). Looking at the website, there is a big button with the text Reserve $128,957 (I assume that's their idea of what the dollar value of my reservation will be if it launches).  The website's production quality suggests it is not a scam, however the language suggests strongly that it is. Is this a scam, a get rich quick scheme? Or am I being overly paranoid? Why is integration the inverse of differentiation Why is integration the inverse of differentiation, I mean why do I get the same function when I integrate and then differentiate the result? RegEx: Grabbing values between quotation marks I have a value like this:  "Foo Bar" "Another Value" something else   What regex will return the values enclosed in the quotation marks (e.g. Foo Bar and Another Value)? Since humans are not large in mass, do we exert enough gravitational force for a small object to orbit around us? (Assuming that the only gravitational force acting on the object is from the human). Using Newton's law of gravity and using myself as the human mass, I exert a 10^-8 force on a 1 kg object .5 meter away, but I am not sure if even this small of a force will be acceptable. What is the baseline "force" between two objects for 1 to orbit another?  Edit: I am not sure if this is a SpaceExchange question. Abelianization of free group is the free abelian group Will the below code cause memory leak in c++ class someclass {};  class base {     int a;     int *pint;     someclass objsomeclass;     someclass* psomeclass; public:     base()     {         objsomeclass = someclass();         psomeclass = new someclass();         pint = new int();          throw "constructor failed";         a = 43;     } }  int main() {     base temp(); }   In the above code, the constructor throws. Which objects will be leaked, and how can the memory leaks be avoided?  int main() {     base *temp = new base(); }   How about in the above code? How can the memory leaks be avoided after the constructor throws? How do I wrap a macro definition in an environment? Is it possible to detect a virus with taskmanager? If I would have a running virus on my system, would I be able to see the process in taskmanager? I mean, would it be possible for a running virus to circumvent the taskmanager so the process doesn't appear in the tasklist of windows7?  Or in other words. If I really now all the processes in taskmanager to be secure, I also know that my PC is clean? Mouse disappear in VirtualBox I am using latest version of VirtualBox (VirtualBox 4.3.6 for Windows hosts) and after installing any OS and clicking inside of it mouse disappear. It is not visible until I press right CRTL. Anyone know what can cause this problem. I have also installed extension pack. "Hope you won't" vs "Hope you don't" What is the difference between "Hope you don't mind" and "Hope you won't mind"? What could be a contextual difference between the two? In a situation like the following, which one seems more appropriate?        Expect me to knock on your door sometimes. Hope you don't mind -or- Hope you won't mind (my knocking on your door) Is it possible to make the -init method private in Objective-C? I need to hide (make private) the -init method of my class in Objective-C.  How can I do that? Is this correct? "One of the things that makes him great is..." One of the things that makes him great is he brings it every night.   I'm pretty sure it should be that make him in the plural, because one of the things is referring to a lot of things and a lot of things should take a plural verb. But I always hear native speakers in America say it in the singular, so with an s.  Another example:     This is one of the responsibilities that comes with greatness and he understands that.   Native speakers always use the verb in the singular (here, comes) even though [I believe] it is grammatically incorrect to use the singular form of the verb there. Some of the Puella Magi seem to have magical powers related to the wishes that they made. Sayaka has regeneration abilities, and she wished to heal someone. Homura has time manipulation abilities, and she wished to go back in time.  But other magical girls, like Mami and Kyouko, don't appear to have powers related to their respective wishes.  So, is there a connection, or is it only a coincidence for Sayaka and Homura? If it's the former, how do Mami and Kouko's wishes relate to their powers? Show that holomorphic $f_1, . . . , f_n $ are constant if $\sum_{k=1}^n \left| f_k(z) \right|$ is constant. Alright Ubuntu wizards, I jacked up my system a bit unnecessarily, which is now giving me the chance to learn more about how to fix it...a vicious cycle. Anyway, I have it mostly up and running again to my liking, though I am receiving this (photo attached) prompt when my system boots:  libkmod: ERROR ../libkmod/libkmod-config.c:686 kmod_config_parse: /etc/modprobe.d/blacklist.conf line 56: ignoring bad line starting with 'rt2800usb'   Other users had success with just deleting the bad line from their blacklist.conf file, which I have done. Line 56 no longer exists, but I'm still receiving the same error. So am I missing something? Is there some follow-up command I need to give Ubuntu after saving the conf file? Make mod_wsgi use python2.7.2 instead of python2.6? i am running Ubuntu 10.04.1 LTS  and it came pre-packed with python2.6 but i need to replace it with python2.7.2.   (The reason is simple, 2.7 has a lot of features backported from 3 )  i had installed python2.7.2 using  ./configure make make altinstall   the altinstall option installed it, without touching the system default version, to /usr/local/lib/python2.7 and placed the interpreter in /usr/local/bin/python2.7  Then to help mod_wsgi find python2.7 i added the following to /etc/apache2/sites-available/wsgisite  WSGIPythonHome /usr/local   i start apache and run a test wsgi app BUT i am greeted by python 2.6.5  and not Python2.7  Later i replaced the default python simlink to point to python 2.7  ln -f /usr/local/bin/python2.7 /usr/bin/python   Now typing 'python' on the console opens python2.7 but somehow mod_wsgi still picks up python2.6  Next i tried,  PATH=/usr/local/bin:$PATH export PATH   then do a quick restart apache, but yet again its python2.6 !!    Here is my $PATH  /usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games   contents of /etc/apache2/sites-available/wsgisite  WSGIPythonHome /usr/local   &lt;VirtualHost *:80&gt;      ServerName wsgitest.local     DocumentRoot /home/wwwhost/pydocs/wsgi     &lt;Directory /home/wwwhost/pydocs/wsgi&gt;         Order allow,deny         Allow from all     &lt;/Directory&gt;      WSGIScriptAlias / /home/wwwhost/pydocs/wsgi/app.wsgi  &lt;/VirtualHost&gt;   app.wsgi  import sys  def application(environ, start_response):     status = '200 OK'     output = sys.version      response_headers = [('Content-type', 'text/plain'),                         ('Content-Length', str(len(output)))]     start_response(status, response_headers)      return [output]   Apache error.log  'import site' failed; use -v for traceback [Sun Jun 19 00:27:21 2011] [info] mod_wsgi (pid=23235): Initializing Python. [Sun Jun 19 00:27:21 2011] [notice] Apache/2.2.14 (Ubuntu) mod_wsgi/2.8 Python/2.6.5 configured -- resuming normal operations [Sun Jun 19 00:27:21 2011] [info] Server built: Nov 18 2010 21:20:56 [Sun Jun 19 00:27:21 2011] [info] mod_wsgi (pid=23238): Attach interpreter ''. [Sun Jun 19 00:27:21 2011] [info] mod_wsgi (pid=23239): Attach interpreter ''. [Sun Jun 19 00:27:31 2011] [info] mod_wsgi (pid=23238): Create interpreter 'wsgitest.local|'. [Sun Jun 19 00:27:31 2011] [info] [client 192.168.1.205] mod_wsgi (pid=23238, process='', application='wsgitest.local|'): Loading WSGI script '/home/wwwhost/pydocs/$ [Sun Jun 19 00:27:50 2011] [info] mod_wsgi (pid=23239): Create interpreter 'wsgitest.local|'.   Has anybody ever managed to make mod_wsgi run on a non-system default version of python ? "Coming soon" pages & SEO I am setting up my personal website, and I have designed a simple "Coming Soon / Under Construction" page which basically has nothing but a small notice for the users.   What kind of SEO can I make on this page such that it won't harm the full website's ranking later on? Why does list(my_list) modify the object? How long was Luke Skywalker's training with Yoda? Signature/date line with fixed width I'm trying to create a signature and date line in a document.  I need the date line to always be in the same spot on the page no matter what name is under the signature line, such as:  ----------------------   ---------------------- Representative           Date  ----------------------   ---------------------- Program Manager          Date   Here is the code I currently have:  \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ User Representative \makebox[2.5in][r]{Date} \\  \vspace{.2in} \makebox[2.5in]{\hrulefill} \hspace {1.0in}\makebox[2.5in]{\hrulefill} \\ Program Manager \makebox[2.5in][r]{Date} \   I want to be able to change the names, such as change Program Manager to Joe Foo and have the word 'Date' stay in the exact place.  Any help would be greatly appreciated.  I'm still a newbie at TeX so please forgive my ignorance.