I already have a Sentinel-2 tile imported in QGIS and a shapefile corresponding to the area I want. How do I cut the Sentinel 2 file?
In QGIS I would like to clip a raster precipitation layer using an admin boundary layer that is vector data. However the Geoprocessing tools seem to be usable only for vector data. How can I clip this precipitation layer?
Modify a shape and have modifications apply to clones Is there any any "Symmetry Modifier" option in illustrator?   Let's say I want to create a head that is totally symmetric. I created one half then mirrored it to get another half. Flipped the other half, aligned them and joined them together with Pathfinder→Unite option.   Now I modified some portion of the right half outline. But how can I get that same modification to be updated on the left option? I thought it would happen automatically. In which US accent is “again” pronounced /əˈɡeɪn/ with the FACE vowel, not /əˈɡɛn/ with the DRESS vowel? Most dictionaries provide the US pronunciation of “again” as /əˈɡɛn/ (uh-gen) with the DRESS vowel. This is the most common pronunciation in the USA. However, I think I might have also come across /əˈɡeɪn/ (uh-gain) with the FACE vowel. This sounds like the word “gain” with an “a” at the beginning. Is there a US accent where “again” is pronounced this way? If I add a comment but navigate (by mistake) to another page, I lose my unfinished comment (ok, depends on browser etc). On the other hand, when formulating a question, and I click on a link by mistake, I'm asked if I really want to leave.  It would be nice to have this warning for comments as well. My friend and i would like to translate Ubuntu. where should we start? where to find translation tools? How does a battery ( primary cell ) work? I'm having an hard time understanding primary cells. There are plenty of videos and explanations about the reactions that happen inside the battery, but you must have a strong background in chemistry to really understand them. Instead, I would love to have a description that abstracts from the chemicals details, and still manages to explain its basic working princeples! I would like it to address the following questions/doubts:     Electrons flow form higher potential to lower potential so, when you buy a  battery, is an electric field already there, before connecting it to a wire? (I presume yes) So,How is this field created? Are the electrons at the top and the protons at  the bottom, or just electrons at the top and the bottom is neutral? How are electrons kept together in the same place before connecting the battery  to the wire? What does prevent them to flow inside the battery? How does the battery pump up the electrons? and at which rate? What makes it burn out? and after many cycles does it burn out?       I know there are a lot of questions but my mind is exploding. I don't expect everything to be abstracted from the chemicals but as long as you can through analogies, or intuitive principles, i'd love that. Anyway the main intent of the answer must be addressing the doubts listed. After I installed plank as my dock panel, I removed the default Ubuntu dock by running    sudo apt-get remove gnome-shell-extension-ubuntu-dock   Then Ubuntu dock is not on my desktop anymore, but when I open the application menu or Activities overview it is there, how can I hide it?  Removed dock shows on the left: Python gives us the ability to create 'private' methods and variables within a class by prepending double underscores to the name, like this: __myPrivateMethod(). How, then, can one explain this  >>> class MyClass: ...     def myPublicMethod(self): ...             print 'public method' ...     def __myPrivateMethod(self): ...             print 'this is private!!' ...  >>> obj = MyClass() >>> obj.myPublicMethod() public method >>> obj.__myPrivateMethod() Traceback (most recent call last):   File "", line 1, in  AttributeError: MyClass instance has no attribute '__myPrivateMethod' >>> dir(obj) ['_MyClass__myPrivateMethod', '__doc__', '__module__', 'myPublicMethod'] >>> obj._MyClass__myPrivateMethod() this is private!!   What's the deal?!  I'll explain this a little for those who didn't quite get that.  >>> class MyClass: ...     def myPublicMethod(self): ...             print 'public method' ...     def __myPrivateMethod(self): ...             print 'this is private!!' ...  >>> obj = MyClass()   What I did there is create a class with a public method and a private method and instantiate it.  Next, I call its public method.  >>> obj.myPublicMethod() public method   Next, I try and call its private method.  >>> obj.__myPrivateMethod() Traceback (most recent call last):   File "", line 1, in  AttributeError: MyClass instance has no attribute '__myPrivateMethod'   Everything looks good here; we're unable to call it. It is, in fact, 'private'. Well, actually it isn't. Running dir() on the object reveals a new magical method that python creates magically for all of your 'private' methods.  >>> dir(obj) ['_MyClass__myPrivateMethod', '__doc__', '__module__', 'myPublicMethod']   This new method's name is always an underscore, followed by the class name, followed by the method name.  >>> obj._MyClass__myPrivateMethod() this is private!!   So much for encapsulation, eh?  In any case, I'd always heard Python doesn't support encapsulation, so why even try? What gives? If the topology of a space  has a countable base, then each base contains a countable subfamily which is also a base. What is sudo apt-get -f install? what is the usage of apt-get -f install . when I run sudo apt-get update I got some errors at the end It says try apt-get -f install. What is this command?  the last part of my error is :   . . .   going to be installed   E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Why doesn't my screen lock in XFCE? I have two desktops (one of which I'm using as a server), my main machine has a weaker i5 cpu, my server has a stronger i7 cpu. On my main machine I am experiencing stutters because the CPU often runs at full load under regular use (strangely, I also use upwards of 10GB of RAM, no joke... The heaviest program I'm running is google chrome).  I was wondering if there was any possible way to share a cpu from one machine over network to another machine as an emulated processor, which could be used by the client machine in a similar sort of fashion as virtual machines use or "borrow" their host's cpu.  This way I could offload work onto the server's cpu when the main cpu is under full load to prevent annoyances like stutter, and possibly combine both of them for more intense tasks (like decryption, compilation, archiving or other multithreaded stuff)  Does this sort of software exist, or has anyone at least tried to make it? If not, is it feasible?  (This sort of program would also ideally be able to offload data onto the server's RAM for faster processing, since the now common gigabit connections get to have nearly the same speeds as a standard HDD this doesn't sound far fetched either)  To reiterate, what I am primarily looking for is the ability to offload work from a system's main cpu when it is under too much load and forwarding it to another computer's cpu over network. Can I bring my laptop, camera on flight to USA? I am going to the US in the coming week. However, I heard that laptop and camera are not permitted to bring on board as carry-on. What are the latest rules about these larger electronics? I am in the process of creating a LaTeX template for a conference submission, and up until now I've been working only with the anonymous submissions. Now I need to create the "camera-ready" version, which means I need to add authors to the document.   The template is based on article.cls, with some tweaks to meet the font and formatting specifications. The following image contains the examples from the Word template for the conference:    Basically, I need to be able to bold the author's name (which could I suppose be done manually in the document rather than in the template) and more importantly: divide the authors into two columns, with an optional centered last column with an odd number of authors. The font size of the author block corresponds to my \LARGE defined in the class file.  Are there any packages that facilitate this type of conditional formatting, either in a document, or in a .cls file? How can I use those packages to achieve the formatting I require? I unplugged my USB stick from Ubuntu 16.04 without the save remove option, but exfat should be fine doing so. No read write was happening, the partition does not use journaling. What I end up with is an unmountable USB stick with checksum error.   What tools are there to recover the partition table or at least the data on the USB stick? What I am doing now is scanning via parted. Has anyone experienced the same problem with exfat and recovery options? Unfortunately parted probably won't detect the partition because .  I also tried to use Partition Wizard on Windows but it failed to detect anything, just showing unallocated space. How do I proceed? are there helpful tools under Windows or Ubuntu?    I also tried to use gpart -v /dev/sdb but it failed to detect anything. On OS X there is a tool called fsck_exfat, is there any on Windows?  update The disk is preinstalled with Parted Magic. After quick search no partition shows up. ubuntu terminal is not working properly in vi editor List contents of tarball in tree format Per the answers  I'm able to list the contents of my tarball in ls format. However, I'd like to be able to list them in tree format, i.e. something like the latter instead of the former:  With tar:  $ tar -tf foo.tar  foo/ foo/baz/ foo/baz/qux/ foo/baz/qux/hisfile.txt foo/bar/ foo/bar/myfile.txt foo/bar/yourfile.txt   With tree:  $ tree foo foo ├── bar │   ├── myfile.txt │   └── yourfile.txt └── baz     └── qux         └── hisfile.txt   Is it possible to do this without extracting the tarball? I'd prefer to have to avoid extracting the tarball due to their size. Quadratic Formula in Complex Variables How did Montague Apparate into the Hogwarts bathroom? Any way to control light halos in the compositor based on emission level? I am wanting to animate a row of LED lights. I have separated the LED lights from the rest of my object with the pass index/ID mask functions; currently all of my LED lights are on pass index #1.  What I want is to have a minor halo effect around the lights, but only when they are active. Currently, when I add a halo effect to my pass index #1, all of the LED lights have a halo effect regardless if the LEDs are emitting light. All LEDs are diffuse and emission shaders, so I can animate by controlling the mix amount between diffuse and emission.   Is there any simple way to have the halo effect created through recognizing light emission values, or will I have to just animate each LED as its own layer of compositing? I'm following the , but on launching the upgrade tool I get this response:  Checking for a new ubuntu release No new release found   Am I doing something wrong? Is there a workaround?