While using ubuntu some packages are available as standalone application available in .tar.gz packages. These application can be ran by executing executable file within the folder. Now I want to manage a particular file format using this application but application isn't visible in open with menu. What can I do.
I have this run.sh file, and I've create a symbolic link into my desktop.   When I double-click on it the file the following dialog appearsr    And I have to click on "run" each time. How can I create a link that runs by default?
How do I change which mirror I get updates and software from? Is it okay to board only the second flight of a return ticket? The return ticket is much cheaper than buying one way I was browsing flight price at Singapore Airlines website, and a one-way flight from SIN to SFO cost this much:    That's quite expensive. I tried browsing around and found that a return flight from SFO to SIN and back to SFO cost much cheaper:    It's really weird because the second ticket includes the exact same flight that cost 1900+, but it's almost half the price. The reason for this counter-intuitive situation is explained in the answers this question   If I am located in Singapore and my intention is to fly one-way to SFO, is it safe to book the flight in the second picture and only board SFO-SIN leg? Will they deny me because I miss the SIN-SFO flight? Ubuntu/Kubuntu 16.04.1 installation in VirtualBox I'm trying to install Kubuntu 16.04.1 on a virtual machine (I'm using VirtualBox). When I boot from the disk image Ubuntu begins to load and then I get this screen:   It looks like it's loading but the display is not working properly (the pink blob is my mouse pointer, only very large and pink).  I also tried installing Ubuntu 16.04.1 and I get a very similar result:   Am I missing something in VirtualBox? Thanks! When ever I need to kill a background process I do ps -e | grep &lt;process_name&gt;  Which prints something like this 1766 ? 00:00:13 conky , Then I use the process ID to kill it like so kill 1766 .   Is there any way I can simplify this ? Make it quicker ? reduce the amount of typing ? I need to show that for prime numbers of the form $p=4n+1$, $x=(2n)!$ solves the congruence $x^2 \equiv-1\pmod p$. I then need to show this implies p isn't a gaussian prime.   I have started to solve this using Wilson's theorem that a number $z$ is prime iff $(z-1)!\equiv-1\pmod z$. Therefore the endpoint of my proof should be that $(p-1)!\equiv-1\pmod p$.  As $p$ is of the form $p=4n+1$, I only need to prove that $4n!$ is congruent to $-1$ modulo $p$.   Here is my working so far: Starting with the congruence $x^2 \equiv -1\pmod p$:    $$\eqalign{x^2 = -1\pmod p&amp;\implies   x^2 + 1 = kp \implies (x-i)(x+i) = kp\cr &amp;\implies ((2n)!-i)((2n!)+i))=kp \implies 4n!- 1 =kp\cr}$$   This is where I start to run out of any ideas that seem to get me anywhere. Any tips would be greatly appreciated! Do Ryzen 3 2200u laptops with Vega 3 work out of the box with major Linux distros? Why are there $736$ matrices $M\in \mathcal M_2(\mathbb{Z}_{26})$ for which it holds that $M=M^{-1}$? I'm currently trying to introduce myself to cryptography.  I'm reading about the Hill Cipher currently in the book Applied Abstract Algebra. The Hill Cipher uses an invertible matrix $M$ for encryption and the inverse matrix $M^{-1}$ for decryption. The book recommends to use a matrix $M$ for which it holds that $M=M^{-1}$, since we then have the same key for encryption and decryption.  In the book, they use a $2 \times 2$ matrix $M$ over $\mathbb{Z}_{26}$ as example, and state that for there are 736 $2 \times 2$ matrices for which it hold that $M=M^{-1}$.  I'm trying to pick up on as much as possible when reading things, since I find it counter-productive for learning to skip something, when you don't get the theory behind it. Can someone enlighten to me, as to why it is that there are 736 possible $2 \times 2$ $M=M^{-1}$ matrices and how to find them? Can Wubi use the ISO I already have? The Windows Installer for Ubuntu desktop instructions say that an ISO image for Ubuntu is downloaded during the installation process.  But what if I already have an ISO image for Ubuntu. Can I make the Windows Installer use that, so it doesn't have to download an ISO image again?  12.04 LTS and 12.10 are the versions of Ubuntu I'm interested in installing, in case that matters. Is there a way to mount a disk directly to a specific folder? Confidence interval for the p-value estimate when doing Monte Carlo testing The second paragraph of the  section of the Wikipedia article on resampling statistics, the values of a confidence interval for a p-value from a MC sampling is given:     After $N$ random permutations, it is possible to obtain a confidence interval for the p-value based on the Binomial distribution. For example, if after $N = 10000$ random permutations the p-value is estimated to be $\hat{p}=0.05$, then a 99% confidence interval for the true $p$ (the one that would result from trying all possible permutations) is $[0.044, 0.056]$.   What's the formula to calculate it? How to remove local (untracked) files from the current Git working tree How do you delete untracked local files from your current working tree? Transit visa at Istanbul Airport, Turkey, during a Turkish Airlines arranged stopover? Do I need a transit visa at Istanbul Airport to enter Istanbul for city sightseeing or hotel accommodation?. All services provided free by the Turkish Airline. I am Nigerian citizen and booked Turkish Airline flight to Nigeria with 12hours layover at Istanbul Airport. Here's a situation that came up during a back lot league softball game a few weeks ago. (Note: While our league has some of its own rules we try to defer to MLB rules in all causes that aren't specifically addressed.)  There is a runner on second (R2) and a runner on first, with no outs. A ground ball is hit to the third baseman (3B) who cleanly fields the ball away from third base. Seeing that R2 is running toward him, 3B does not go to third and instead waits to tag the incoming R2. R2, in an attempt to buy some time for the other runners, stops advancing to third base. As soon as R2 stops, 3B declares R2 is out (without making a tag) and throws the ball to first to make a play.  During the discussion after the play, the 3B claimed that any player advancing on a force cannot stop moving toward their next bag or they are automatically out (the same way a runner leaving the baseline to avoid a tag is considered out). Our rules don't have a specific clause that addresses this situation and I couldn't find anything in official MLB rules (though it's possible I missed something, as 3B claims it is an MLB rule).  So, is 3B’s claim correct? That if a runner who is forced to advance to their next base stops (in particular to avoid/delay a tag) they are automatically out? Since I installed TeXLive 2016 I cannot build documents with the standalone document class any more using LuaLaTeX (PDFLaTeX works fine). For example:  \documentclass{standalone} \begin{document} hi \end{document}   Gives me:  ! Undefined control sequence. \sa@placebox -&gt;\newpage \global \pdfpagewidth                                                =\wd \sa@box \global \pdfpageh...  l.4 \end{document}   How to fix that? Taxonomy terms view sorting results numerically I have a taxonomy that's comprised entirely of numeric term names, 1 through 1200 (with a few numbers missing in between). I created a new "Taxonomy terms" view to show all terms in this vocabulary. When I look at the view results, I'd like to see the terms sorted numerically, however the view is displaying the terms alphabetically. I understand the reason for this is because term names are strings, but I'm hoping someone has an answer of how to make the query treat the term names as integers.  Here's an example of the view results as they are displayed now:   1 10 100 1000 1001 1005 101 1014 1015 1016 1019 102 1020 1024 103 1034 104   Normally in MySQL, you could write SELECT name FROM {taxonomy_term_data} ORDER BY CAST(name AS UNSIGNED). Is there a way to get this same type of CAST() happening in views? As you can see on this screenshot of 's Guake he has a startup message of ASCII art when he opens it, and that's what I'd like to do, can someone help me? My phone was stolen last night. I made sure it was in Lost Mode in iCloud and it was immediately in Offline status when I open iCloud. I am positive the thief switched it off. Now I am 100% certain the Find my iPhone option was turned on on my iPhone, but will the "Lost Mode" be of any help if it was not turned on on the iPhone? Would it be showing "Offline" if I did not turn on the option? Latexmk and the location of Asymptote's generated files I am trying out Asymptote with latexmk and I would like to automate the interaction.  Consider the following latex document test.tex:  \documentclass{minimal} \usepackage{asymptote} \def\asydir{asymptote}  \begin{document}  Testing Asymptote:  \begin{asy} settings.outformat = "pdf"; unitsize(2cm); draw((0,0) -- (1,0)); \end{asy}  \end{document}   In my latexmkrc I have the  for Asymptote integration:  sub asy {return system("asy -o asymptote/ \"$_[0]\"");} add_cus_dep("asy","eps",0,"asy"); add_cus_dep("asy","pdf",0,"asy"); add_cus_dep("asy","tex",0,"asy");   Running latexmk -pdf test.tex generates test.pdf in the current folder and test-1.asy and test-1.pdf in the asymptote folder -- but only if   I manually created the asymptote folder prior to running latexmk. The folder specification in the latex document (\def\asydir{asymptote}) and latexmkrc (-o asymptote/) are identical.   I would like latexmk to read asydir from the main tex file, create the directory if it does not exist and run asy with the read output folder.  Is this possible? In the biblatex doc, it says ( Version 1.7, p.11):     thesis      A thesis written for an educational institution to satisfy the   requirements for a degree. Use the type field to specify the type of   thesis.      Required fields: author, title, type, institution, year/date      Optional fields: subtitle, titleaddon, language, note, location,   month, isbn, chapter, pages, pagetotal, addendum, pubstate, doi,   eprint, eprintclass, eprinttype, url, urldate   I would like to know if there is any "canonical" way to add the name of the supervisor(s) in a field of the .bib file (no .bbl manipulation please, I want my bibliography to be usable "as it" in several documents).  The expect result could be something like  :     Meand Myself. “A brilliant result, explained”. PhD thesis**, under the   joint supervision of Pr. Toto and Pr. Tata**. Université Paris 24,   Nov. 2013.   The "under the (joint) supervision" could be a string that would be declined in four ways:   under the supervision of  under the joint supervision of and the abridged forms My website's google cache copy looks broken.   Below is link to cache.  http://webcache.googleusercontent.com/search?q=cache:http://paintcollar.com  Can this affect the SERPs and crawling by google?  What can I do to rectify it?  PS. Few pages are being cached properly though.Below is URL to one such page. http://webcache.googleusercontent.com/search?q=cache:http://paintcollar.com/aneel