How do i update this iframe every 5 sec with js?  &lt;div&gt;&lt;iframe src="http://bbkt.thna.dk/FsRubrik.aspx?Rubrik=3" frameborder="0" height="240" width="320" style="width: 100%; height: 195px;"&gt;&lt;/iframe&gt;&lt;/div&gt;   It is on an cms system with content from another source.
I would like to reload an &lt;iframe&gt; using JavaScript. The best way I found until now was set the iframe’s src attribute to itself, but this isn’t very clean. Any ideas?
Multiple forms in delphi Difference between get "off of" and "off" Typesetting linguistic rewrite rule I'm trying to (more or less) replicate this phonological rewrite rule:    I'm using the package , and what I manage to accomplish is this:  \documentclass{article} \usepackage{phonrule} \begin{document}  \phonc     {\phonfeat{$-$cnt\\ +hi}}     {[$\alpha$grv]}     {\oneof{%         \phonfeat{$-$cnt\\ $\alpha$grv}\phold\\         \phold\phonfeat{$-$cnt\\ $\alpha$vce}%     }}  \end{document}     My main problem here is what appears after the "when" slash:  (1) The package only provides a left curly bracket - how can I add a right one as well?  (2) The two options within the curly brackets are not well aligned. I think comparing the two pictures themselves says it better than what I could do with words. Do we have $\lim_{h\to 0^+}\int_0^\infty|f(t+h)-f(t)|dt=0$? Let $f:\mathbb{R^+}\to\mathbb{R}$ be an integrable function ($f\in L^1(\mathbb{R}^+,\mathbb{R})$). Do we have $$\lim_{h\to 0^+}\int_0^\infty|f(t+h)-f(t)|dt=0$$ ? How can we prove it ? Cardinality of quotient ring $\mathbb{Z_6}[X]/(2X+4)$ Best way to strip punctuation from a string I want to construct a complex power series with the radius of convergence $R=1$ that diverges in:  1) $k$ points on the circle $\{|z|=1\}$.  2) countable number of points on the circle  I have already crafted series that converges on the whole circle and diverges on the whole circle.  Can anybody help with the problem?  Update: I have googled a series $\sum{\frac{z^{kn}}{kn}}$ that is an answer for 1). Though I still need help for the countable case. Prove that inequality is true for $x>0$: $(e^x-1)\ln(1+x) > x^2$ Should I test private methods or only public ones? A inequality proposed at Zhautykov Olympiad 2008 An inequality proposed at Zhautykov Olympiad 2008.     Let be $a,b,c &gt;0$ with $abc=1$. Prove that:    $$\sum_{\mathrm{cyc}}{\frac{1}{(a+b)b}} \geq \frac{3}{2}.$$   Set $a=\frac{x}{y}$, $b=\frac{y}{z}$, $c=\frac{z}{x}$.   Our inequality becomes: $$\sum_{\mathrm{cyc}}{\frac{z^2}{zx+y^2}} \geq \frac{3}{2}.$$  Now we use that: $z^2+x^2 \geq 2zx.$ $$\sum_{\mathrm{cyc}}{\frac{z^2}{zx+y^2}} \geq \sum_{\mathrm{cyc}}{\frac{2z^2}{z^2+x^2+2y^2}} \geq \frac{3}{2}.$$  Now applying Cauchy-Schwarz we obtain the desired result.  What I wrote can be found on this link: . But now, I don't know how to apply Cauchy-Schwarz.   Thanks:) Number of labeled trees which have one vertex of degree 4 How many labeled trees which have one vertex of degree 4 can we have? A tree with $10$ vertices has $9$ edges, so the sum of the degrees of the vertices is $2\cdot 9=18$. If there is one vertex of degree $4$, the sum of the degrees of the other $9$ vertices must be $14$. I don't know what to do next. Should I count all possible vertex degrees? Can the ship's captain really perform your wedding when in international waters? On , Mark Mayo posted a comment that any marriage has to be on dry land or close to it.  But I'm sure all of us have heard of ships' captains marrying couples at sea.  From the movie Casablanca:     Say, why don't we get married in Marseilles?   ...   Well, let's see. What about the engineer? Why can't he marry us on the train?   ...   Well, why not? The captain on a ship can. It doesn't seem fair that...    So is this fiction after all? If not how does it fit with Mark's comment? What special rules and such should we know?  If I'm travelling at sea with a significant other and wish to tie the knot, can we do so with any captain on any ship on any sea? Must it be international waters? I was caught cheating on an exam, how can I minimize the damage? I got caught cheating in a two-hour engineering exam consisting of 100 multiple choice questions which was done online through the  e-learning software. I feel like my life is almost over.  Having not studied well and having no time to study, I decided to cheat. I know there are no excuses for cheating. Before the exam I dug up research about moodle exams, and it turned out you can take the exam anywhere you want to as long as you have the quiz password. Taking advantage of this, I went up to my engineering library and asked a close friend who was taking the exam to send me the quiz password before he starts.  What I had prepared:   Calculator (was not allowed during the quiz). Printed material (consisted of more than 200 pages). Google search engine (on a laptop ready to help). Whatsapp (to ask questions for a friend who took the quiz last year).   As I sat down, I did the first 50 questions, suddenly the quiz froze and moodle told me:      you are not allowed to take the exam from this location.   While I was leaving, one instructor responsible for the course (there are 5) came and found me. She accused me of cheating, took my mobile and made come with her to a huge office where two instructors searched all my mobile (took the name of my friend who gave me the password), and started talking to me, asking for all details of this crime. They took and confiscated my phone and looked at everything: Whatsapp conversations, all my emails, and images. The instructor took the mobile from my hand without asking me and kept it with her. It seems that the instructors are going to report me as well as my friend who sent me the password for the exam.  The university's Student Code Conduct said that cheating will result in one of the following: a Dean's Warning, Suspension, or Expulsion. If any of that happens, my future is over. A dean's warning will cancel my financial aid. A suspension would be for at least two years, and coming back would require a lot of work. An expulsion will be definite.  I've learned the lesson about cheating, now how can I fix this? How can I prevent the five instructors from reporting me? It's obvious that I should speak to them, but what should I say? What can I do? My future is almost over, but many of you are teachers and instructors here, what can I do to fix this?    EDIT: Wow, it has been almost 3 years. I would like to update on how I dealt with the situation.   Lesson: It was obvious to never ever cheat under any circumstances, and it was not whether you'd get caught or not.    Consequences: I received a Dean's warning but the financial aid wasn't revoked. However, I couldn't stay in the department as engineering was not for me and I was even ashamed to stay in the university.  What happened next: I transferred to an ABET-accredited Computer Science institution and I graduated with distinction in 2.5 years. It was extremely stressful as I had taken 6 major courses (18 credits) in one semester, but I had to do it.  Future plans: I'm going for an MSc in Computer Science in St Andrews next year. If $x$ is a positive rational but not an integer, is $x^x$ irrational? Let $x$ be positive, rational, but not an integer. That means $x$ can be written as $\frac{p}{q}$ with $p,q$ coprime, $p,q \neq 0$ and $q \neq 1$. Is $x^x$ always irrational?   I think that this has to be the case, but I can't prove it.  $x^x = (\frac{p}{q})^\frac{p}{q} = \frac{p^\frac{p}{q}}{q^\frac{p}{q}}$  I know that $p^\frac{p}{q}$ and $q^\frac{p}{q}$ can't both be rational, but there are cases where the division of two irrational numbers gives us an rational number. For example $\frac{\sqrt{2}}{\sqrt{2}} = 1$ I'm looking for all the ways to increase Friendship in Pokemon X and Y.  Note that Friendship is different from Pokemon Amie Affection; they both do different things. How to derive $E=mc^{2}$? Is there some way to derive ? I can understand that energy in something is proportional to its mass, but the $c^{2}$ part. I have no idea. It seems like the way the units are going it would end up as $kg*(m/s)^{2}$, which I think is the unit for Newtons, not energy. And why is there no constant of proportionality $k$? Did Einstein just set it up perfectly so that there wouldn't be one? I need to calculate the surface (m2) of external walls of all the buildings in a town. By external walls I mean all the walls of a building or parts of a wall which are not in contact with another building. I have a 2D shapefile of polygons with the cadastral footprint of the buildings, which includes information of the building’s height in the attribute table.  I don’t really know how can I do it… My idea is to convert the 2D file to 3D and use the 3D shapefile to distinguish the external walls from the shared walls (parts of a building that are shared with other buildings) of all buildings, and from there, calculate the total area but I’m not sure whether this can be done with ArcScene.  Anybody knows how could it be done and if there is an automate way to do it? Sums in math mode: how to display index under the sigma sign? I have a fraction with sums above and under the line. How can I convince LaTeX to write the indices of the sums under the sigma instead of next to it?  \begin{displaymath}   \frac{\sum_{s \in S} s^2}{\sum_{p \in P} p^2} \end{displaymath} how to show image in table cell through json parsing Loop doesn't see value changed by other thread without a print statement