Can I feed a bash script a local file into $1 and have it echo the file's absolute path?
How can you quickly get the complete path to a file for use in terminal?
How do I resize an encrypted LVM to install another copy of Ubuntu? I have an old PowerBook which has been happily running Ubuntu Server for a few months. Now I want to repartition the hard drive and install Ubuntu Client, while keeping my existing installation intact.  When I first installed Ubuntu, I chose to erase the entire hard drive and use it as an encrypted LVM. Now, the installer seems to recognize the partitions on the drive, but it never prompts me for the password to the LVM.  How do I make room for another installation alongside my current one? How to add a node in the middle of the line with tikz? actually it's an easy question, but I could find an answer with Google or the included search on StackExchange ;)  How do I add in the middle of the line a node with Tikz? I want somethink like this:  --------------&gt;      text   Normally I did it with an additional node at command. If I will resize the the arrow then I need to change the position of the node also.  ----------&gt;    text   Which is not the best way for big things. I try to find something in the manual and didn't find an answer yet.   Thanks.  Best regards. How to Fix Broken Packages? Moving SQL Server to different domain How can tangential acceleration from a radial force be explained? A mass is attached to a rope, and put into a circular motion. If I pull the string from the center, the tangential speed of the mass will increase (by conservation of angular momentum).   I am applying a force only in the radial direction, so how can the tangential velocity increase if there is no tangential force? In my family we have a DNA contradiction – two cousins (at about the 4th cousin level) took a Y-DNA test, but did not match and had two completely different haplogroups.   Since then, I have traced living cousins with the same surname – the only ones left living that I am aware of – and I would love to pay to have them tested to see if we can figure out where the non-paternity event (NPE) or other event happened (i.e. this new cousin could help us determine which line the NPE occurred in depending on which cousin he matches).   Does anyone have a sample letter, or know the best way to go about asking a distant cousin for DNA?   I have their address and am planning to write a letter, but I can't imagine receiving such a letter, so I am not quite sure how to ask without scaring them off. iOS 9.2 double touch fingerprint sensor I was messing around this morning and found that if I quickly double touch (NOT double-click) the fingerprint sensor on my iPhone 6S+ (iOS 9.2), the current app (or the home screen) slides down to the bottom half-screen, showing a blurred home screen background on the top half.  It doesn't matter if I use a finger that the sensor recognizes.  It goes back to normal after about 8 seconds or if you double-touch again, but I can't figure out what this mode is for??  Is this a bug or some hidden feature I haven't heard about yet? iPhone App CrashReport Where Android apps store data? Could you list all possible directories where Android apps may store data, providing description what kind of data are stored in each directory? Why do all the planets of the solar system orbit in roughly the same 2D plane? Most images you see of the solar system are 2D and all planets orbit in the same plane. In a 3D view, are really all planets orbiting in similar planes? Is there a reason for this? I'd expect that the orbits distributed all around the sun, in 3D. Has an object made by man (a probe) ever left the Solar System? django manytomanyfield .add() method Negative probabilities are naturally found in the Wigner function (both the original and its discrete variants), the Klein paradox (where it is an artifact of using a one-particle theory) and the Klein-Gordon equation.  Is a general treatment of such quasi-probability distributions, besides naively using 'legit' probabilistic formulas? For example, is there a theory saying which measurements are allowed, so to screen negative probabilities? Additionally, is there an intuition behind negative probabilities? How can I hover over icons in Ubuntu Dock to see all windows of one application? I'm using Ubuntu 17.10 with GNOME 3. How can I show all open windows of a certain application using the sidebar (aka Ubuntu Dock)? Right now I have to right-click and select "all windows" to see my other open windows.   Is there a quicker way to do this? I need to set the text within a DIV element dynamically. What is the best, browser safe approach? I have prototypejs and scriptaculous available.  &lt;div id="panel"&gt;   &lt;div id="field_name"&gt;TEXT GOES HERE&lt;/div&gt; &lt;/div&gt;   Here's what the function will look like:  function showPanel(fieldName) {   var fieldNameElement = document.getElementById('field_name');   //Make replacement here } This copy of the Install OS X El Capitan application can't be verified. It may have been corrupted or tampered with during downloading Macbook Pro 13" 2015 with OS X Yosemite on board. I've been trying to install OS X El Capitan, but always get the following message:  "This copy of the Install OS X El Capitan application can't be verified. It may have been corrupted or tampered with during downloading."  By the way this is not a date time issue, date is correct on my computer.    How can I fix this? Who knows the solution, please help. Associativity of symmetric difference of sets By $A\oplus B$ we denote the symmectric difference of two sets. The definition is $A\oplus B =(A\setminus B) \cup (B\setminus A)$. Now I hope to show that $A\oplus (B\oplus C) = (A\oplus B)\oplus C$. I remember that there's an elegant proof, but I forget its detail. (The first step is to show $A\oplus (A\oplus B) = B$, and maybe applying this formula, we can obtain associativity.) Exporting symbols rather than points in .dxf I have a map I've made in QGIS which is points from a .csv file. These have then be turned into different symbols based on what they represent and then the sizes of said symbols based on values in the .csv.  I need to export this as a .dxf to use in AutoCAD so it basically looks the same as it does in QGIS. However, when I do so it just exports as single dots (points). Is there a way I can export them as the symbols as I can see in QGIS? Why draw blood from veins rather than arteries? Why draw blood from veins rather than arteries? Is it more convenient or safer? Etymology for “Mc‑” and “O’‑” prefix in surnames There is clearly a prefix in names like McDonald, McChrystal, O’Brian, O’Neal.  What does this Mc- and O- prefix signify? It looks like Donald, Chrystal, Brian, Neal are perfectly fine names on their own, so why is there a prefix before it? I am wondering the following question: Let $X$ be a separable Banach space which is linearly isomorphic to a dual Banach space $Y^*$. Is there a Banach space $Z$ such that $X$ is lineraly isometric to the dual of $Z$: $X=Z^*$.  I think that the answer is no, but I do not have a counterexample. Since $L_1$ is not isometric to any dual Banach space, maybe one can find a dual Banach space which is isomorphic to $L_1$...  To finish, do that change anythink if I suppose $X$ to be almost linearly isometric to $Y^*$ ? By almost linearly isometric I mean that for every $\varepsilon &gt;0$ there exist $T$: $X \to Y$ a linear isomorphism satisfying $\|T\|  \|T^{-1}\| \leq 1+\varepsilon$.