Php header redirect contains additional characters from previous url
Redirect 301 with hash part (anchor) #
This weekend is a "Supermoon" (the largest full moon of the year, in perigee, the closest to Earth). Would someone please advise how I could make the most out of my Canon PowerShot to photograph this phenomenon?    What settings should I use?    What times are the best with respect to the exact times of moonrise and moonset provided by the U.S. Naval Observatory? In other words, is it better 30 min before it crosses the horizon? Or just at the crossing? Are there any tips and tricks for a beginner to benefit from?  Are moonrises or moonsets generally better/easier to capture? Are there different techniques for different phases of the moon?   I read that full moon tends to come out flat, but I also want to benefit from the perigee. How to select all faces with the same material? Quotient ring of Gaussian integers Landau's derivation of a free particle's kinetic energy- expansion of a function? I was reading a bit of Landau and Lifshitz's Mechanics the other day and ran into the following part, where the authors are about to derive the kinetic energy of a free particle. They use the fact that the Lagrangian of this particle must be the same (or at most, differ by the total time derivative of a function of co-ordinates and time) in different inertial frames.     We have $L'=L(v'^2)=L(v^2+2\mathbf{v}\cdot\boldsymbol{\epsilon}+\boldsymbol{\epsilon}^2)$. Expanding this expression in powers of $\boldsymbol{\epsilon}$ and neglecting terms above the first order, we obtain    $$L(v'^2)=L(v^2)+\frac{\partial L(v^2)}{\partial (v^2)}2\mathbf{v}\cdot\boldsymbol{\epsilon}.$$   I think I'm ok with all the physics in this section. What I don't get is just the part I quoted above (so maybe this post is better suited for the math site, but since this is book is so physics-y I thought I'd post it here). My math is pretty rusty, so I'm not really sure- how do the authors expand the function to arrive at the above expression? It reminds me a bit of a Taylor expansion, but not very much. What's the process used to arrive at it? Eclipse not working in 16.04 Calculating the Fourier transform of $f(t)=Ae^{-i\omega_0 t}$ I am trying to calculate the Fourier transform of $f(t)=Ae^{-i\omega_0 t}$  I'm getting an infinity which is giving me problems. Here are my steps:  $$F(\omega)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^\infty f(t)e^{i\omega t}dt$$ $$=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^\infty Ae^{-i\omega_0 t}e^{i\omega t}dt$$  $$=\frac{A}{\sqrt{2\pi}}\int_{-\infty}^\infty e^{t(i\omega - i\omega_0)}dt$$ $$=\frac{A}{\sqrt{2\pi}(i\omega - i\omega_0)} |e^{t(i\omega - i\omega_0)}|_{-\infty}^{\infty}$$ $$=\frac{A}{\sqrt{2\pi}(i\omega - i\omega_0)}(\infty - 0)$$  Where am I going wrong? Thanks. Default currency symbol I'm looking for a way to get the Default currency symbol (in a none-multi-currency org) of the salesforce org locale (to have it displayed on a visualforce page in a field that can't be &lt;apex:inputField&gt; or &lt;apex:outputField&gt;) preferably query-able from apex (via the database, a describe or whatever) and then again the actual symbol, meaning € for Euro, $ for dollar, and so on...  There must surely be some sort of mapping hidden in the code somewhere salesforce does this via the input/outputfields if bound to an sobject of type currency  Can anyone point me in the right direction? I have created a fishnet grid (3km x 3km) over a vector polygon.   I now want to clip the fishnet over the vector polygon retaining all grid squares within the boundary of the polygon.   Therefore I want all squares that would typically be clipped into partial squares to remain as whole squares.   Does anybody know how to do this? Too much memory getting used I have been feeling this way for a while, looking at task manager mentally ballparking how much physical memory should be in use, and noticing a large disparity. I finally got around to measuring it. Taking the results of tasklist and adding, gave about 3.87 GB. Task manager told me I was using 4.6 GB of memory. This seems like a large disparity. Where did it go?  EDIT: So its clear, it is not going to prefetch. It has also been suggested that its part of the OS, but not part of any of the system processes. If this is true, please find a way to get the OS to tell me how much memory is getting used. Since I want to find out where the memory went, asking me to look at the difference does nothing for me.  EDIT 2: It is not the following:   The kernel The cache Hardware reserved memory   Picture of resources taken up. Not quite sure what it will do but... Is there anything to do during an 8 hour after-midnight layover in Dubai? We are planning a trip with an 8 hour layover in Dubai spanning from 1am-9am. I am thinking about going to see the city, but is it worth it to do it given the very late night hours? Will at least the outside attractions accessible?   Will Burj Khalifa be visible in the middle of the night?  Will at least some of the malls be open?  Will there be anything to do at night?  I have seen other questions about layovers in Dubai (), but none of them is asking about a night-only stay. I am very new to being able to use LaTeX to type up mathematical papers, and I just got my "system" set up. Currently I have installed TexWorks, and MikTex, and I have put together a 'hello world' article which seems to run well.   I have also used the syntax "\usepackage{amsmath}" and "\usepackage{amssymb}" in the beginning of my .tex file to write math symbols, only because some online tutorial said so.   My question is, firstly, are those the only packages I need to use for writing math, and secondly, I remember reading about some shortcuts(?) that can be used for writing math symbols, and/or user defined shortcuts that can be 'set' in the beginning so as to reduce the amount of LaTeX code needed to write mathematical symbols. However, I do not know if this is true, and if it is, how to go about 'installing' such a thing.   Does such a thing exist? Am I able to make my own shortcuts?  Thanks! Relative pronouns "where" and "when": where can they be omitted? I know the "omitting-rules" regarding the relative pronouns who/which/that and whose. How does it work with where and when? In the first sentence I cannot omit where but I can easily omit when in the second sentence. What is the rule?   I saw John in the shop where you bought your brown T-shirt. I met Laura on the day (when) I missed the train to Barcelona. First of all, am I being crazy in thinking that if $\lambda$ is an eigenvalue of $AB$, where $A$ and $B$ are both $N \times N$ matrices (not necessarily invertible), then $\lambda$ is also an eigenvalue of $BA$?  If it's not true, then under what conditions is it true or not true?  If it is true, can anyone point me to a citation?  I couldn't find it in a quick perusal of Horn &amp; Johnson.  I have seen a couple proofs that the characteristic polynomial of $AB$ is equal to the characteristic polynomial of $BA$, but none with any citations.  A trivial proof would be OK, but a citation is better. Proof for the funky trace derivative : $d (\operatorname{trace} (ABA'C))$? Given three matrices $A$, $B$ and $C$ such that $ABA^T C$ is a square matrix, the derivative of the trace with respect to $A$ is:  $$ \nabla_A \operatorname{trace}( ABA^{T}C )  = CAB + C^T AB^T $$  There is a proof . However, I was not able to understand the second line of the proof. it says something like this:  $$ \nabla_A \operatorname{trace}( ABA^T C )= \nabla_\bullet \operatorname{trace}(f(\bullet)A^{T}C) + \nabla_\bullet \operatorname{trace}(f(A) \bullet^T C) $$  Where  $f(A) = AB$  I tried searching the proof or any hint using google, but I couldn't fine anything. Could anyone please help me with this second line. I cannot sleep. I am obsessed with this proof. Deciphering the .NET clr20r3 exception parameters P1..P10 Accessing the web page's HTTP Headers in JavaScript How do I access a page's HTTP response headers via JavaScript?  Related to , which was modified to ask about accessing two specific HTTP headers.     Related: Why is a normal subgroup of $G_1\times G_2$ with trivial intersections with $G_1$ and $G_2$ is abelian? Let $G=G_1\times G_2$ be a direct product, and let $H\triangleleft G$ be a normal subgroup such that $H\cap G_1=H\cap G_2=\{1\}.$ Then $H$ is abelian.     I considered the commutators of two elements in $H$, trying to show that it must be $1,$ but I don't see how this works. Any hint is very welcomed and appreciated. Thanks in advance. Trace map from finite surjective morphism of normal irreducible varieties I'm completely new and lost in Ubuntu 12.04, I'm having trouble navigating to my Sublime folder which I know is in my /opt folder. Yet I've tried to no avail to navigate into it via Terminal window. The directory is colored in blue, no idea what this means...but I am able to access the folder using the GUI explorer...?  k@k-Ubuntu:~$ cd /opt k@k-Ubuntu:/opt$ ls Sublime Text 2 k@k-Ubuntu:/opt$ cd Sublime Text 2 bash: cd: Sublime: No such file or directory k@k-Ubuntu:/opt$ cd /Sublime Text 2 bash: cd: /Sublime: No such file or directory I was going through the topic "formation of comparative and superlative".       The rule says     When two objects are compared with each other, the latter term of comparison must exclude the former, as in "Iron is more useful than any other metal". If we say "Iron is more useful than any metal", that is the same thing as saying    "Iron is more useful than iron", since iron is itself a metal.   I am finding difficulty to relate the rule with example.