How to create iframe with document in javascript?
How to create a cross-browser sub document with iframe or shadow dom?
How can I change what keys on my keyboard do? (How can I create custom keyboard commands/shortcuts?) I want to change the key bindings on some of the keys on my keyboard.  I want some to run commands and others to activate different keys.  What applications can I use to do this?      Index:       (from within System Settings)             I'm still looking for answers using dconf and any other method. Is there a way to adjust kerning for a specific character combination? In hearthstone, you receive one quest per day, barring unique quests. What I'm wondering is when exactly does a new day start? I assume it's at a specific global time, so I'm looking for a time in GMT or UTC.  I did find out you need to exit the game and come back to receive new quests, but I'm hoping someone actually knows when i have to do that. How do I enter a strong (long) DKIM key into DNS? Why is it that they decided to make String immutable in Java and .NET (and some other languages)? Why didn't they make it mutable? How to show or hide Keyboard Viewer with a keyboard shortcut? I would like to display and hide the Keyboard Viewer using a shortcut.   Is there a way to display the Keyboard Viewer via a keyboard shortcut? Is there a way to automatically display the Keyboard Viewer once I switch to a specific language? $f(z)=\frac1{2\pi i}\int_{\Gamma}\frac{f(\zeta)}{z-\zeta}d\zeta$ if $\lim_{z\to\infty}f(z)=0$ and $f$ is analytic in $|z|\ge1$ Let $f$ be analytic in $|z|\ge1$ and  $\lim_{z\to\infty}f(z)=0$. Then is $f(z)=\frac1{2\pi i}\int_{\Gamma}\frac{f(\zeta)}{z-\zeta}d\zeta$,$\forall |z|\ge2$, where $\Gamma$ is the circle of radius $2$ with centre at the origin.   I think yes, by the Cauchy integral formula. But, how do we ensure that the non analyticity of $f$ in $|z|&lt;1$ dosent affect the formula? Thanks beforehand. Counting integer partitions of n into exactly k distinct parts size at most M How can I find the number of partitions of $n$ into exactly $k$ distinct parts, where each part is at most $M$?  The number of partitions $p_k(\leq M,n)$ of $n$ into at most $k$ parts, each of size at most $M$, is given by the generating function: $$  \binom{M+k}{k}_{x} = \prod_{j=1}^{k}\frac{1-x^{M+k-j+1}}{1-x^j}= \sum_{n=0}^{kM} p_{k}(\leq M,n) x^n $$  For the number of the partitions $p_k(\mathcal{D},n)$ of $n$ into at most $k$ parts there is the recurrence relationship: $$   p_{k}(\mathcal{D},n) = p_{k}(\mathcal{D},n-k) + p_{k-1}(\mathcal{D},n) $$  But what, if I want to count only the partitions with distinct parts and restricted number of parts and restricted part size?  Update: Now I know the generating function for the number of distinct restricted partitions $p_k(\leq M, \mathcal{D},n)$ of $n$ into exactly $k$ distinct parts, all at most $M$ is $$    \prod_{j=1}^{M} (1+xq^{j}) = \sum_{k,n=0}^{\infty}p_k(\leq M, \mathcal{D},n)x^{k}q^{n} $$ and there is also a recurrence relation $$    p_k(\leq M, \mathcal{D},n) =         p_{k-1}(\leq M-1, \mathcal{D},n-k) +         p_k(\leq M-1, \mathcal{D},n-k) $$ How can I prove this? Could you recommend a book, where I could read about this? I've got a problem using \label and \ref in Texmaker 3.1 (MiKTeX 2.9). When I put label somewhere, i got a frame with label name in it. How can I hide it?  \begin{figure}[h] \includegraphics[width=0.75\textwidth]{img/2}\caption{SomeCaption} \label{fig:4eb1} \end{figure} $\frac{w}{w_1}-1=4$ $4\leqslant n\leqslant3$, using (pic. \ref{fig:4eb1}),blah-blah.   PS: Sorry for my awesome English. :) I am facing this issue on Ubuntu 12.04, which is for my Wimax modem with beceem chipset.    If I replug the device Ubuntu goes in hang state. Its happens very often. If I plug the USB and restart it works most of the time. But it is very annoying to restart every time it hangs. The modem works smoothly in Windows 7. And it used to work OK in  Ubuntu 11.10.   Jun 13 19:25:54 iftekhar-HP-520-Notebook-PC dbus[1102]: [system] Activating service name='org.freedesktop.UDisks' (using servicehelper) Jun 13 19:25:54 iftekhar-HP-520-Notebook-PC dbus[1102]: [system] Successfully activated service 'org.freedesktop.UDisks' Jun 13 19:26:00 iftekhar-HP-520-Notebook-PC goa[2168]: goa-daemon version 3.4.0 starting [main.c:112, main()] Jun 13 19:26:47 iftekhar-HP-520-Notebook-PC udevd[432]: timeout 'cdrom_id --lock-media /dev/sr1' Jun 13 19:26:48 iftekhar-HP-520-Notebook-PC udevd[432]: timeout: killing 'cdrom_id --lock-media /dev/sr1' [1072] Jun 13 19:26:49 iftekhar-HP-520-Notebook-PC kernel: [   85.820162] sr 2:0:0:0: Device offlined - not ready after error recovery Jun 13 19:26:49 iftekhar-HP-520-Notebook-PC udevd[432]: timeout: killing 'cdrom_id --lock-media /dev/sr1' [1072] Jun 13 19:27:20  udevd[432]: last message repeated 31 times Jun 13 19:27:25  udevd[432]: last message repeated 4 times    What can I do to avoid this hangs and restarts? Me and my friend want to build a basic 101 mob farm, but we can't decide where to put it. He says it has got to be over an ocean, I say it can just be 128 blocks above ground and it will be just fine.  So the question is:    What is the absolute ideal place for a mob spawner?  If we build it 128 blocks above ground do we still need to light up caves? If we dig a 128x128 square straight to bedrock will that make a perfect environment?   Please advise! I am getting a Too many SOQL queries: 101 error on a trigger when I am trying to deploy another trigger.  I am posting the trigger which is causing the error.  trigger rollupAccountShowings on Account (before insert, before update) {    if (trigger.isinsert) {       for (Account a:Trigger.new){           a.No_of_Viewings__c = 0;        }    } else {      for (account a : [select                   id,                  (select id from pb__Showings__r)                  from account                   where id in:trigger.new LIMIT 1]) {           trigger.newMap.get(a.id).No_of_Viewings__c = a.pb__Showings__r.size();      } }   Can anyone correct me where I have gone wrong and suggest me the changes.  Thanks In general, in most places, it is said that using TeX defaults is the best. However, TeX does provide things like \, and \quad etc. When one should use them? Both in general and in math mode in particular. Let $b_n$ decrease monotonically to zero, prove $\sum b_nz^n$ converges for $|z|\leq 1$ and $z\neq 1$ Shape of a string/chain/cable/rope/wire? The height of a string in a gravitational field in 2-dimensions is bounded by $h(x_0)=h(x_l)=0$ (nails in the wall)  and also $\int_0^l ds= l$. ($h(0)=h(l)=0$, if you take $h$ as a function of arc length) .  What shape does it take?  My try so far: minimise potential energy of the whole string,  $$J(x,h, \dot{h})=\int_0^l gh(x) \rho \frac{ds}{l}=\frac{g \rho }{l}\int_0^l h(x) \sqrt{1+\dot{h}^2} dx$$  With the constraint  $$\int_0^l \sqrt{1+\dot{h}^2} dx- l=0$$ If it helps, it's evident that $\dot{h}(\frac{l}{2})=0$.  Generally, this kind of equation is a case of a constrained variational problem, meaning that the integrand in  $$\int_0^l \frac{g \rho }{l}h(x) \sqrt{1+\dot{h}^2} +\lambda(\int_0^l \sqrt{1+\dot{h}^2} dx- l)dx$$  Must satisfy the Euler Lagrange equation. The constraint must also be satisfied.  But, in truth, by this point I am clueless. $\lambda$ is worked through $\nabla J  = \lambda \nabla(\int_0^l \sqrt{1+\dot{h}^2} dx- l)$. I have tried this , but get nonsensical answers.  Is this method the best? If so, in what ways am I going about it wrongly thusfar? Allow people to answer protected questions if they have earned at least some amount of combined SE rep The purpose of protected questions is, according to the message presented on such a question, "to prevent 'thanks!', 'me too!', or spam answers by new users." The more verbose  agrees on the purpose. And the  says this is why protected questions exist:     Some questions are protected because they are expected to attract   either spam or users -- often new users -- who may mistake the site as   a traditional forum, posting "noisy" answers such as "Thank you" or   "This worked for me" or "I'm also having this problem".   Considering this, shouldn't a user be able to answer protected questions if they have gained at least 10 rep on any stack exchange site? If they've already demonstrated one site that they are familiar enough with the SE Q/A format to not be a drive-by useless answerer, shouldn't that confidence in them carry over to other SE sites?  Or maybe at some level of combined SE rep this restriction should be waived. I find it silly that at 15k+ combined network rep, I'm unable to answer a protected question on a SE site I've just started using. I am trying to print a simple value for $AR1_p1 but the variable $i is not evaluating. for i in 1 2 3 4 do     AR1_p1=22     AR1_p2=23     AR1_p3=24     AR1_p3=25     echo $AR1_p$i done   It's like concatenating dynamically. Any suggestions on how to fix this?. Why are my render times 30+ minutes, but other people's are ~3 minutes? Can I store my pixels somewhere so I don't lose them when I die? I die all the time. My pixel balance hovers around zero as a result. I'm trying to save up for armor but my nonstop deaths are making that difficult.  Is there anywhere I can store my pixels so that when I die, I won't lose a bunch of them? LaTeX multi-character subscript