I'm looking for a shortest one line shell script to print all special characters in ASCII table (from chr(32) --&gt; chr(127)) Thanks for all your help &amp; support!
How can I list all the printable ASCII characters in the terminal?
4 GB of RAM installed but only 2.97 GB usable. What gives? Possible Duplicate:        I just bought a used MacBook on  that came installed with 4 GB of . The first thing I did was installing Windows&nbsp;7 using . Here's where it gets weird. When I finally booted it up in Windows&nbsp;7, I checked the Computer properties, and it said that there were 4&nbsp;GB of RAM, but only 2.97&nbsp;GB is usable. Why is that? Is there anything I can do about this? How to show that $\int_0^1 \left(\sqrt[3]{1-x^7} - \sqrt[7]{1-x^3}\right)\;dx = 0$ I'm trying to determine which battery to use for my application. I'll be using a class 1 or class 2 Bluetooth (not low energy) module, which requires about ~50/60mA of RX/TX current. In addition, there is a microcontroller and some low power analog IC's. I require a continuous stream of data from the device for 1-10 minutes.  Are coin cells completely out of the question? I'm talking about CR2450 Lithium-ions. I don't really mind if they don't last long, but will they work? Because in my application, size is key, and battery life is a trade off that I'm willing to make. How can I view the Android internal partition table? I've rooted my device, put it in recovery mode, and have linked it to PC by .  How can I view the list of storage devices and partitions?  Note: fdisk doesn't work. After installing fedora and Centos and other OS now I have them all showing in my Boot menu [F2] on start up not the menu form the OS even after deleting them and reinstaling other OS - Ubuntu -so It just shows one when the OS starts but when I go to UEFI setting I still find all the old ones they instruct you to use DEL to take them out but that does not work The following code receives seg fault on line 2:  char *str = "string"; str[0] = 'z';  // could be also written as *str = 'z' printf("%s\n", str);   While this works perfectly well:  char str[] = "string"; str[0] = 'z'; printf("%s\n", str);   Tested with MSVC and GCC. Eclipse is not starting on Windows 7 "reflect" vs "reflection on" or "reflection of" The bride's elegant dress reflected her good taste. The bride's elegant dress is a reflection on her good taste. The bride's elegant dress is a reflection of her good taste.  Would you tell me if they mean the same thing? If they would mean the same thing, what about the following question--link--? or I mean how could we distinguish such a distinction between these functions? Similarly, what about these:  A student's grades reflected her teacher A student's grades are a reflection on her teacher A student's grade are a reflection of her teacher  When, where or in which situation don't they mean the same? How can we distinguish such a distinction? Using Ubuntu 12.04. is there any way to hide a running process ?  That process shouldn't' display in system monitor,top,htop . There is no problem to remember the process id (PID) so observation of the process can be done easily .but i want to hide the process completely . is there any way ? Is time dilation an illusion? It is said that we can verify time dilation by flying a very accurate clock on a fast jet or spaceship and prove that it registers less time than the clocks on earth. However, the clocks on earth would be moving relative to the clock on the spaceship, and since time always dilates and never goes faster regardless of the direction of relative motion,  the clocks on earth should register less time than the clock on the spaceship.  Is this true? Whenever there is a fast-moving object such as a rocket do all clocks on earth really become slow?  If the rocket with the clock landed after moving at relativistic speed, would its clock and the earth's clock again show the same time since during its travel both appeared slow to each other?  Or is all this just an illusion, ie. the clocks just appear to be slow to each other but in actually run at normal speed, and neither is behind when the rocket actually lands? Here's Prob. 3, Chap. 3 in the book Principles of Mathematical Analysis by Walter Rudin, 3rd edition:      If $s_1 = \sqrt{2}$, and $$s_{n+1} = \sqrt{2 + \sqrt{s_n}} \ \ (n = 1, 2, 3, \ldots),$$ prove that $\left\{ s_n \right\}$ converges, and that $s_n &lt; 2$ for $n = 1, 2, 3, \ldots$.    My effort:   We can show that $\sqrt{2} \leq s_n \leq 2$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  Then we can also show that $s_n &lt; s_{n+1}$ for all $n = 1, 2, 3, \ldots$. [Am I right?]  But how to calculate the exact value of the limit? Where does this sequence occur in applications? Footnote, non-inline syntax? I would like to use footnotes without cluttering the container paragraph. Something like:  This is a very long complex\footnote[a] sentence.  \foottext[a]{So complex that I would prefer to pull out the footnote text.}   The idea comes from the [linktext][1], [1]: http://url.com markdown syntax. If $E$ is a connected space, then so is $\overline{E}$. I have to prove that if $E$ is a connected space, then so is $\overline{E}$ (the closure of $E$) a connected space. I tried to prove the contrapositive. So suppose that $\overline{E}$ is not connected in a metric space $X$. This implies there are $A\subset X$ and $B\subset X$ such that $A\cap B=\emptyset$, $A\cap \overline{E}\neq \emptyset$, $B\cap \overline{E}\neq \emptyset$ and $\overline{E}\subset A\cup B$. I will try to prove that this $A$ and $B$ will also work for $E$. Suppose that $A\cap E=\emptyset$ and $B\cap E=\emptyset$, this implies that $A\cup B$ is a subset of the limit points of $E$, because $A\cap \overline{E}\neq \emptyset$ and $B\cap \overline{E}\neq \emptyset$. This contradicts the fact that $\overline{E}\subset A\cup B$, so we have to conclude that $A\cap E\neq \emptyset\neq B\cap E$. Since $E\subset\overline{E}\subset A\cup B$, we have that $E$ is also not connected.  My question is whether my proof is correct, because I have a little bit doubt. If it's not correct, what is the best I can do? Thanks in advance!   Edit1: The definition we use for a connected space $E$ in a metric space $X$ is that if $E$ is connected, then there are no open $A,B\subset X$ such that $A\cap B=\emptyset$, $A\cap E\neq \emptyset\neq B\cap E$ and $E\subset A\cup B$.  Edit2: $A$ and $B$ must be open. Uncaught exception thrown after moving my website to localhost Copying protected files between servers in one line? I'd like to copy squid.conf from one server to another.   The servers don't talk to each other. I'd like to go through my workstation. Both servers have the file, so it will be overwritten on the target. The files have 600 permission and are owned by root. root login via ssh is disabled (PermitRootLogin no). I'd like to do it in one line, if possible, since it will be a part of a setup guide.   I know to do  ssh source 'tar czpf - -C /etc/squid/ squid.conf' | \     ssh target 'tar xzpf - -C /etc/squid/'   to copy files between servers and preserve permissions. However, in this case I will get "Permission denied".  I also know I can do this:  ssh -t source 'sudo cat /etc/squid/squid.conf'   This way the -t allows sudo to ask for the admin password before outputing the content of the file.  The problem is, I don't know how to combine those techniques into something that will ask for the sudo password on each server, and transfer the file to its destination. Is this possible?  UPDATE: Here's the best I could come up with:  ssh -t source 'sudo tar czf /tmp/squid.tgz -C /etc/squid squid.conf' &amp;&amp; \ ssh source 'cat /tmp/squid.tgz' | \     ssh target 'cat &gt;/tmp/squid.tgz' &amp;&amp; \ ssh -t source 'sudo rm /tmp/squid.tgz' &amp;&amp; \ ssh -t target \     'sudo tar xzf /tmp/squid.tgz -C /etc/squid &amp;&amp; sudo rm /tmp/squid.tgz'   Calling this a one-liner seems like a stretch. I think I'll just break it down to separate steps in the setup guide. Finding the distribution of sum of Lognormal Random Variables I am trying to find the distribution of sum of 2 lognormal random variables. I referred the literature available on Cross validated, Stack overflow and few papers before posting this.   I used convolution to find the distribution of sum of 2 lognormal rvs. The approximation works for difference. But, not for sum. I am getting a nasty kink at 0 in both CDF and PDF. I could not recognize the reason. With few tweaks, the shape of the distribution comes right. But, I am not sure what I was doing is right.   Can somebody guide me here? Why gravity is an attractive force? Why gravity is an attractive force?     One may say that it is because of space time curvature but General Relativity is built on this law: $\displaystyle G \frac{m_1 \times m_2}{r^2}$ (To be more precise, it is  from it's potentiel form known as  that can be written like this: $\nabla \cdot g = - 4\pi Gp  $). So GR can't explain why gravity is attractive. General Relativity only explains how gravity occurs in terms of space time.    Another may stick with the Quantum theory stating that gravitons are responsible for the force of gravity, but why a massless particle with spin 2 will exchange positive momentum? I have an armature set up, but the bones aren't moving the mesh properly  The mesh and armature:    The vertex group of the bone I am going to move:    As you can see, the circled region doesn't belong to the vertex group. But, when I move the bone look what happens:    That part of the mesh has moved with the bone.. Why? Intersection of Adiabatic curves Can paths of two adiabatic process intersect on a plot? This question is for both reversible and irreversible processes. There are some , but they mostly address only for reversible adiabatic processes. Also, I want a physical interpretation of the processes that is, if they don't intersect then why don't and what it would be like, physically for a system. Triangle Inequality for norm integral $\|f\|_1=(\int_a^b [|f|^2+|f'|^2]\mathsf dx)^{1/2}$. Define $C_1^1[a,b]$ to be the space of continuously differentiable functions on $[a,b]$, with norm $$\|f\|_1=\left(\int_a^b[|f|^2+|f'|^2]\mathsf dx\right)^{1/2}.$$ Show that this is a proper definition of a norm. Is this normed space complete?  I'm stuck on the triangle inequality part. I'm having a hard time showing that $$\|f+g\|_1\leq \|f\|_1+\|g\|_1.$$ Any hints or solutions are greatly appreciated.