I am resampling a raster from one CRS to another, and from 0.5 m resolution to 10 m.  But I want the new cells to have even coordinate extents, instead the old coordinate decimals remain. How do I fix this?    I want the new raster to start at xMin 6875000.000,     but the new raster has 687499.521251    How do I change so new raster has even extents?
I have two raster files that are the same cell size but I cannot get them to align properly. (I want the black to line up with the pink)    When creating the black raster file (from using polyline to raster), I imported the pink raster in the Snap Raster section in the Environments setting. I thought that Snap Raster was supposed to make it line up?  Am I doing something wrong or is it a bug in Arc (I remember reading that this was a problem about two years ago), and if it is a bug is there a work around?  I have also read there is a Raster Shift, but I'm not sure what to enter in the X Coordinate and Y Coordinate. Since I only want the black raster to shift down, I know that the X Coor = 0 and the Y Coor should be negative something, but what are the units?  Thanks.
Since I am a regular Stack Overflow follower, I came across this and was shocked a bit regarding the design and user experience perspective.  Attaching picture 1 - it states that I can click any site and view a synopsis about it. Clear!!!    Attaching Picture 2 - you can see that when I clicked Webmasters, the design wants me to scroll horizontally to view all information and basically it hides information.    It would be nice, if it did something like below : How can I find out if Ubuntu supports a particular hardware component, that is, if it works in Ubuntu?  I am going to put together a computer and I am choosing components.   How do I know if Ubuntu supports this or that motherboard, or this or that sound card, or this or that graphics card, etc? How do I know that there is no conflict in Ubuntu between this and that hardware component?   What resources are there to help with such situations?  I know that there are computers with Ubuntu pre-installed and that there are  for whole computers but this is not what I'm looking for. I'm looking for resources to find out support for particular hardware components and conflicts among particular hardware components. How to pop-up alert to a user when he/she navigate away from page without saving the Records in custom visual force page? The following quote from  assumes "the URL" comes from somewhere and uses it to restrict the Host header. Where does "the URL" come from? Is it from the first line of a HTTP request (e.g. after GET), or from the input to a web client (e.g. an argument to curl, or the input in the address bar of a web browser)? Thanks.     The Host header specifies the Internet host and port number for the   resource being requested, as obtained from the original URL:  Host = "Host" ":" host [ ":" port ]       In particular:      • If the Host header does not contain a port, the default port for the   scheme is assumed.      • If the URL contains an IP address, the Host header should contain   the same address.      • If the URL contains a hostname, the Host header must contain the   same name.      • If the URL contains a hostname, the Host header should not contain   the IP address equivalent to the URL’s hostname, because this will   break virtually hosted servers, which layer multiple virtual sites   over a single IP address.      • If the URL contains a hostname, the Host header should not contain   another alias for this hostname, because this also will break   virtually hosted servers. I am reading Tom Apostol's Analysis and come across this theorem.   Should $a \leq b$ if $a\leq b+\epsilon$ for all $\epsilon &gt;0$?   I don't doubt the proof in the book but I don't understand the intuition or geometric explanation behind this. Could somebody shed some light on this equation? I just started studying analysis on my own.$\ \ $ jQuery If DIV Doesn't Have Class "x" Redirect the output using `sudo` I have a small question regarding using sudo with output redirect &gt;. To enable IP forwrding, someone can use the command:  echo 1 &gt; /proc/sys/net/ipv4/ip_forward   Executing this command will give permission denied as it requires root privileges. However, executing the same command with sudo gives also permission denied error! It seems that output redirect &gt; does not inherit the permissions of the preceding command echo. Is this right?  As a workaround I do:  echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward   Is this the best way to do it? Am I missing something?  Please, note that this is an example and it applies to all commands that use output redirect. I go to change my birthdate on Roblox, but nothing shows up, the dropdowns are just blank with no Month, Day or Year:  It also shows me a pop up asking to put in the Missing Details to improve the experience, but no matter how many times I put in my age it doesn't save and asks it again. Non-interleaved vertex buffers DirectX11 Can I apply multiple background colors with CSS3? Installing python module within code How do I find the length of an array? How to set up a root cron job properly I tried to set up a root cron job to run a Bash script as root, to run at minute 7,37, every hour, every day of month, every month. This script is located in /usr/bin and named tunlrupdate.sh. It updates the DNS of Tunlr.  $ ls -l /usr/bin/tunlrupdate.sh  -rwxr-xr-x 1 root root 2133 Sep 24 15:42 /usr/bin/tunlrupdate.sh   This Bash script is available .  When invoked the script writes what's happening in a log located in /var/log/tunlr.log  To add this root cron job I used the standard for root's crontab  sudo crontab -e   And inserted these 2 lines at the end. I expect cron to run the script as root.  # check for updated Tunlr DNS every 30 minutes at the hour + 7 mn and hour + 37 mn 07,37 * * * * root /usr/bin/tunlrupdate.sh   A later command sudo crontab -l confirmed that the cron job has been inserted.  I did reboot Ubuntu and was checking in the log file if the cron job was launched properly. However there is nothing in the logfile /var/log/tunlr.log meaning the job was never successfully launched.  I did check that if I run the script from the command line  sudo /usr/bin/tunlrupdate.sh   then the logfile is updated accordingly.  Why is this cron job not running as planned in my system?  UPDATE 1 : All the proposed solutions so far do not work. I thank Olli for a CLI to list the system log sudo grep CRON /var/log/syslog. However I did get a CRON error  CRON[13092]: (root) CMD (  [ -x /usr/lib/php5/maxlifetime ] &amp;&amp; [ -d /var/lib/php5 ] &amp;&amp; find /var/lib/php5/ -depth -mindepth 1 -maxdepth 1 -type f -cmin +$(/usr/lib/php /maxlifetime) ! -execdir fuser -s {} 2&gt;/dev/null \; -delete)   with the suggested PATH= insertion &amp; use of absolute path from root for functions in the script or without this suggested solutions here. I still get this error.  After some searching I pinpointed the error in the file /usr/lib/php5/maxlifetime as is explained : Change #!/bin/sh -e --&gt; #!/bin/sh -x  Then listing the CRON error log in my system  sudo grep CRON /var/log/syslog Feb 11 18:07:01 Marius-PC CRON[14067]: (root) CMD (root /usr/bin/tunlrupdate.sh) Feb 11 18:07:01 Marius-PC CRON[14066]: (root) MAIL (mailed 1 byte of output; but got status 0x00ff, #012)   I still don't get the bash script executing. This time no error is shown in the log. To get assurance this was not the content of the script I reduced the script to the following 3 lines:  #!/bin/bash LOGFILE=/var/log/tunlr.log echo $LOGFILE &gt;&gt; $LOGFILE   I still don't get the cron job through. Nothing is written in the log file. So even may be an empty script will not run in cron ? I don't get it. I am know trying a script reduced to these 2 lines:  #!/bin/bash exit 0   And still the same error log. The cron script does not go through ... Why does chown report "Operation not permitted" on OS X? I am trying to do the following on my Mac (10.6.7):  sudo chown myusername:wheel ./entries   but Unix/Mac is returning "Operation not permitted". When I ls -lash the culprit file, it looks as follows:  8 -rwxrwxrwx   1 myusername  staff   394B Apr 26 23:26 entries   I've tried sudo and sudo su; nothing works. Any ideas what's up?  I'm trying to chmod files I've copied from my old Ubuntu box. Most of the files have successfully chmod'ed recursively; just this one is stuck and I don't understand why. Powers of infinite cardinals in the generic extension Crop jpeg into circular tikz node \documentclass[demo]{article} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node[circle,draw,inner sep=2cm]{\includegraphics{myimage.jpg}}; \end{tikzpicture} \end{document}   How do I modify the above code so that the included image is adapted to the circle shape and cropped of the exceeding parts?  I want to specify a shape (a circle) and then include an image respecting the given dimension and cropped. How would I find a minimum weight spanning tree for W? Can I travel to Germany from a country different from the one I got the visa from? Position of adverbs I am bit confused when it comes to the positioning of adverbs determinations in a sentence.   I was told that you can place them almost everywhere like in:     To be a teacher not only means to teach a language...   &nbsp;     To be a teacher means not only to teach a language   Placing adverbs at the beginning or the end of the sentence is not a big problem, as far as I know, but what about the rest.   Are there rules for all this or can you place them anywhere including normal adverbs like "passionately" etc.? How do I interpret the results of a regression which involves interaction terms? If I have a linear regression of the form:  $$y \sim 1+\beta_1x_1 + \beta_2x_1x_2,$$  where $x_2$ is a Boolean variable depending on another variable $x_{2cont}$, a positive variable:  $$x_2 = \begin{cases} 1 &amp; \mbox{if } x_{2cont} &gt; 5 \\ 0 &amp; \mbox{if } 0 &lt; x_{2cont} \le 5. \end{cases}$$  And I got regression results. How shall I interpret the regression results?  esp. how shall I interpret the two coefficients I get from this regression,  $\beta_1 \text{ and } \beta_2$?