I want to create a link and download an excel file that is stored in static resource.How do i do that?
I have uploaded an excel sheet into static resource of my environment. I have it as a demo for my product how to create a excel sheet for import records into sf. Can any body guide me how can i provide link on the VF page so that user can download the record at single click.I want to into a managed package and want users to be able to click the link on the Vf page to download. Right now i have my demo excel sheet in static resource. I am open if you have any other ideas to get the process done.
Didn't understand relationship 'AccountContactRelation' in FROM part of query call I'm getting the following error message:     System.QueryException: Didn't understand relationship 'AccountContactRelation' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.   Select Email, Id, (Select ContactId, AccountId From AccountContactRelation) From Contact  In AccountContactRelation object there are two lookup fields for Account and for Contact.  Please advise how to avoid such error message? Let $E=l^p=\left\{x=\left(x_n\right): x_n\in\mathbb{R}, \sum_{1}^{\infty}\left|x_n\right|^p&lt;\infty\right\}$ with $1\le p&lt;\infty$, $\left\|x\right\|_E=\left(\sum_{1}^{\infty}\left|x_n\right|^p\right)^{1/p}.$ Let $\left(\lambda_n\right)$ is a bounded sequence in $\mathbb{R}$ and consider the operator $T$ defined by $$T(x)=\left(\lambda_1x_x,\ldots,\lambda_nx_n,\ldots\right)$$ where $x\in l^p$. Prove that $T$ is a compact operator from $E$ to $E$ iff $\lambda_n\rightarrow 0$.  Can anyone give me some hints to solve this problem? Thank you! Are there any examples of subspaces  of $\ell^{2}$ and $\ell^{\infty}$ which are not closed? I've just started to play with pgfplot. I'm trying to prepare a plot like to following   \begin{figure}[h] \centering \begin{tikzpicture} \begin{axis}[minor tick num=1,  axis x line=middle, axis y line=middle, xlabel=$k$, ylabel=$\omega$, ymin=0,xmin=-2,ymax=60] \addplot[blue,domain=0:5, line width=1.5pt] {x^2+25}; \addplot[orange,domain=0:5,line width=1pt]{3*x+22.75}; \addplot[cyan,domain=0:1.5, line width=1pt,dashed]{18.166*x}; \node[coordinate,pin=right:{$v_{\phi}=\frac{\omega}{k}$}]     at (axis cs:1,17) {}; \node[coordinate,pin=right:{$v_{g}=\frac{d\omega}{dk}$}]     at (axis cs:2.5,30) {}; \node[coordinate,pin=left:{dispersion relation}]     at (axis cs:4.5,47) {}; \end{axis} \end{tikzpicture} \caption{Wave dispersion relation with phase and group velocity} \label{fig:2} \end{figure}   What I would like to do is dropping the x-y tick labels so that we just maintaing the x-y title. How can I obtain it? Wubi with 14.10 doesn't work - failed to partition the selected disk I tried to install Ubuntu 14.10 on my computer with Wubi. The installation appeared to work in Windows, and told me to reboot.   After rebooting the Ubuntu installer continued the installation, until it stopped with an error message: Failed to partition the selected disk with the detail This probably happened because are too many primary partitions in the partition table. Short story about aliens who want to trade items for information, stories, jokes etc Why does pizza cheese seem hotter than the crust? When I eat hot pizza or a melted cheese sandwich, the cheese feels a lot hotter than the crust or bread: in particular, the cheese might scald the roof of my mouth. but the crust will not. Is this   my imagination, or because the crust cools a little faster than the cheese, so has already cooled a bit by the time I eat it, or because the cheese cools a little faster than the crust, so transfers heat to the roof of my mouth a bit more, or what? Start Mathematica without the menu bar? Are DSLRs a dying breed, making now the time to switch to a mirrorless camera system? Can I transfer my Terraria character from one PC to another? Currently my map server is run on my laptop at home, and my brother and I play via LAN each on his desktop PC.  However, I'd like to transfer my character from the Desktop PC to my laptop in order to play on the go.  Can I do this? Where is the character information saved? Related:   I know I must describe my past and current research in my personal/research statement or statement of purpose. But do I use technical terms?  I was given the advice that since the people reading my statement are mathematicians (I am applying to US for applied mathematics), they should know what I am talking about.  Although I am applying to applied mathematics, it would also be nice to hear from other fields (biology, computer science, engineering etc) about this. Arc length parameterization lying on a sphere Solve the following system of equations  $ \begin{cases}  x_1^{'}(t)=x_1(t)+3x_2(t) \\  x_2^{'}(t)=3x_1(t)-2x_2(t)-x_3(t) \\  x_3^{'}=-x_2(t)+x_3(t)\end{cases} $.  First, I create the column vectors $X$ and $X^{'}$. Then the matrix $$A= \begin{bmatrix} 1 &amp; 3 &amp; 0  \\ 3 &amp; -2 &amp; -1 \\ 0 &amp; -1 &amp; 1  \\ \end{bmatrix} $$  Now, I find the eigenvalues, $-4,3,1$ and their corresponding eigenvectors $(-3,5,1)^T (-3,-2,1)^T (1,0,3)^T$.   I'm just not sure how to take it from here and solve the system of differential equations. I want a diagonal matrix $D$ so that I can read the solutions easy, but I'm not sure how to do it.  EDIT   Building on @Francisco 's answer, I'd have that:  $$X=c_1  (-3,5,1)^T  e^{-4t}   + c_2 (-3,-2,1)^T e^{3t} + c_3 (1,0,3)^T e^{t} $$.  But I believe this could be written in a simpler form. Someone asked me this question and I don't think I gave him an adequate answer (I was trying to think of the extreme case - that of neutron stars) Make an Ubuntu bootable USB drive for a PC using Mac? Bounded sequence with divergent Cesaro means Is there a bounded real-valued sequence with divergent Cesaro means (i.e. not Cesaro summable)?  More specifically, is there a bounded sequence $\{w_k\}\in l^\infty$ such that $$\lim_{M\rightarrow\infty} \frac{\sum_{k=1}^M w_k}{M}$$ does not exist?  I encountered this problem while studying the limit of average payoffs criterion for ranking payoff sequences in infinitely repeated games. The  recommends that images have Copy-On-Write disabled on the directory when using btfs.  I do see that it would be a good idea if you had a lot of file read/writes.   question explores this idea.  I know that VMWare will grow into different files and will write snapshots out which could be problematic when using Copy-On-Write.  For QEMU the file is left open for the VMs existance so there is a potential problem in the write after the VM is shutdown, but I would see slow I/O after a VM is shutdown not being an issue.  What pitfalls would I be avoiding by performing this step for QEMU.    Additionally: I have assumed that the image is raw for this question.  Is there a possible stability issue as qcow2 already has copy-on write. HTML element does not fade in using jquery To prove that $f_n(x) = \frac{nx}{1+n^2x^2}$ does not uniformly converge to $f(x) = 0$ on $[0,1]$ My Approach. To prove the given statement it is sufficient to show that $$\exists \epsilon &gt; 0, \exists x \in [0,1], \forall N \in \mathbb{N}, \exists n &gt; N $$ $$ \Rightarrow | f_n(x) - f(x)| &gt; \epsilon$$    Let $\epsilon = \frac{1}{10}, x = \frac{1}{n}, n =N+1$. Hence $| f_n(x) - f(x)| = \frac{1}{2} &gt; \epsilon = \frac{1}{10}$. Hence, we have shown for every $N \in \mathbb{N}$, how to choose $n$ such that $| f_n(x) - f(x)| &gt; \epsilon$. Thus, $f_n(x)$ does not converge uniformly on $[0,1]$.    Is there any logical flaw or wrong steps in my proof. Any help would be appreciated. Local anchor for group master (move/translate/offset of group master moves group instances)? Let's say I start with the default Blender (2.64) file, except I set the cube to be 1 for all dimensions. At that point, the cube is at xyz location (0,0,0).  Then, let's say I select the cube with right mouse button, and go to Object / Group / Create New Group, and confirm the name "Group" in the "Create New Menu" bar with [Enter]. The selection outline turns green, meaning it's a group "master" (as far as I can see).  Now, let's say I press Shift-A; and choose "Group Instance" > "Group", and set the new instance to Z=2.3; with all selected, the view looks something like this:    Now, let's say I deselect all with A, then select the group master with right-click; and let's say I move it to Y=-2; then the result is:    ... that is, it is noticeable that the group instance/clone also moved in respect to its center (note the group instance axes, which remain in the set position)! Which means, I guess, that groups are defined in respect to the global coordinate center (0,0,0) as anchor.   My question is: is it possible to define a group, but in respect to the, say, bounding box center of the group as anchor - such that when I move/translate the group master, the group instances would remain anchored at their set position (basically, at the center of the group instance axes)? Also, is this documented anywhere in Blender documentation (I had problems finding this info)?