How does this bash alias to repeat the last command as sudo work?
How can I `alias sudo !!`?
In QGIS, I have been learning a few expressions to style my trail maps but still know little and am stumped on what to use to filter my symbol data. I am showing Parking locations on my map. I use a marker symbol as a background element, so I can do callouts. I created a data field and added values to display beside this symbol a number that references a list of parking addresses in the book's text. All good except if the field has no number to display, it is NULL, it does not display my marker symbol. I need to filter this, so it does show even when there is no value in the field. Error installing any module I created a bunch of filters in Gmail for a "master account" that receives forwarded mail from all of my accounts.  The filter list and web of labels/folders has grown to be rather long, and therefore a bit burdensome to manage. I would like to edit / delete / consolidate a lot of these filter rules (and folders) but it seems the only way I can interface with them is through the laundry list at Setting/Filters. It'd be cool there was an option to "View/Edit Filter" on an individual email's page, but I'm not sure if something like that currently exists.  What's the best way to view a filter rule currently being applied to an email (in Gmail)? I have a quick question. Looking at the next GIF that I made, what is the quickier way you can come up with to delete the excess material that goes beyond the wall? It is basically the attachment of the handrail to the wall what is giving me this "problem".    My solution would be using the boolean modifier with a cube or something, so obviously I know how to do it. But I'm looking for the best solution, i.e., does Blender let me select the excess material in any way? For example, is there a quick way to intersect those planes? I read about intersecting planes in Blender and seems like a difficult task (not worth it in this case). So I discarded that solution.  Thanks. Wires do not connect in Circuitikz I've been trying to use relative coordinates to make my drawings more precise but it seems I don't know how the command \node works since I've been having this problem while connecting a circuit element to another:    I'm trying to eliminate the blank between the two wires.  This is the minimal code:  \documentclass{book} \usepackage[siunitx,RPvoltages]{circuitikz} %Circuit Schematics/Diagram \usetikzlibrary{arrows,shapes,calc,positioning} \begin{document}     \begin{circuitikz}             \path (0,0) coordinate (C);             % Comparatore             \path (C) + (0,-1) + (1,0) coordinate (com) node[above]{};             \path (com) + (1.5,-1) node[op amp] (comp) {};             % Collegamenti Comparatore             \node (G1) at ([shift=({-1.3cm,0cm})]comp.-) {};             \draw (G1) -- (comp.-);             \node (G2) at ([shift=({-1.3cm,0cm})]comp.+) {};             \draw (G2) -- (comp.+);             \draw (C) -- (G1); % Collegamento Rettificatore - Comparatore         \end{circuitikz} \end{document}   Thanks for any help! How can I compute $\mathrm{Aut}(\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z})$? How can I compute $\mathrm{Aut}(\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z})$?  If $\varphi$ is one of this automorphism then $\varphi((1,0))=(1,0),(1,3),(3,3),(3,0)$ and $\varphi((0,1))=(0,1),(0,5),(2,1),(2,5)$.  So it seems to me that this groups contains 16 elements, am i right? And if I'm right there is a way to understand to which group of cardinality 16 this is isomorphic to?  EDIT: $\mathbb{Z}/4\mathbb{Z}\times\mathbb{Z}/6\mathbb{Z}\cong\mathbb{Z}/8\mathbb{Z}\times\mathbb{Z}/3\mathbb{Z}$. And $\mathbb{Z}/8\mathbb{Z}$ and $\mathbb{Z}/3\mathbb{Z}$ are characteristic (am I right?), so $\mathrm{Aut}(\mathbb{Z}/8\mathbb{Z}\times\mathbb{Z}/3\mathbb{Z})\cong\mathrm{Aut}(\mathbb{Z}/8\mathbb{Z})\times\mathrm{Aut}(\mathbb{Z}/3\mathbb{Z})\cong\mathbb{Z}/8\mathbb{Z}^*\times\mathbb{Z}/3\mathbb{Z}^*$ and this group has cardinality 8, right? Where is my mistake? Event binding on dynamically created elements? How can I type "lambda-bar"? What happens if I am afflicted with a condition that worsens on a failed save and choose not to try to save? Do I:   Automatically suffer the effects of the failed save? Keep my current condition? Have no choice and must roll the save regardless?   This came up in a game earlier this afternoon when we decided to just stop saving against the effect that was causing us to fall unconscious. Specifying spaces between words How do you create a dropdownlist from an enum in ASP.NET MVC? get list item by id using COM sharepoint 2013 I need to get item from list sharepoint by Id I use this code and it give me all the items of the list :  &lt;script&gt;  function parseURLParams(url) {         var queryStart = url.indexOf("?") + 1,             queryEnd = url.indexOf("#") + 1 || url.length + 1,             query = url.slice(queryStart, queryEnd - 1),             pairs = query.replace(/\+/g, " ").split("&amp;"),             parms = {}, i, n, v, nv;          if (query === url || query === "") {             return;         }          for (i = 0; i &lt; pairs.length; i++) {             nv = pairs[i].split("=");             n = decodeURIComponent(nv[0]);             v = decodeURIComponent(nv[1]);              if (!parms.hasOwnProperty(n)) {                 parms[n] = [];             }              parms[n].push(nv.length === 2 ? v : null);         }         return parms;     }  $( window ).load(function() {   var urlString = document.URL;  urlParams = parseURLParams(urlString);  ExecuteOrDelayUntilScriptLoaded(retrieveActualite, "sp.js");          var siteUrl = '/sites/securite';      function retrieveActualite() {              var clientContext = new SP.ClientContext(siteUrl);             var oList = clientContext.get_web().get_lists().getByTitle('Actualite');             var camlQuery = new SP.CamlQuery();              camlQuery.set_viewXml('&lt;Query&gt;&lt;Where&gt;&lt;Eq&gt;&lt;FieldRef Name=”ID” LookupId="TRUE"/&gt;&lt;Value Type="Text"&gt;' + urlParams.IdArt[0] + '&lt;/Value&gt;&lt;/Eq&gt;&lt;/Where&gt;&lt;/Query&gt;');             this.collListItem = oList.getItems(camlQuery);             clientContext.load(collListItem);             clientContext.executeQueryAsync(onQuerySucceededActualite, onQueryFailed);         }          function onQuerySucceededActualite(sender, args) {              var listItemInfo = '';              var listItemEnumerator = collListItem.getEnumerator();             while (listItemEnumerator.moveNext()) {                 var oListItem = listItemEnumerator.get_current();                   var desc=oListItem.get_item('Description');                 $('#idArticle').append('&lt;label class="titleArticle"&gt;'+oListItem.get_item('Title')+'&lt;/label&gt; &lt;br&gt;&lt;br&gt;&lt;p class="ContenuArticle" &gt;'+desc+'&lt;/p&gt;');                          }         }          function onQueryFailed(sender, args) {              alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());         }       });    &lt;/script&gt;   so how can I get only the considered item ? Are partially charged wands generally purchasable? "Speed" of Gravity and Speed of Light Some threads here touching speed of gravity made me think about that. This lead to some questions.    The speed of gravity was not measured until today (at least there are no undebated papers to that effect). It seems common knowledge/belief among physicists that the speed of gravity is the same as the speed of light.    And this is my question: Is that speed of light = speed of gravity a result of GR or is that fed into the theory? Or is there some evidence from other sources than GR for this? Does the same speed imply some deep-lying relation between gravity and electromagnetism? How to edit / how to format box overlapping with footer when scrolling down I just edited an answer on Unix&amp;Linux and when scrolling down, the semi-transparent right sidebar boxes "How to edit" and "How to format" kept their fixed positioning and overlapped with the page footer.     While posting this, I have seen several (not) duplicate questions about this issue, and although from my personal taste, I would prefer the boxes to stop scrolling before the footer is reached, I can accept the development teams decision to let it overlap.   However, on all those other posts, the boxes had an opaque background, so that the footer was hidden and the box content was readable. Here the boxes are transparent though, so the texts get mixed and are no longer well readable. I have a "term reference" field, in a form that uses an auto-complete widget. I want to limit user input to terms in the vocabulary only, and output a message when a user tries to enter a non existing term.  I found the  module. However this does not work with forms that contain a field collection or a field group.  There is also a contributed patch . But I was wondering whether there was a simpler/cleaner solution like a module or maybe I missed an already existing way of doing it with latest drupal and taxonomy versions. Physics history book with some math I am looking for a book explaining physics from, say, Galileo and Newton till now; the book should be written using some math, similarly to my physics books when I was at the university (Halliday Resnik). I am searching a book that take care of explaining the true "evolution" of reasoning, discoveries, experiment to prove or disprove something.  I do not like a book that gives definitions without explaining what had happened. I also like to find, on that book, explanations on how actual measurements are taken (how can we measure the speed of light, the mass of celestial bodies, the attributes of electron, and how were the measurements taken in the past - how was possible to measure the speed of light in 1700-1800?).  I am not very interested in recent theories like strings, branes.... so it is OK if these are not discussed.  I like to find a lot of discussions on concept that are related, like for instance the implications on space dimensionalities, ether non-existence, strange facts, missing explanations. How do I set a default host for nginx? Storing the original document class page layout with geometry Adding admin-ajax.php to the frontend. Good or bad idea? I love admin-ajax.php. But I hate having to localize in order to point frontend scripts to it, and I wish there was an equivalent, easy-to-find file for themes. (It also just bothers me to see frontend requests go through "/wp-admin/". No practical reason, just looks ugly IMO.)  So I've simply copied admin-ajax.php to the root dir at "/ajax.php", adjusted the include paths and removed the WP_ADMIN constant definition. Seems to work like gangbusters (I can now just direct all my frontend AJAX requests to /ajax.php! And I can still use the normal wp_ajax hooks in my plugins!).  But is this safe? What might go wrong? Since this isn't built into core, I assume there's a good reason as to why not. But looking through the code, I can't see any immediate problems.   You're smart--tell me if this approach is crazy. Or if there's a simpler method that I'm overlooking.