I can run a command from my terminal. Think as in : Terminal # ls -l -&gt; output etc. If I want to run a script I can drag it into the terminal or specify it's location like, /usr/script and run it.  But here is my question: Is it possible and how can I run a command script by simply clicking on it on my desktop? I already set it to be opened by the terminal application but when I click it it does not run.  The command I want to run is nwipe.  This is my script:  .#!bin/bash  sudo nwipe   (ignore the dot in front of #).  PS nwipe does not run without sudo.  Ubuntu Xenial 16.04
I was wondering how to make a clickable terminal shortcut for my desktop using the command easytether connect.  I don't want to have to open/close the terminal every time I wish to connect to the Internet through my phone.  I've tried updating my gnome-panel but I can only make a new directory on my desktop.
Looking around for rim brake pads, I have noticed a wide variety:   low end-ish: cheap, rubber pad with metal stem, unknown brand high end-ish: expensive, rubber pad with metal stem, known brand cool end-ish: dedicate pad sections (1 for dry, 1 for mud, 1 for rain)   Is there any good reason to go for an high end-ish or for the cool end-ish, or is it just plain old marketing tricks? Official StackExchange app says my question is not available? I recently posted a new question on Android Enthusiasts using the official StackExchange app for Android. Right after posting the question, the app said that my question is not available.     The question is not available, it may have been deleted.   Deleted? Already?...  Then I navigated to my user name to see my recent activity. There it was! I could see the question I just posted. But if I tapped on the link to try to open it, the app kept complaining about my question not being available.     The question is not available, it may have been deleted.   But 7 minutes after posting the question, I could see my question. Here are some screenshots that showcase this issue.      This is not the first time this happens. This appears to be more or less normal behavior of the app. I don't use the StackExchange app very often to post questions. But I had exactly the same message come up when I posted a question a few months ago (and some app version numbers earlier).  This is not a major issue, but you should try to address this nevertheless. It's a small bug, but addressing it might imply much bigger changes... which might explain why it's still present... I don't really know, I'm guessing. I just thought I would let you know about it, in case you are not aware of it.  For the record, the phone is Galaxy S4 Plus (GT-I9506) running Android 4.4.2. Version number of the app is 1.0.50. Deleting external/auxiliary files? Chirp Transform and Convolution I was reading about the discrete fourier transform from the CLR algorithms book and I came upon an exercise whose hint confuses me. The exercise reads as follows:  The chirp transform of a vector $a=(a_0,a_1,\ldots,a_n)$ is a vector $y=(y_0,y_1,\ldots,y_n)$, where $y_k=\sum_{j=0}^{n-1}a_j (z^{k})^j$ and $z$ is any complex number. The DFT is therefore a special case of the chirp transform, obtained by taking $z=\omega_n$. Prove that the chirp transform can be evaluated in time $O(n\lg n)$ for any complex number $z$. (Hint: use the equation $$y_k = z^{k^2/2}\sum_{j=0}^{n-1}(a_j z^{j^2/2})(z^{-(k-j)^2/2})$$ to view the chirp transform as a convolution.  My question is about what is a convolution. I am familiar with taking two vectors $a=(a_0,a_1,\ldots,a_n)$ and $b=(b_0,b_1,\ldots,b_n)$ and forming the convolution $c=(c_0,c_1,\ldots,c_n)$ where $c_k = \sum_{j=0}^k a_j b_{k-j}$. Here the index of $j$ runs from $0$ to $k$ unlike in the hint given above where the index runs from $0$ to $n-1$. In what sense is the hint above a convolution? Can I visit the US twice within a 90 day period under the Visa Waiver Programme? 2nd time is only to transfer (change terminal, not airside). When I open a window to air out the room, how does the smell disperse? Let's say I'm in a room with some kind of noxious stink, possibly of flatulent nature.  The quickest way to right the world that comes to mind is to open a window.  When I open a window, how do the stank particles leave the room? I would like to know if it is possible to enable free shipping with Woo Commerce only if certain items (or items of certain categories / shipping classes) are included in the cart.  The Free Shipping option only activates on the basis of cart value or via a coupon code so I investigated Flat Rate shipping and discovered that it prioritises the most expensive shipping class over the cheaper ones. This means the free shipping class I created never overrides the default charge.  I understand the logic behind this but it's the opposite of what I need as the idea is to incentivise purchases of higher profit margin products by eliminating delivery charges when they're included in an order.  I don't know if what I am trying to achieve is simply not possible within Woo Commerce. A coupon that only applies to certain products / categories seems to be the closest I can get but I'd rather not force users to enter a code at checkout.  Does anybody know if there any simpler ways to give users who purchase certain products free shipping? Why have  on every line Is it correct to use that/which in the relative clause when it is referring to the place as an object pronoun? putExtra treeMap returns HashMap cannot be cast to TreeMap android Anyone know a way to immediately show the seconds of a file's date modified property in the GUI? So if you create a file, any file in any directory, right-click and choose Properties, the date modified (if it's recent) will say something like "dd/mm/yyy hh:mm, one minute ago" - reminder this is in Windows 7. Windows XP did it normally. Then they changed something.  If you wait a while, eventually you'll see the seconds, I'm not sure how long a while is, but this is incredibly annoying if you want to troubleshoot something that relies on the seconds of timestamps... is there a setting? registry key I can change perhaps?  I'm literally using Chrome, pasting in the path of the directory to be able to see the seconds quickly (as a workaround) but would be nice to be able to use Win7. Another question on almost sure and convergence in probability Convergence in probability implies convergence on a subsequence almost surely.  But this means we fix a subsequence, such that $X_{n_k}$ converges for almost every $\omega$, right? The subsequence we pick does not depend on the $\omega$ right? Prove that if $A$ is a set with $m$ elements, $B$ is a set with $n$ elements, and $A \cap B = \emptyset$, then $A \cup B$ has $m+n$ elements. I sometimes hear stories where people compare their feelings in winter in different places in the world.  It goes like     in city X the temperature was the same as in city Y, but the humidity made me feel much colder...   or      oh well, -20°C would be cold, but the humidity was low, so it felt OK   so it implies that humidity somehow makes it feel colder. I am talking about temperatures below freezing (-30...0°C).  Does this have any physical explanation, or is it some sort of ? I get this error in the deployment step of a share-point farm based project. Most of the suggested solutions on the net are a simple Visual Studio re-start, however, a simple VS restart won't fix this.   Any ideas on what might be causing this? Equation parsing in Python How can I (easily) take a string such as "sin(x)*x^2" which might be entered by a user at runtime and produce a Python function that could be evaluated for any value of x? I'm an Indian National. I have a Type C Schengen Business Visa which is valid from 26-11-2015 to 26-11-2020. I received it when I intended to travel to Netherlands, although I have not used it.   When I applied for a spouse endorsement, the passport on which the visa is stamped was cancelled and a new passport was issued.  Now, I plan to travel to Italy on business from July 8th to 16th.    Can travel with the same visa in old passport, or should I cancel the existing visa and apply for a new one?  I contacted the Netherlands Embassy call center (not VFS Netherlands) which responded that I can use it without any issues. However, they have not confirmed it by email.   I asked about any immigration issues in Italy and was told me that, if I have a valid itinerary and invitation letter from the office, there should be no problem. I was also told that Italian immigration authorities are able to contact the Dutch, if necessary.   I emailed the Italian Embassy in Mumbai (visa.mumbai@esteri.it) and await its response. Personal Hotspot not working over Wi-Fi on iOS 13 After upgrade to iOS 13 from 12.4, I noticed that personal hotspot isn't working anymore over Wi-Fi (via USB is ok).  Tested on two computers with Win7. The PC can connect to Wi-Fi, but no valid IP (IPv4) is assigned and no connection is working to internet. Two submit buttons in one form I have two submit buttons in a form. How do I determine which one was hit serverside? Anonymous Types - Are there any distingushing characteristics? Is there anything to use, to determine if a type is actually a anonymous type? For example an interface, etc?  The goal is to create something like the following...  //defined like... public static T Get&lt;T&gt;(this IAnonymous obj, string prop) {     return (T)obj.GetType().GetProperty(prop).GetValue(obj, null); } //...  //And then used like... var something = new { name = "John", age = 25 }; int age = something.Get&lt;int&gt;("age");   Or is that just the beauty of an anonymous type? Nothing to identify it self because it takes a new shape?  Note - I realize that you can write an extension method for the object class, but that seems like a little overkill, in my opinion.