I have a file in my Linux work computer that I need on my personal Mac laptop and I wanted to know how I could get that to my mac computer. I can't email it to myself because it's a dmg file and it's too large via email. How can I send this file to myself using terminal commands? Also I have no administrative capabilities so I can't use sudo
I'm using Linux (centos) machine, I already connected to the other system using ssh. Now my question is how can I copy files from one system to another system?  Suppose, in my environment, I have two system like System A and System B. I'm using System A machine and some other using System B machine.  How can I copy a file from System B to System A? And, copy a file from System A to System B?
How many switches can be stacked/interconnected? Some GUI apps use OS X location services, but I want to retrieve a Mac's physical location from the . This could be useful for running scripts, switching settings etc. The mechanism should be , not a Geo IP service (data too low-res, needs online connection).  Minimum requirement is output of longitude and latitude. Nice would be a number indicating the precision. Super nice: a geocoder that provides location names. I am given the information that $ \vec{u} = \langle 1, 1/2 \rangle$ and $\vec{v} = \langle 2,3 \rangle$.   There are a few pieces I am asked to find, and these are the one I am having trouble with:   $\left\Vert \large \frac{\vec{u}}{|| \vec{u}||}\right\Vert$  The magnitude of vector u is $ \sqrt{5}/2$, of which I correctly calculated; the unit vector is then $ \langle \large \frac{2 \sqrt{5}}{5}, \frac{ \sqrt{5}}{5} \rangle$. However, when I go to find the magnitude of the unit vector, I get $ \sqrt \frac{3}{5}$, which is clearly not one. What did I do wrong? How can I initialize normal array member variable in initializer list? Assume I wield a Whip in one hand and a dagger in the other.  If a creature moves from 5ft to 10ft it has technically moved out of my reach (dagger), but at the same time it is still inside my reach (whip). When does it provoke opportunity attacks from me?  I am fully aware that this would not enable me to make off-hand attacks since the whip is not a light weapon, just to cut that issue out of the question. I would like to create an alias to rm command in order to have a confirmation message after executing this command. So I am creating an alias like this alias rm='rm -i'. But as far as I know this is a temporary alias and it lives until you close the terminal.  As it is explained  to save alias permanently I need to execute ~/.bash_aliases or ~/.bashrc commands in terminal and add my alias there. But when I execute ~/.bashrc I get following error message :  bash: /home/bakhtiyor/.bashrc: Permission denied   When I run ~/.bash_aliases I get another error message like this:  bash: /home/bakhtiyor/.bash_aliases: File or directory doesn't exist.   What is the actual problem and how can I solve it? Deriving the inverse of a 2x2 matrix How can I install the latest Netbeans? In Ubuntu Software Center the Netbeans version is netbeans 7.0.1+dfsg1-5ubuntu2 but Netbeans 8.1 is available in the Netbeans website. Command "find -name" must be enclosed in quotes or it doesn't work. Why is that? find . -name *.rb   doesn't work on my ubuntu  I have to do  find . -name "*.rb"   to get it to work.  Why is that? /dev/tcp not found When I try to run the following command:  echo -e "GET / HTTP/1.1\n\n" | /dev/tcp/74.125.225.19/80   I get the following error message:  bash: /dev/tcp/74.125.225.19/80: No such file or directory   The following command works perfectly, so the problem involves how I'm using /dev/tcp:  echo -e "GET / HTTP/1.1\n\n" | nc 74.125.225.19 80   I'm in Ubuntu 13.04, so the capability should be on my system. What am I doing wrong? What are the rules for using /dev/tcp properly? Does it feel lately like all questions have already been asked and answered and there is nothing more to do? I think everybody with a history of participation can't help but notice the explosive growth of repeated duplicate questions. The work of looking for duplicates and then closing questions has overtaken the work of actually answering questions.  It's become virtually impossible to ask something which hasn't been yet asked. Lately I feel boredom each time I see a new question and start answering it only to realize after the first written sentence that I have answered similar questions five times over or seen them answered some ten times or more. I know where it's going to be going and what answers with what votes it is going to receive before any answer is even written.  It's obviously not the administration's fault, it is simply so. The questions is, what to do about it? Engaging more moderators to close and close duplicates won't work because it's already starting to repel users who get mad at their questions closed and become afraid of asking more or perhaps just go away.  The original idea of Jeff stated the the site is for questions that can be answered. Meaning no open-ended discussions. When I first read this I had a casual thought - well, and what's gonna happen when they all are asked and answered? Will it become a museum, a monument of wisdom and knowledge or what?  I'm not sure what to do about it. Perhaps deprecation/versioning of older questions so that their new versions can sparkle the tiresome evening...  POSTSCRIPTUM.  I recall Star Trek Voyager episode  when another Q asked Captain Janeway for asylum. He was tired of immortality and wanted to die. They opened a hearing and went on to visit the continuum to evaluate the living conditions there which caused the suffering and the wish to escape it in death. A lifeless picture presented itself to the visitors... a house lone in an open space, two people going about their business, nobody talking. When asked why they were silent, the following was said. It's been so long, all has already been said, all stories told, all jokes are made... there is nothing left to do...  Are we there as well?  UPDATE: Just saw this answer in another question:       Also, some of the core questions got asked early on in the life of the site. Great questions still come around from time to time, but many have already been asked.   Doesn't that confirm my point? Show $\inf_f\int_0^1|f'(x)-f(x)|dx=1/e$ for continuously differentiable functions with $f(0)=0$, $f(1)=1$. Best factor extraction methods in factor analysis SPSS offers several methods of factor extraction:   Principal components (which isn't factor analysis at all) Unweighted least squares Generalized least squares Maximum Likelihood Principal Axis Alpha factoring Image factoring   Ignoring the first method, which isn't factor analysis (but  principal component analysis, PCA), which of these methods is "the best"? What are the relative advantages of the different methods? And basically, how would I choose which one to use?  Additional question: should one obtain similar results from all 6 methods? The Setup: Let's say we want to study a Euclidean $\mathrm{CFT}_2$ on $\mathbb R^2$ with coordinates $\sigma^1$ and $\sigma^2$ and metric   $ds^2 = (d\sigma^1)^2+(d\sigma^2)^2$.    It seems to me that in the usual discussion (e.g. di Francesco, Ginsparg, Polchinski), one proceeds to consider an analytic continuation of the CFT to $\mathbb C^2$ with coordinates $z^1, z^2$ and complex metric  $ds^2 = (dz^1)^2+(dz^2)^2$  and then, one performs the coordinate transformation $z = z^1+iz^2$ and $\bar z = z^1-iz^2$.  In this way the coordinates $z$ and $\bar z$ can be considered "independent" because they are coordinates on a complex two-dimensional manifold.  Also, in these coordinates the metric becomes  $ds^2 = dz\,d\bar z$  and it becomes clear that conformal mappings consist of mappings: $(z, \bar z)\to (f(z), g(\bar z))$.  My confusion is this: Since our original theory was on $\mathbb R^2$, books say that when we do calculations, we should consider the physical theory as living on the copy of $\mathbb R^2$ embedded in $\mathbb C^2$ given by the condition $\bar z = z^*$.  But consider the mapping $(z, \bar z)\to (z^2, \bar z)$.  This is a conformal mapping on $\mathbb C^2$, but it does not map the surface $\bar z = z^*$ to itself; for example the point $(z, \bar z)=(2,2)$ gets mapped to the point $(z^2, \bar z) =(4,2)$ and $2$ is clearly not equal to $4^*$.  In particular, it seems to me that analytic continuation to a CFT on $\mathbb C^2$ enlarges the set of mappings one can have, so what relevance does it really have to the original CFT on $\mathbb R^2$? How to set a default query timeout with JPA and Hibernate? Finding the radius of convergence for $\sum_{n=0}^{\infty} \frac{(n!)^kx^n}{(kn)!}$ I'm reviewing some calculus concepts right now, and this series stumped me. I'm trying to figure out what its radius of convergence is, but it's not falling for any of my old tricks. Using the root-test, I want to compute: $$ L_1=\lim_{n\rightarrow\infty} \left|\sqrt[n]{\frac{(n!)^k}{(kn)!}}\right| $$  where $k$ is some positive integer. Passing the limit through the absolute-value bars and $n$th root symbol, I now want to compute the simpler (?) $$ L_2 = \lim_{n\rightarrow\infty} \sqrt[n]{\frac{(n!)^k}{(kn)!}}$$  Which I can't seem to pin down. Numerical tests indicate it goes to 0, and that jives with an intuitive notion I have that there are always $k$ terms on the numerator, but $kn$ terms in the denominator. But since all of these terms themselves depend on $n$, proving that $L_2 = 0$ escapes me. Once we get this result (if it's correct), then clearly $L_1$ is also 0, and the radius of convergence of the series is $\mathbb{R}$. Thanks for any ideas you may have. There is a problem with my logic and I cannot seem to point out where. There's a rocket ship travelling at close-to-c speed v without any acceleration (hypothetically), and there is an observer AA with a clock A on Earth, and there's another observer on the rocket BB with a clock B and these two clocks were initially in sync when the rocket was at rest with a FoR (frame of reference) attached to Earth. Now, this rocket's moving and AA tells us that B is running slower than A by a factor of$$ \gamma = 1 /(1-v^2/c^2)^{1/2} $$ $$ t_A/t_B = \gamma $$ where v is the relative 1d- velocity between the two i.e the earth and the rocket! That would mean the time elapsed on A is greater than that on B but this will happen only in the FoR of AA? So $t_B$ in this equation must be the time on B as observed by AA? Is this correct? What do the terms mean in the equations? If the symmetry holds and BB doesn't accelerate, then BB could say that $$ t_B/t_A = \gamma $$ right? where $t_B$ and $t_A$ are the times on B and A with respect to FoR of BB? But I was solving this problem and I took the earth FoR of A, but the prof took the rocket FoR of B? Like how will I know which FoR to solve the problem from? It'd greatly help if the terms in all the above equations were laid down neatly! DO we even need these FoRs?? Because in all the solved problems the prof is't specifying any and is using random ones! Please help!!!! This is the question where I messed up. The first rocket bound for Alpha Centauri leaves Earth at a velocity (3/5)c. To commemorate the ten year anniversary of the launch, the nations of Earth hold a grand celebration in which they shoot a powerful laser, shaped like a peace sign, toward the ship.  According to Earth clocks, how long after the launch (of the rocket) does the rocket crew first see the celebratory laser light?  This must be 25 years. My reasoning is: If v = 3c/5 10v + vt = ct where t is time taken by the light to reach the rocket from Earth as calculated from Earth.. and I solved that for t. and added 10 years to that because the time starts at the launch of the rocket!  According to clocks on the rocket, how long after the launch does the rocket crew first see the celebratory laser light?  This is 20 years. Here, I say: If it takes 25 years as observed by clocks on earth for the laser to reach the rocket, what should be the corresponding time as seen on a clock on the rocket? Using the formula: 25 = $\gamma$t where $\gamma$= 5/4 solved for t!  According to the rocket crew, how many years had elapsed on the rocket's clocks when the nations of Earth held the celebration? That is, based on the rocket crews' post-processing to determine when the events responsible for their observations took place, how many years have passed on the rocket's clocks when the nations of Earth hold the celebration?  For this, I did the following: 10 years on earth = T years on rocket ship where T must be lesser than 10 as observed from Earth FoR! Therefore, T= 4(10)/5 years = 8 years! But, prof says, 10 years on Earth = T years in rocket ship where T must be GREATER than 10 as observed from the rocket FoR??? Therefore, T = 10(5/4) years = 12.5 years!! What does this question actually want? Add table row in jQuery What is the best method in jQuery to add an additional row to a table as the last row?  Is this acceptable?  $('#myTable').append('&lt;tr&gt;&lt;td&gt;my data&lt;/td&gt;&lt;td&gt;more data&lt;/td&gt;&lt;/tr&gt;');   Are there limitations to what you can add to a table like this (such as inputs, selects, number of rows)? Firstly, how do you gain the score exactly? I know it shows in the bar on the side of the map, but I remember a match where I was lone-wolfing and still got a pretty high score in that bar. I suppose my other squad members were together, but do I also gain for their work?  Also, does the score reset when I start a new game? I mean, I play support with the Offensive perk and it took me a long game of conquest to just unlock lvl-3 extra grenade. In the next match, that 'nade is gone. Don't I keep it forever? Does eating infected flesh have an effect? I don't remember what actually happends when people eat infected flesh. I have in mind :  Gareth and the cannibals eating bitten Bob's leg in . It seems that the cannibals survive for a while after eating Bob's flesh and they seem OK.  The Saviors eating pigs that ate walkers in . We don't know for how long this process has been on, but  has his routine and looks used to doing that. Can we assume that Saviors are eating infected pig flesh for a while now ?  Does it have negative effect in long term ?