I made a my program in c++ and generated its executable but every time I need to use my program I need to change my directory to the folder and then execute it.   How do I make my program run like an installed package so that I don't have to shift my directory every time I need to run it?
What should I do if I want to be able to run a given program regardless of my current directory? Should I create a symbolic link to the program in the /bin folder?
How can I get the HTML source of a given web address in C#? Does iTunes work (well) on Ubuntu? What is the word that is used to describe the oversimplification or non-academic discussion of a complex issue?   Typically, I'm looking for a word like pedantic, or puerile, except that the word covers the fact that the discussion is particularly non-academic. I know that such a word exists since I have used it before, but it has skipped my mind. Keeping track of programs When I install a simple program it often uses make &amp;&amp; make install and doesn't often even have an uninstall target.  If I wish to upgrade a program, is it standard protocol to assume it just rewrites seamlessly over the old program?  How do I keep track of these programs; do most people just 'fire and forget' and if no uninstall target is given do I have to manually delete everything? Strange distance measurements in distance matrix I'm trying to create a distance matrix between two point shapefiles in QGIS 2.6. Both are in WGS84 UTM Zone 30N co-ordinates (and so is the project file), but the distance matrix returns values such as 5673346.938, instead of expected numbers of between 1 and 5km.  I saw a similar thread mentioning disabling 'on the fly projection changes' - I've done this, and no change. Threads already checked:     Here are samples of the two shapefiles I'm using, stripped down to just ID and location. If there is a unique left identity, then it is also a right identity Let $(R,+,\cdot)$ be a ring, and $e \in R$ be an element such that $ea=a$ for all $a\in R$. I'm trying to prove that if $e$ is unique with this property, then $ae=a$ for all $a\in R $.  So far I have $e^2 = e$ (using uniqueness), but I am stuck. I saw a proof of this fact for groups which used the existence of inverses, which we don't have here. I wonder if the result is really true here. Can someone help? Thanks. Big Endian vs. Little Endian in Qiskit I've noticed that Q# favors Little Endian. Meaning that most operations are designed for this type of encoding.  Is is it the same with Qiskit? As far as I know, humans have 23 pairs of chromosomes, each one which contains a particular amount of genes. But in the "last" pair, men have a XY pair chromosome, and women have a XX pair chromosome. Does the missing "leg" of the XY pair make men to have fewer genes than women, and if so, how many genes do each sex have? How do comment @replies work? I found a better proof for a theorem than a proof from a published paper. Is it possible for me to publish my proof with the same theorem citing that paper? Reese's boyfriend seems to constantly be asleep. When I try and talk to him, she warns me that he's been hard at work all night, but I can't actually enter the shop at night.   Is there any way to talk to him or any benefit for doing so? I've tried to talk to him daily for a week (thinking it was something akin to talking to Sable) but I've had no luck. Trying to come in after-hours doesn't work. What is "it" in the following sentence: It is clear that Bob likes doughnuts I am using ubercart guest checkout module. I am able to submit  the order as guest etc works fine.   After Reviewing the order and submitting it throws me this error   Recoverable fatal error: Argument 2 passed to db_query() must be an array, string given, called in /var/www/html/dev.demo.net/sites/all/modules/ubercart_guest_checkout/uc_guest_checkout.module on line 263 and defined in db_query() (line 2342 of /var/www/html/dev.demo.net/includes/database/database.inc).   This is the query which is causing that issue    db_query('UPDATE {users} SET name = "%s", mail = "%s" WHERE uid = %d', $name, $mail, $account-&gt;uid);   I tried to change this query like this  db_update('users') -&gt;fields(array(     'name' =&gt; $name,     'mail' =&gt; $mail )) -&gt;condition('uid',$account-&gt;uid,'=')        -&gt;execute();   still no luck, it throws me same above specified error.    How can i resolve the query of above one in order to avoid the error. Any suggestions w.r.t query will be nice.Thanks in advance. Understanding UNIX permissions and file types Story whose final line is "Let there be light!" I read this series around 5-10 years ago. There were two parallel universes, ours and the universe of demons, and much of the series revolved around attacks in which demons created gateways to cross into our universe to kill people and wreak havoc, and had to be stopped by human magicians. Three youngsters (one guy from modern times, one from a few decades ago, and a girl from ancient Celtic times, all with funny names) end up being the key to the war when it's revealed that they are the three components of a mythical superweapon. These three are the only point-of-view characters in the series, each book being told from the PoV of just one of them. At the very end, they   destroy our entire universe so that, after killing all the demon masters, they can rebuild it and make sure everything happens as before up until the very last moment.  As they begin recreating the universe, the current PoV character (the one from modern times) says something like the following, the very last lines of the series. (sic on the quotation marks)  &quot;In the beginning, there was nothing but darkness. Then [name] said, 'Let there be light!'&quot; And there was light. Coolio! Can I invoke Google to check my robots.txt? I read the answers in this question, but they still leave my question open:   I didn't find a way in the Google Webmaster Tools to invoke a re-download of my robots.txt.  Through some error, my robots.txt was replaced with:  User-agent: * Disallow: /   And now all my content was removed from Google search results.  Obviously, I'm interested in correcting this as soon as possible. I already replaced the robots.txt, but I can't find a way to make Google update the cached version. Last time I asked a similar question but that was about svn related versioning info. Now I am wondering how to query windows "File version" attribute about eg. a dll. I payed attention to wmi and win32file modules as well without success. I have two Ubuntu Software Centers, one can be opened, another one can't How can I restrict a user on the SSH server to allow them only the privileges for ? i.e. So they cannot run commands even if they log in via SSH.  My Linux servers are Ubuntu 11.04 and OpenWrt. How do you make clothes move along with model how do you make clothes move along with your model? Do you rig the model first and then parent it to the body of the character then click cloth simulation? I am a little bit confused with the process. Thanks for the help.