When looking for a script of a programm (.py for Python, .m for Matlab, .jl Julia or .txt in general) it is very handy to go in the finder a simply highlight that script file ==> then a preview of that script appears on the right side in Finder. However, for the Julia script file .jl there is no such preview ==> nothin appear on the right side although it is a normal text file, the proof is that when I change the extension to .txt, the preview is available. How do I do to have that preview available
When I have .txt files or .py files, I can Quick Look those files in Finder. I have .jl files that are codes written in the Julia Language. Of course they are text files. They will open in a text editor like Sublime Text. How can I Quick Look these .jl files in Finder?
Suppose that $X_1, \ldots, X_n \sim N(0,1)$ are independent random variables. I am interested in finding a constant C that satisfies:  $$ E\left[\max_{1\leq i\leq n}|X_i|\right] \leq C \sqrt{log\  n} $$  I know one method is to employ the moment generating function trick, then take logs of both sides. However, I was wondering if there exists a more direct method. thanks! I recently installed the apache2 package using the Software Centre, I want to create an alias apacheres which will replace the more cumbersome command /etc/init.d/apache2 restart.  I opened the .bashrc file in my home directory, and it contains the following lines:  # Alias definitions. # You may want to put all your additions into a separate file like # ~/.bash_aliases, instead of adding them here directly. # See /usr/share/doc/bash-doc/examples in the bash-doc package.  if [ -f ~/.bash_aliases ]; then     . ~/.bash_aliases fi   So I created a .bash_aliases file in my home directory, and added only this line:  alias apacheres ='/etc/init.d/apache2 restart'  When I started my terminal, I get this error message:  bash: alias: apacheres: not found bash: alias: =/etc/init.d/apache2 restart: not found   The shell has obviously read the file, otherwise it wouldn't know of its existence. I have checked the directory path and I can find the file apache2 there. What do I need to do to make this alias work? My mother is given a UK tourist visa for 2 years with a duration of stay as 180 days. It is a c type multiple entry visa. Is this 180 days is the total stay she can take or is it duration of stay per visit.  Thanks in advance for your reply. Favorite Tag Buttons partly sticking off page I appear to have found a bug, when adding Favorite tags, I find that the buttons are half off the page (this is of the  site):    Although on other sites it looks more like this:    I am running Ubuntu GNOME 15.04 with Firefox 41.0.1+build2-0ubuntu0.15.04.2. Suppose $53$ percent of the population prefer red socks to green. If $100$ random people are asked, what is the probability that most (at least $50$) will say prefer GREEN:  So I set \begin{align*} N &amp; = 49.5\\   n &amp; = 100\\   p &amp; = 0.47 \end{align*}  Then.. \begin{align*}    P(N \geq 49.5) &amp; = P\left(\frac{N - np}{\sqrt{npq}}\right)\\                &amp; \geq \frac{49.5 - 47}{\sqrt{100*.47*.53}}\\                   &amp; = \varphi(0.50)\\                   &amp; = 0.3085   \end{align*} Except, that's not the right answer. What did I do wrong in my calculations? Is it possible to dynamically set Views' pager settings? Say for instance, you have a view that displays when viewing a certain node type, but you want the pager settings to be different for each individual node. I was thinking of making a CCK field like "pager setting" and then give it an integer option of x-y. But I don't know if it's possible to somehow dynamically plug that field into the Views' settings. Or is there another way to do this maybe? Quite often, the phrase "x for x's sake" is used in English, and so one could describe someone as being "argumentative for argument's sake" to describe someone who is arguing for the sake of arguing.  However, is there an adjective that means the same thing?  For example, it could be used in the context:     I don't want to be [X], but [argument...]   ... indicating that your argument is necessary and not intended to irritate. Express partial derivatives of second order (and the Laplacian) in polar coordinates $z=f(x,y)$ where $x=rcosθ$ and $y=rsinθ$  Find $ \frac{\partial z}{\partial x}$ and $ \frac{\partial^2 z}{\partial x^2}$  I'm having big troubles with using chain rule, in particularly the second derivative. Spent 2 hours on this already. What I have...  $ \frac{\partial z}{\partial x}=\frac{\partial r}{\partial x}\frac{\partial z}{\partial r}+\frac{\partial z}{\partial θ}\frac{\partial θ}{\partial x}$. So I'm guessing that $\frac{\partial z}{\partial r}$ and $\frac{\partial z}{\partial θ}$ are unkown? And I will need to use them to differentiate again. Any help is really welcome. This is simply only part of a bigger question.   Full Question: Image in a cell with a hyperlink Java in Eclipse: Where do I put files on the filesystem that I want to load using getResource? (e.g. images for an ImageIcon) I know the file needs to be where the getClass().getResource(filename) can find it, but I don't know where that is.  I'm interested both in where to put the files on the filesystem itself, and how to go about using Eclipse's functionality to set up the resources. Where M is a matrix calculate a formula for M^n Let $$M = \begin{bmatrix} -7 &amp; 8 \\ -8 &amp; -7 \end{bmatrix}.$$ Find formulas for the entries of $M^n$ where $n$ is a positive integer.  (Your formulas should not contain complex numbers.)  Your answer should be in the form of a matrix.  I diagonalized to the form $M = P D P^{-1}$  and $M^n = P D^n P^{-1}$ where $P$ is my matrix of eigenvectors and $D$ is my matrix of eigenvalues.  My final answer after diagonalization was $$M^n = \begin{bmatrix} .5((-7+8i)^n+(-7-8i)^n) &amp; (i/2)(-(-7+8i)^n+(-7-8i)^n) \\ (.5/i)(-(-7+8i)^n+(-7-8i)^n) &amp; .5((-7+8i)^n+(-7-8i)^n) \end{bmatrix}$$  I can't seem to find an answer not in terms of complex numbers.  Can someone show me what I'm missing? I am setting up a server where there are multiple developers working on multiple applications.  I have figured out how to give certain developers shared access to the necessary application directories using the setgid bit and default ACLs to give anyone in a group access.  Many of these applications run under a terminal while in development for easy access. When I work alone, I set up a user for an application and run screen as that user. This has the downside that every developer to use the screen session needs to know the password and it is harder to keep user and application accounts separate.  One way that could work is using screen multiuser features. They do not work out-of-the-box however, screen complains about needing suid root. Does giving that have any downsides? I am pretty careful about using suid root anything. Maybe there is a reason why it isn't the default?  Should I do it with screen or is there some other intelligent way of doing what I want? Is it safe to delete from C:\Windows\Installer? I've been looking on an XP machine what is using all that diskspace, and it turns out C:\Windows\Installer is high up there on the list of directories that use the most diskspace.  It seems to contain a cache of msi and msp files.  Is it safe to delete those? To save diskspace, I've been deleting the "$KB...$" directories for ages without any problems. I want my Windows Updates in my system, why you would want to uninstall them is something that I have never understood. (Except when you're on an update revision board professionally or something of that order.) Using maxTimeMS parameter with aggregation queries on Mongo 2.6 and Pymongo 2.7.1 Tsunami dampening mechanisms Find all integer solutions to Diophantine equation $x^3+y^3+z^3=w^3$ Compute all integer solutions to the equation  $$x^3+y^3+z^3=w^3$$ Range of A and null space of the transpose of A So I'm complete stuck with something. I know it the following statements are true (or at least the seem to be from the results that I got from messing around with it a bit on MATLAB), but I don't understand why they are true or how to show so. Let $A$ be and $m$X$n$ matrix. Show that:  a) if $x \in N(A^TA)$ then $Ax$ is in both $R(A)$ and $N(A^T)$.   For this one I messed around with it with my own examples and I got $Ax=0$, therefore satisfing the statement, but I don't understand what's actually going on.   b) $N(A^TA)=N(A)$  again, makes sense when I see the results in MATLAB, but don't undestand why it works.  c) $A$ and $A^TA$ have the same rank  d) If $A$ has linearly independent columns, the $A^TA$ is nonsingular.  For the last two I have no idea on how to even start showing the relationship. I feel like I'm missing some crucial relationship between $A$ and $A^TA$, but I'm just not seeing it.   I would greatly appreciate any help of sugestions on how to show that these statements are true.   Thank you very much. What is the best way to include R code in the Latex paragraph I am a newbie in Latex. I have two simple questions regarding including R code in Latex.  Q1: For a block of R code, I use 'listings' package, as follows.  \documentclass[12pt]{report} \usepackage{listings} \begin{document} \begin{lstlisting}[language=R] &gt; dpareto(4, 2, 3) [1] 0.09375 &gt; dpareto(4, -2, 3) [1] NaN &gt; dpareto(seq(-1, 4, 1), 2, 3) [1] 0.0000000 0.0000000 0.0000000 0.0000000 0.2962963 0.0937500 \end{lstlisting} \end{document}   I feel it's not professional. What is the best way to present the block of R code?  Q2: For code pieces in the paragraph, for example I wish to include a R function, or variable, or package name in my Latex context, what is the best way to do that? How to fix pagination for custom loops? I am trying to evaluate the following:  $\displaystyle \int_{0}^{\infty} \frac{1}{1+x^a}dx$, where $a&gt;1$ and $a \in \mathbb{R}$  Any help will be much appreciated.