i wish to set higher priority for my dns nameservers, or override the ones that are being set by the dhcp server. no matter which approach i took, nslookup never displays the right dns nameserver.  please see the snippet below.  $ cat /etc/*release* | grep -i dist DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"   resolvconf:  $ cat /etc/resolvconf/resolv.conf.d/base  nameserver 208.67.222.222 nameserver 208.67.220.220 $ sudo resolvconf --enable-updates $ sudo resolvconf -u $ nslookup &gt; server Default server: 127.0.1.1 Address: 127.0.1.1#53   dhcp:  $ tail -n 1 /etc/dhcp/dhclient.conf  supersede domain-name-servers 208.67.222.222, 208.67.220.220; $ sudo service networking restart $ nslookup &gt; server Default server: 127.0.1.1 Address: 127.0.1.1#53   how it can be done??
I (think) that I've configured a static IP address in /etc/network/interfaces:  # The primary network interface  auto eth0  iface eth0 inet static     address 10.1.1.2     netmask 255.255.255.0     network 10.1.1.0     broadcast 10.1.1.255     gateway 10.1.1.1   And I change the file /etc/resolv.conf to include the desired nameservers.   Then I restart networking sudo /etc/init.d/networking restart  But after some hours resolv.conf always reverts back to the DHCP nameserver.   I should also say that this is Ubuntu Server with only l0 and eth0 interfaces.
I had parked my follower at an inn with a bunch of valuable items that I didn't want to carry. I guess I have been out a bit too long as this message appears:      Your follower tires of waiting and leaves.    There have been other situations where my follower has mysteriously disappeared as well.  How can I find my follower when they get up and leave or disappear into thin air? How do I run a sudo command needing password input in the background? I have recently disabled  so that it now prompts me for a password every time.  And though this is good for security, it has caused one slight problem which I haven't been able to figure out a solution for, I am unable to run commands which go along the lines of:   sudo &lt;command&gt; &amp;   In the past I would have run a sudo command before that, it would have cached my password and allowed me to run sudo commands without prompt for the next few minutes, and thus it would allow me to run the command.  But when I run it now as there is no caching before hand and as it starts a new thread immediately and sudo doesn't even prompt me for a password, I am unable to run it in this way.  So unless I run sudo -i before it I am unable to run a command in this format which is becoming rather annoying. So I was wondering if there is any way to get around this and still run programs and commands in this way?  I am running Ubuntu GNOME 15.10 with GNOME 3.18, and specifically the program I want to run in this fashion is etherape if that makes any difference, but I would really like the solution to work for all programs and commands. Is "tri-quarterly" a real English word meaning 3 times a year? Is "tri-quarterly" a real English word meaning 3 times a year? Are there any other words that mean 3 times a year? How can I repair the Windows 8 EFI Bootloader? How can I port forward with iptables? I want connections coming in on ppp0 on port 8001 to be routed to 192.168.1.200 on eth0 on port 8080.  I've got these two rules  -A PREROUTING  -p tcp -m tcp --dport 8001 -j DNAT --to-destination 192.168.1.200:8080  -A FORWARD -m state -p tcp -d 192.168.1.200 --dport 8080 --state NEW,ESTABLISHED,RELATED -j ACCEPT   and it doesn't work. What am I missing? form in a .tpl.php file This is the code in my template.php file.  function studiga_theme_theme($existing, $type, $theme, $path) {         $items['add_property_form'] = array(         'render element' =&gt; 'form',         'template' =&gt; 'node--14',         'path' =&gt; drupal_get_path('theme', 'studiga_theme') . '/templates/node',     );      return $items; }    function custom_add_property_form($form, &amp;$form_state) {     $form['first_name'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('First name')),     );     $form['last_name'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Last name')),     );     $form['address'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Address')),     );     $form['city'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('City')),     );     $form['state'] = array(         '#type' =&gt; 'select',         '#options' =&gt; array(             'default' =&gt; 'State',             '...' =&gt; '...',         ),     );     $form['zip'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Zip')),     );     $form['email'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Email')),     );     $form['phone'] = array(         '#type' =&gt; 'textfield',         '#attributes' =&gt; array('placeholder' =&gt; t('Phone')),     );     $form['submit'] = array(         '#type' =&gt; 'submit',         '#value' =&gt; 'Submit',     );      return $form; }   This is the code in node--14.tpl.php.                                          Contact Information                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  &lt;div class="row"&gt;     &lt;div class="small-12 medium-12 large-8 large-offset-2 columns"&gt;         &lt;?php print render($form['submit']); ?&gt;     &lt;/div&gt; &lt;/div&gt;     But no fields are appearing - what am I doing wrong? You can't have a straight forward  in a tpl.php file can you? Downloading files using wget I am trying to download files from .  The URL is:   When I use this command:  wget http://www.ncbi.nlm.nih.gov/geo/download/?acc=GSE48191&amp;format=file    I get only index.html?acc=GSE48191 which is some kind of binary format.  How can I download the files from this HTTP site? Answer turned to CW, votes pre-CW era doesn't count in tag specific stat My understanding is that if an answer becomes CW (one way or another), original author gets to keep the votes pre-CW.  Does this also keep the pre-CW vote count for the tag-specific stat? It doesn't look like it, because I checked recently and suddenly my number dropped. It looks like the tag-specific stat just counts votes for non-CW answers, and doesn't "discriminate" between the pre-CW and post-CW era. If it's eventually CW, then it simply contributes 0 votes.  I'm fine with the fact that my answer became CW (in this case, through the question having 30+ answers), but I would like to keep the votes I earned before it did for the tag stat.  Otherwise I think the system is "broken". Someone can go posting 30+ answers to questions where Jon Skeet answered, and all of Jon Skeet's answers would become CW, and he'd then be 0 at all tags. Clipping image with Basic (ArcView) level license of ArcGIS Desktop? Is there a way to trim a geo-referenced air photo to an irregularly shaped boundary?    I tried the clip tool shown in my attachment, but it didn't work.  It looks as though the output extent field requires a rectangularly shaped polygon as the clipping feature.    Can I even do this in ArcView?    I've never had a request to do anything like this before.        I do use Photoshop and other similar software packages.  I could just go in to an environment like this &amp; start painting everything outside of my boundary in white, but then I would have to come back in and geo-reference the image again, and it just strikes me that there must be a faster and easier way (even though I only have ArcView 9.3). I recently moved into an in-law unit of a large old house.  In the kitchen, there are two pipes coming out of the wall (one protruding out a little more than the other).  I had assumed they were gas lines to connect my stove.  But since the stove only connects to one pipe, I'm now wondering if they're actually water lines. Can anyone explain how I can tell the difference? On the other side of the wall is a large closet with the air conditioning system, water heater, and what I think is the gas shutoff valve. Checkout one file from Subversion How to turn the white colour portion to transparent I got this map icon in work in illustrator, and would like to turn those white dash line and the white outline of the location mark to transparent. Can you please advise me how to do it? Thank you in advance. I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.   How do I get sed to replace just the first occurrence of a string in a file rather than replacing every occurrence?  If I use  sed s/#include/#include "newfile.h"\n#include/   it replaces all #includes.   Alternative suggestions to achieve the same thing are also welcome. How to play DVDs in Ubuntu 16.04? Existence of $f'\in F$ such that $f^{[G:F]}=(f')^n$ for finite extension $F\subset G$ Let $F$ be a field and $u\in F$. Further, let $F\subset G$ be a finite extension and $v\in G$ such that $v^n=u$ for $n&gt;0$.     How would I show that there exists a $\tilde{u}\in F$ such that $u^{[G:F]}=(\tilde{u})^n$?   My first thought was to use the norm map $N_{G/F}(x)=\Pi_{\sigma\in X(G/F)}\sigma(x)$, where $X(G/F)$ is the fundamental set for $F\subset G$. However, I wouldn't know how to continue on this path. Can I cast a spell in the middle of jumping with a Jump spell? I have not completely read the rules for 5e, and my group has played a decent amount of 4e. We recently started 5e.  So my question is, as a Wizard, can I cast the Jump spell on myself one turn, then the next turn jump high into the air and cast Thunderwave straight down? I'm a little unsure of how the actions work in 5e. The point is to hopefully knock a handful of enemies prone to make quick work of them with my group. (We have a house rule from 4e where a successful attack on a prone character is an automatic critical.) I'm training a neural network for regression. The input vector consists of $140$ entries.   For each feature vector entry, I calculate both min and max over the training set. The difference max-min of some entries are smaller than 1e-5. I understand I can normalize such feature entries by say MinMaxScalar. However, if the difference max-min is this small, can I discard such entries since they seem to be so insensitive? This question dovetails with this post on .  I am familiar with some of larger, paid-for business registry's like  and .  While the detailed information their business listings database include (like # of employees, annual sales, industry code, etc) is fantastic, if you are on a limited budget, sometimes the cost of purchasing the data outweighs the value you can get from it.  If you have geocoding capabilities in house, one could potentially create a reasonable surrogate by spatially-enabling (geocoding) a publicly available business listing on your own.    If you were looking to take on this type of project, where would you start your research? Do you know of US agencies at a State or National level that maintain this type of information, AND are publicly available for download or minimal purchase? My impression for how Poincare and Lorentz representations are linked in $3+1$ dimensions is:   Assuming positive mass for simplicity, irreducible representations of the Poincare group are indexed by their mass $M$ and spin $s$. Irreducible representations of the Lorentz group are indexed by two numbers $(s_1, s_2)$ and when restricted to the rotation subgroup contains spins from $|s_1 - s_2|$ up to $s_1 + s_2$ in integer steps. Particles transform in representations of the Poincare group, while fields transform in representations of the Lorentz group. They are related by defining $$|\mathbf{p}, \lambda \rangle = a^\dagger(\mathbf{p}, \lambda) |0 \rangle$$ where $\lambda$ is the helicity, and the field is defined in terms of the creation and annihilation operators in the usual way. The only requirement is that the Lorentz representation used for the field contains the spin $s$ used in the Poincare irrep. A relativistic wave equation is imposed to eliminate the unwanted degrees of freedom.   For example, a massive spin $1$ particle may be embedded in a vector field, which is in the $(1/2, 1/2)$ irrep of the Lorentz group. This vector field has one extra degree of freedom that is eliminated by the equation $\partial_\mu A^\mu = 0$.  Assuming this is right, I'm wondering why I've never heard of "alternative" embeddings. For instance, why can't one embed a spin $1$ particle inside the $(1, 0)$ irrep, which doesn't have any extra degrees of freedom at all, or inside the $(1, 1)$ irrep? For massive particles, I've only ever seen spin $0$ in $(0, 0)$, spin $1/2$ in $(1/2, 0) + (0, 1/2)$, and spin $1$ in $(1/2, 1/2)$. Are other embeddings very clunky, or not allowed, or are they actually used somewhere? Why does `htop` show more process than `ps` In ps xf  26395 pts/78   Ss     0:00  \_ bash 27016 pts/78   Sl+    0:04  |   \_ unicorn_rails master -c config/unicorn.rb                                            27042 pts/78   Sl+    0:00  |       \_ unicorn_rails worker[0] -c config/unicorn.rb                                           In htop, it shows up like:   Why does htop show more process than ps?