Determining if a process is running by its Command Name
Linux / Bash, using ps -o to get process by specific name?
How can I duplicate a mesh along a curve? I want to outline a curve in the form of text with a mesh (UV-sphere, cube etc.). How can I do that while saving mesh geometry without using the Curve modifier? Manually installing a program on Debian How can I get the node id the comment is attached to in hook_comment_insert?  I tried the following code:  function mymodule_comment_insert(Drupal\Core\Entity\EntityInterface $entity) {   if ($entity-&gt;bundle() == 'comment_custom' &amp;&amp; $entity-&gt;get('entity_type')-&gt;value == 'node') {      // Below returns empty, because "$entity-&gt;get('entity_id')-&gt;value" is empty.     $node = Node::load($entity-&gt;get('entity_id')-&gt;value);      // No luck with this one too.     $node = \Drupal::routeMatch()-&gt;getParameter('node');    } } Deriving the inverse of a 2x2 matrix I am looking for a derivation for the inverse of a 2x2 matrix. I am also wondering why the determinant is involved in the expression. I am familiar with high school maths and linear algebra. If there is an intuitive reason for expression i would also be interested in that. New global preferences: keyboard shortcuts and sticky topbar Following a global preference for , as of now, the preferences for enabling keyboard shortcuts and disabling the fixed topbar are network-wide* as well.  If you had either checked off on any site in the network, that setting has been preserved and applied to the whole network for your account already. Future changes will also apply to all* Q&amp;A sites.  Find them in their usual spot as previously on the  pages.    * With the exception of , which will support the fixed topbar after the . How to find the frequency and type of my current RAM? How shall I find out the frequency and type of my current RAM? My OS is Ubuntu 12.04. Showing a function on $[0,1]$ is the zero function In the proof of the lemma     For every limit ordinal $\alpha$, $\textrm{cf } \alpha$ is a regular cardinal    Jech says that     It is easy to see that if $\alpha$ is not a cardinal, then using a mapping of $|\alpha|$ onto $\alpha$ one can construct a cofinal sequence in $\alpha$ of length $\leq |\alpha|$, and therefore $\textrm{cf } \alpha &lt; \alpha$.    I've spent a while trying to construct this cofinal sequence and was wondering if I was on the right path:   From a bijection $f$ between $\kappa = |\alpha|$ and $\alpha$ take $S = \{\beta \in \kappa : \ f(\gamma) &lt; f(\beta)$ for all $\gamma &lt; \beta\}$ then if $\xi$ is the order type of $S$ and $g$ is the isomorphism from $\xi$ to $S$ the function $f\circ g$ is a cofinal sequence in $\alpha$ and $\xi &lt; \alpha$.   Is this on the right track, or is there an easier way of doing it? How to execute code after html form reset with jquery? I havent used my Ubuntu for quite a long time.  Today, when I booted Ubuntu (14.04 LTS), the software updater and Software &amp; Updates (from Settings) are not working.  The software updater's window will show up for around 1 sec, but it will close automatically. Software &amp; Updates is never shown, no matter how many times I click the icon. Note that neither of them show any error message.  Those 2 features were working perfectly the last time I used Ubuntu. I want to do some system upgrade and update.  For now, I use sudo apt-get update &amp;&amp; sudo apt-get upgrade. This command runs very fast, meaning (I think) my Ubuntu is not updated properly. The update from software updater always has a big size hence the download should be slower.  What should I do?   Can I just uninstall and reinstall both of them? If I can, how to do it?  Just to clarify, I don't want to upgrade my Ubuntu version (I want the LTS one), I just want to upgrade the software/packages I used.  Thanks for your time. I need a software, that emulates a printer, converts the printed documents to PDF/TIFF and send it via eMail to a specified address (for windows).  The virtual printer / PDF conversion is possible with a lot of PDF-converters. But I need a software, which is also able to directly mail me these PDFs. It's always the same mailaddress, and I have an SMTP server.  Any suggestions? Making separate Python installation that can call ArcPy? I see a lot of Q&amp;As asking how you can create a separate Python installation (e.g. the Anaconda or Python XY distribution) that can use arcpy, while not 'breaking' the original ArcGIS python installation.  I had this same problem, and I think I have found a 'universal' solution. So far we have done this on about 8 computers at work and it all works fine.   How to install a separate Python distribution that can use ArcGIS? Addition with NULL values Let $A\in M_{n\times n}(\Bbb R)$ so that $I\notin span(A,A^2,...,A^n)$. Prove that $\det(A)=0$.   I was thinking of showing $A$ is not invertible, meaning it has an eigenvalue of $0$. Since no matter the power you give to $A$, it is still not the identity, you can deduce that at least one eigenvalue is indeed $0$. However this doesn't work if you have different eigenvalues in the Matrix, so I got stuck.  Help will be most appreciated. I need to parse  strings like "2008-09-03T20:56:35.450686Z" into Python's datetime type.  I have found  in the Python standard library, but it is not very convenient.  What is the best way to do this? How can I create launchers on my desktop? What is a good set of naming conventions to use when developing on the Force.com platform? I've looked in the Apex developer's guide and a saw the   which has basically only has this:   We recommend following Java standards for naming, that is, classes start with a capital letter, methods start with a lowercase verb, and variable names should be meaningful.   I'm looking for something more in depth, such as end all Controllers with Controller and their tests with ControllerTest, etc.  What is a good set of naming conventions to use when developing on the Force.com platofrm?  It would be preferable if the answer has something that handles custom objects, classes, visualforce pages, and components and not just Apex classes. Is it possible to tell a Valyrian steel sword from a very well crafted steel sword, by sight alone I'm sure in Westeros there are some incredibly well crafted steel swords, but could someone instantly spot a Valyrian steel sword over one of these?  Does Valyrian steel have any visual indications that it is Valyrian steel and not just a very well crafted steel sword?  I'm wondering, in canon, has anyone seen a sword and instantly recognised it as Valyrian steel.  For the purpose of this question, no one is allowed pick up or use the sword, so they cant feel it's weight, balance, sharpness, etc... Dropping Internet connection on Realtek Semiconductor Co., Ltd. RTL8821AE I have continuous problems of network dropping connections on wifi with ubuntu 16.04, I have an ASUS R510J, this is my network card:  ##### lspci #############################  03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]         Subsystem: AzureWave RTL8821AE 802.11ac PCIe Wireless Network Adapter [1a3b:2161]         Kernel driver in use: rtl8821ae  04:00.1 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 12)         Subsystem: ASUSTeK Computer Inc. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [1043:200f]         Kernel driver in use: r8169   sudo service network-manager restart doesnt's help, as I never regain internet connection after it drops, and I have to restart the PC. On Ethernet cable I have no problem.  What do you think is the issue? drivers?  thank you This error occurs whenever I try to work with sudo. I changed the permissions of /var/ folder to 777 and I think this causes the error. Please help me get back a functional sudo and /var.