I am trying to attach a custom js library to the contact module. Here is the content of my js/custom.js file: function myFunc(){    console.log('hello toto'); }  document.addEventListener('click', myFunc, false);  Here is the content of contact.info.yml: name: Contact type: module description: 'Provides site-wide contact forms and forms to contact individual users.' package: Core # version: VERSION core: 8.x configure: entity.contact_form.collection  # Information added by Drupal.org packaging script on 2020-10-07 version: '8.9.7' project: 'drupal' datestamp: 1602100551 libraries:   - contact/custom  and contact.libraries.yml: custom:   version: 1.x   js:     js/custom.js: {}  However, the custom.js library is not listed in js files when I open the contact page... Can someone please help?
I created a custom module in drupal 8. And I am trying to add js and css file in  my_module.libraries.yml file using this   lrv_key:   version: 1.x   js:     js/lrv.js: {}        dependencies:       - core/jquery       - core/drupalSettings   css:     theme:       css/lrv.css: {}   But it doesnt work.
I can open Thunderbird but as soon as I click on any file thunderbird freezes. Went to tools can see first page of settings but thunderbird freezes.  Ran norton 360 &amp; rebooted too   Went to firefox website to download thunderbird Version 3.1.9 (3) program downloads and then freezes while norton checks for viruses....  Any suggestions? How can I grep in PDF files? Is there a way to search PDF files using grep, without converting to text first in Ubuntu? Q&A Identification of seldom man-made physical objects not being piece of art? Is SE Q&amp;A format relevant for "identification of seldom physical objects observed in real world"?  Questions like "I do not know function of this object (picture) - which purpose does it have?"  In many cases I suppose these question could have civil engineering or handcraft i.e. cultural/historical background. In second case "SE history" might be okay. For first case, I do not know. $\DeclareMathOperator{\tr}{tr}$Let's consider a $n \times n$ matrix and the sequence of traces $\tr(A)=\tr(A^{2})= \ldots = \tr(A^{n})=0$. How to prove that $A$ is a nilpotent matrix (a matrix so that $A^{k} \times u = 0$ for all $u \in V$ and for some $k$)?  Maybe it would be reasonable to consider $A$'s Jordan form (we assume that the action occurs over an algebraically closed field, such as $\mathbb{C}$). For example, suppose that we have found it and $A'$ consists of $m$ blocks of sizes $r_{1}, \ldots r_{m}$ ($r_{1}+r_{2}+\ldots+r_{m}=m, r_{i} \in \mathbb{Z}_{+}$) with $\alpha_{1}, \ldots \alpha_{m}$ as corresponding eigenvalues to each of the blocks. Then, according to the problem will get the system  $$\begin{align} r_{1}\alpha_{1}+&amp;\ldots+r_{m}\alpha_{m}=0 \\ r_{1}{\alpha_{1}}^{2}+&amp;\ldots+r_{m} {\alpha_{m}} ^{2}=0\\ &amp;\ ~\,\vdots \\ r_{1}{\alpha_{1}}^{n}+&amp;\ldots +r_{m}{\alpha_{m}}^{n}=0  \end{align}$$  But the system's analysis over $\mathbb{C}$ seems to be too much complicated.  Actually, the problem must have more or less simple solution.  Any piece of advice would be much appreciated. Reduce Spacing In $$ In math, one often needs to put a letter inside the symbols &lt;&gt;, e.g. to denote a cyclic group &lt;x&gt; generated by some element x. However, plain text displays the symbols &lt; and &gt; as an upside down exclamation point and an upside down question mark, respectively, while math type displays a large space like so:  &lt; x &gt;    Is there some way to reduce this spacing? Entering U.S. exactly on the day of visa "expiration date" I'm a bit surprised from my US Visa. I plan to go to a conference on 3rd of April. Amazingly though, the visa expiration date is written as April 3rd.  So what does that mean. Can I enter the US on April 3rd? or should I enter one day earlier? How to get pretty HTML source code from PHP generated output? Can I get Shadowmere if I've abolished The Dark Brotherhood? I know that  is a quest reward from the Dark Brotherhood questline. However, since I took the other route, killed Astrid when she visited me and got the quest to destroy the Brotherhood, which I later did (she can't tell me what to do!), I was wondering if it's still possible to get her horse some other way and not through the quest. Drush hangs when trying to bootstrap Drupal ToolStrip sometimes not responding to a mouse click How do I remove the limit on PC keyboard button presses? Optimal tiling of polygon using ArcGIS Desktop? I am trying to tile a polygon with a minimal number of fixed sized squares.  Currently I am creating a fishnet over my polygon then spatially joining the squares that intersect the polygon. This is not optimal.  Also note the squares can be shifted vertically/horizontally but not rotated.  My end goal: The polygon represents a clipped image and I want a tiling of the clipped image. Where each tile is 300px by 300px. Some overlap is fine if that makes the problem easier.  Current    Manually optimized    Are there any tools or algorithms that would help with this? I am proficient with Python and ArcMap.  The polygon was created from line features so I also have access to those segments. Maybe that would will help for generating the squares.  The entire polygon must be covered. Why does the division algorithm work for converting between number bases? Anyone can optimized this code for better explanation and easy to understand? resizing a BUTTON through CSS I have seen a "Universal Laptop Adapter" sold in a computer shop before. I am thinking of getting one for a laptop. Is it safe to use? What differences are there between one of these and a typical laptop adapter? Prove $(x+y)(y+z)(x+z)≤\frac8{27}(x+y+z)^3$ The entire exercise was like $$8xyz≤(x+y)(y+z)(x+z)≤\frac8{27}(x+y+z)^3\quad x,y,z&gt;0$$  and I managed to solve (demonstrate) the first inequality (from the left) using $$\frac{x+y}2≥\sqrt{xy}$$ but I can't solve the second one. I tried several ideas but I haven't succeeded. Thanks a lot. Viewing computer screen through 3D glasses, why the asymmetry? What does a Terminator do after its mission is accomplished? A Terminator is essentially given a mission or an objective ("Go back in time and kill Sarah Connor" or something of the like).  What does a Terminator do once its mission is accomplished?  We see in Terminator 2: Judgment Day (the live-action movie) that the  (played by Arnold Terminator Schwarzenegger) completed its mission of protecting the Connors, and then sort-of just melted itself into nothingness (presumably to protect the world from discovering Terminators again).  But what would the  or the  (in Terminator 3) have done?   Are they given multiple directives ("Go kill Sarah Connor, then go kill Robert Baratheon, and then have a nice hot bath; you've earned it")?  This question is related, but not a dupe: How to change a default application in Ice Cream Sandwich? I used the ADWLauncher EX by default while having Gingerbread 2.3.6.  Today I have manually updated my Nexus S to Ice Cream Sandwich 4.0.3, and I wanted to give the new default launcher a shot, but I cannot find anymore where to select / forget the default application for an action.  I've turned the settings of my phone inside out, googled and crawled the forums, but without success. If anybody can tell me how to change a default application in ICS, I'd be grateful!      Yeah, I never thought I'd want to see that Complete action using... window again! :D