Given a shell script file that begins as  #!/bin/bash  # (bash script here),   and has been chmod +xed, is there any difference in running ./script and bash script from the command-line?
There are several ways to execute a script. The ones I know are: /path/to/script # using the path (absolute or relative) . script        # using the . (dot) source script   # using the `source` command  Are there any other way? What are the differences between them? Are there situations that I must use one and not another?
There is currently no way to delete questions or answers in the iOS app, even with the required Trusted User privilege. We can edit and vote, but not delete.  Can this option please be added to the app? How can I remap keyboard keys in windows 8.1? I'm looking for a simple utility which will modify registry and would not require running at startup. I tried sharpkeys but, it does not seem to work in windows 8.1. Any other suggestions? Or a simple how-to tutorial for windows 8.1?  Edit: Keytweak isn't working either. Actually I want to map an unused key to function key (fn) and neither sharpkeys nor keytweak detect the keystroke for that key.   Thanks Understanding how references and labels work I think it would be nice to display tags in alphabetical order. Currently, tags are displayed in order of creation.  As a workaround, I remove, and then add the tags, which is a bit dumb, but I like 'em in alphabetical order.  It's probably pretty trivial to implement, and nice to have! "The ones" or "those"? I recently corrected  &quot;ghettos, such as the ones found...&quot; to &quot;ghettos, such as those found...&quot;  Was I correct, or are both versions right? On the order of elements of $\mathrm{GL}(2,q)$. There's a particular property of the elements of $\mathrm{GL}(2,q)$, the general linear group of $n\times n$ matrices over a finite field of order $q$, that I don't understand.  I know that the order of $\mathrm{GL}(2,q)$ is $(q^2-1)(q^2-q)=q(q+1)(q-1)^2$, since there are $q^2-1$ possible vectors for the first column, excluding the $0$ vector, and $q^2-q$ possible vector for the second column, excluding all multiples of the first.  So the order of any element must divide $q(q+1)(q-1)^2$ by Langrange. However, there is a further detail that      any element of $\mathrm{GL}(2,q)$ must have order dividing $q(q-1)$ or $(q-1)(q+1)$.    Is there a reason why one can narrow down the order to divide one of those smaller factors of $q(q+1)(q-1)^2$? Thanks! jQuery ui tabs This is a question thats been bothering me a while. I don't even know if it makes sense or not (like if it is a physics question or becoming a philosophical one). But here it goes. The crux of my question basically is that we all know that we can't see light (like in its photon or electromagnetic wave form) directly when it is traveling past us. However, we also know that the way we see objects is by light reflecting off them. This then means that we are "seeing" the light reflecting from the object which then sends the signal to our brain saying that we are seeing a particular object. We know that both light traveling past us and light reflected from objects are made of photons (so they are the same kind)? So then my question is that what is happening to the photon of a light after it is reflected from the objects, that causes us to see it or the object, but on the other hand we can't see light as it is directly traveling past us. In particular, I am referring to the Pearson product-moment correlation coefficient. Test coverage for setCookies method I am adding cookie to my page in the controller using  ApexPages.currentPage().setCookies(new Cookie[]{CookieName});  When am trying to get the code coverage, my test class is not covering the above line.  How to get the code coverage for the above setcookie method in the test class. Uses of the 'Golden Ratio' I have heard much about the numerous appearances of the ratio found in nature: 1.6180339887.  Are there any actual mathematical uses that have been found of this number? What are its advantages? Just curiosity, really. Under what conditions is $AA^T$ invertible? Given a matrix $A$ with dimensions $m \times n$, is $B=AA^T$ invertible if and only if the rows of $A$ are linearly independent?  So far, I've tried writing A as row vectors,   $$A = \begin{bmatrix}v_1\\ v_2\\ \vdots \\ v_m\end{bmatrix}$$  where $B_{i,j} = (v_i v_j) $  The Wikipedia page on the  suggests that the condition I stated above is necessary and sufficient, but does not provide a proof. If I run along the aisle of a bus traveling at (almost) the speed of light, can I travel faster than the speed of light? Let's say I fire a bus through space at (almost) the speed of light in vacuum. If I'm inside the bus (sitting on the back seat) and I run up the aisle of the bus toward the front, does that mean I'm traveling faster than the speed of light? (Relative to Earth that I just took off from.) Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request) I am having trouble debugging an issue with a plugin that I'm writing. I want to do an Ajax request when a user changes the option on a select input. The thing is it was fully working as expected yesterday, then when I test the website today (no code changes were made at all since yesterday) I'm getting an:   domain.com/wp-admin/admin-ajax.php 400 (Bad Request)  message in my Chrome console. If I try in Internet Explorer/FireFox it doesn't give the error in console but the Ajax request is still not working.  The plugin I'm creating is on a DigitalOcean droplet which was made using their one click app for WordPress.  Here is the barebones code I'm using on the plugin for the ajax:  //This is in a class' constructor method add_action('wp_enqueue_scripts', array($this, 'plugin_prefix_scripts'));  //PLUGIN_URL is a constant created earlier in the plugin public function plugin_prefix_scripts() { wp_enqueue_script('plugin_prefix_scripts', PLUGIN_URL . 'scripts/frontend_script.js'); wp_localize_script('plugin_prefix_scripts', 'js_object',   array(     'ajax_url' =&gt; admin_url('admin-ajax.php')   ) );   }  frontend_script.js:  $('#plugin-prefix-option-one, #plugin-prefix-option-two').on('change', function() {     var data = {         'action': 'plugin_prefix_page_change',         'option_val': 'some_val',     }      $.post(js_object.ajax_url, data, function(response) {         console.log(response); });   Back in the class:  add_action('wp_ajax_plugin_prefix_page_change', array($this, 'plugin_prefix_page_change'));  public function plugin_prefix_page_change() {     $arr = array(1, 2, 3, 4, 5);      wp_send_json($arr);      //I've also tried wp_die() and no die call at all but same outcome     die(); }   I'm unsure how to debug this further. Any help is much appreciated.  Thanks Is there an irrational number $a$ such that $a^a$ is rational? It can be proved that there are two irrational numbers $a$ and $b$ such that $a^b$ is rational (see ) and that for each irrational number $c$ there exists another irrational number $d$ such that $c^d$ is rational (see ).  My question is: Is there an irrational number $a$ such that $a^a$ is rational (and how could you prove that)? How to determine if string contains specific substring within the first X characters Why do corticosteroids harm COVID-19 patients? states that steroids could do more harm than good in treating coronavirus (COVID-19), referring to .      Understanding the evidence for harm or benefit from corticosteroids in   2019-nCoV is of immediate clinical importance.   It's unclear to me how exactly the use of corticosteroids (which is a common treatments for Asthma patients) can do harm other than the vague explanation of "steroids also impair the immune system's ability to fight viruses".   How exactly does the use of steroids harm the body in case of fighting a virus such as SARS-CoV-2 (2019-nCoV) that causes COVID-19? Getting hyperref to work with \citeyear and \citeyearpar in biblatex Changing CSV layer attribute value from text to number in QGIS? I read in a CSV file for linking to a .shp file.   All the variables that are just numbers came in as text.   How do I change the text variables to numeric in QGIS? I'm building a child theme and it currently has a very simple &lt;head&gt; section in header.php:  &lt;head&gt;   &lt;meta charset="&lt;?php bloginfo( 'charset' ); ?&gt;"&gt;   &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"&gt;   &lt;title&gt;&lt;?php wp_title( '|', true, 'right' ); ?&gt;&lt;/title&gt;   &lt;link rel="profile" href="http://gmpg.org/xfn/11"&gt;   &lt;link rel="pingback" href="&lt;?php bloginfo( 'pingback_url' ); ?&gt;"&gt;   &lt;!--[if lt IE 9]&gt;   &lt;script type="text/javascript" src="&lt;?php echo get_template_directory_uri(); ?&gt;/js/html5shiv.min.js"&gt;&lt;/script&gt;   &lt;![endif]--&gt;    &lt;?php wp_head(); ?&gt; &lt;/head&gt;   I'm guessing wp_head() is responsible for the second &lt;title&gt; element (it appears just there in the final HTML), but other things I've read say this is impossible.  Should I be removing the &lt;title&gt; from my header.php, or should I be adding something to my functions to remove the title from wp_head() (eg. remove_action('wp_head', 'title') ?  Or should I be doing something else altogether?