QGIS atlas composer scale
Atlas generation for different extents
Replace identical lines with just one line at end in Notepad++ Can I replace identical lines with just one line at the end in Notepad++? E.g. from:  1st January 2013 //some text1 1st January 2013 //some text2 1st January 2013 //some text3 1st January 2013   to:  //some text1 //some text2 //some text3 1st January 2013   Also is it possible, if I have all dates from 1 to 30 or 31, to replace them individually at their last appearance? I'm trying to process some data in Excel. The data includes numeric account numbers and other long numeric strings (like cell phone MEIDs). I am not doing math operations on these strings, so I want Excel to treat them as plain text.  Here is what is making me nuts (this is Excel 2010):   Take a long number like 1240800388917 and paste it in a cell in a new worksheet. Excel's default cell format is general, so the string is presented in scientific notation as 1.2408E+12 Right click on the cell, select Format Cells, set the format to Text   The cell is still displayed in scientific notation, even though the format has been set to text.  Now, if I do the steps in a different order:   Format an empty cell as text. Right click on the cell, select Format Cells, set the format to Text Take a long number like 1240800388917 and paste it in to the text formatted cell   Now, the cell is displayed as a string and not in scientific notation.  The results remaining in scientific notation even though the cell is formatted as text just seems broken to me. I've seen suggested work-arounds like: use CSV import and set the format to text, add a space character to the beginning of each numeric string, and others.  Is there a simple good work around to easily keep these strings formatted as text?  Why on earth does Excel do this?  Related SU questions I found:  and Normal subgroup of prime order is characteristic I'm stuck on this exercise from Herstein's topics in algebra:  Suppose that $G$ is a group and $|G| = pm$, where $p \nmid ~ m$ and $p$ is a prime. If $H$ is a normal subgroup of order $p$ in $G$, prove that $H$ is characteristic.  How to prove that? What we know:   $H$ and $\varphi(H)$ have prime order $p$, so they must be cyclic and abelian They are both normal subgroups of $G$   how to show that, in fact, we have $H = \varphi(H)$ for every automorphism $\varphi$ ? Can Gmail automatically base "send from" address on the "to" address? Can a child enter the UK on an accompanied visa and then leave the country alone? My daughter who is just under 18 has a child accompanied visa to the UK. I am traveling with her to the UK for a few days. We return from UK on the same day except that she returns to India and I am heading to San Francisco an hour later on the same day.   Is that okay or will we have an issue at immigration into the United Kingdom? How to create Unity indicators? I'm interested in Unity indicators and wonder if there is any tutorial on how to program them. I can use the sources of the existing ones as last resort, but I'd prefer a more friendly approach because my programming skills are quite limited. Mile or miles? Singular or plural? Could you explain me please, why sometimes the word "mile" is used in singular, sometimes in plural, while in both cases it refers to several and not 1 mile.  Example:     They took part in a 26 mile long swimming race.   After 12 miles he got tired.   Thanks in advance to those who can enlighten me! Summary table with a field that shows components of each summarized record This is the command I entered in the command block: testfor @p {Inventory:[{id:minecraft:diamond,Count:10}]}  But it doesn't seem to work. What am I doing wrong? Why the middle mouse button in Blender 2.80 changes the orthographic view to perspective? If I choose an orthographic view by using the numpad and then try to orbit the geometry by clicking the middle mouse button Blender goes from orthographic to perspective. Why is that the default now? Wouldn't it be more logical if instead of that Blender kept the orthographic mode? In other words: Why Auto Perspective is turned on by default? To find out how something is called is the one thing I don't know how to use Google for.  If I have a vector $v$ and a symmetric matrix $H$, then the operation $v^T H v$ gives me some sort of projection of the matrix $H$ on the vector $v$. For example if $H$ is the Hessian, the operation gives me the second derivative in the direction of $v$.  What is the name of this operation? Is it possible to find a smooth function $p$ such that $$p(x)=0 \text{ if } x\le -1$$ $$p(x)=0 \text{ if } x&gt; 0$$ $$0\le p(x) \le 1 \text{ if } -1&lt;x&lt;1$$ $$p(x) = 1 \text{ if } -\frac{1}{2}\le x \le \frac{1}{2}$$ Hint: The following function has continuous derivatives of all orders $$f(x) = 0 \text{ if } x\le 0$$ $$f(x) = e^{-\frac{1}{x^2}} \text{ if } x&gt;0$$  My thought: Considering the left-half of the function $p$, I tried something like $e^{-\frac{1}{\tan^2(x\pi)}}$. The shape looks good but I am not sure about the smoothness at $-1$ and $-\frac{1}{2}$. For $x=-1$, since $\tan$ is infinitely differentiable so we have smoothness there. But for $x=-\frac{1}{2}$, I am not sure about the smoothness after &quot;gluing&quot; with $y=1$. I was working on a tower and painted my own texture for it. I saved halfway though and took a break. When I returned to my little project, I could paint on the image and it shows up in the material view but not the render. I did everything in my power but still couldn't understand why?  I have used:   Nodes, including mapping and insert UV coordinates. Unwrap UVs Used lights Deleted and replace nodes Deleted and replace Mat Removed image and replace it Reload image Painted on mesh   Even though use blender, I am not a programmer. So I find it really helpful if someone could give me an answer. Is there a way to configure your Stack Overflow account so that you receive notification emails when posts are made to specific tags?    Or do you simply have to log on to see new posts? Can I see a list of gyms I left a pokemon at? I captured a gym today just before the servers went down. I am wondering if I lost my progress. Is there a way to see if I own a gym or not? How do I parse command line arguments in Java? I have a bunch of views/reports built for my client. The reviewers then click download csv for the excel file. They asked if the views could download themselves daily to a folder.  Is that possible? And could you share links or knowledge how to handle this. I have been trying to figure it out.  Note: Right now the user is downloading CSV's from Drupal 7, an install of Moodle 1.9 in a Drupal 6 Shell and Survey Monkey. After they download and combine using Excel, the user creates reports that way for the users we have come to our events. Being a Front-end developer, coding is not my strength. 'Should've seen it glow' or 'should've seen it glowing'? Which one of the following is the correct one?   I should have seen it glow. I should have seen it glowing.   Or are both correct? Would you parse them please? What's the best way to communicate between view controllers? Being new to objective-c, cocoa, and iPhone dev in general, I have a strong desire to get the most out of the language and the frameworks.  One of the resources I'm using is Stanford's CS193P class notes that they have left on the web.  It includes lecture notes, assignments and sample code, and since the course was given by Apple dev's, I definitely consider it to be "from the horse's mouth".  Class Website:   Lecture 08 is related to an assignment to build a UINavigationController based app that has multiple UIViewControllers pushed onto the UINavigationController stack.  That's how the UINavigationController works.  That's logical.  However, there are some stern warnings in the slide about communicating between your UIViewControllers.  I'm going to quote from this serious of slides:   Page 16/51:     How Not To Share Data         Global Variables or singletons         This includes your application delegate      Direct dependencies make your code less reusable         And more difficult to debug &amp; test         Ok.  I'm down with that.  Don't blindly toss all your methods that will be used for communicating between the viewcontroller into your app delegate and reference the viewcontroller instances in the app delegate methods.  Fair 'nuff.  A bit further on, we get this slide telling us what we should do.  Page 18/51:     Best Practices for Data Flow         Figure out exactly what needs to be communicated   Define input parameters for your view controller   For communicating back up the hierarchy, use loose coupling         Define a generic interface for observers (like delegation)         This slide is then followed by what appears to be a place holder slide where the lecturer then apparently demonstrates the best practices using an example with the UIImagePickerController.  I wish the videos were available! :(  Ok, so... I'm afraid my objc-fu is not so strong.  I'm also a bit confused by the final line in the above quote.  I've been doing my fair share of googling about this and I found what appears to be a decent article talking about the various methods of Observing/Notification techniques:   Method #5 even indicates delegates as an method!  Except.... objects can only set one delegate at a time.  So when I have multiple viewcontroller communication, what am I to do?  Ok, that's the set up gang.  I know I can easily do my communication methods in the app delegate by reference's the multiple viewcontroller instances in my appdelegate but I want to do this sort of thing the right way.  Please help me "do the right thing" by answering the following questions:   When I am trying to push a new viewcontroller on the UINavigationController stack, who should be doing this push.  Which class/file in my code is the correct place? When I want to affect some piece of data (value of an iVar) in one of my UIViewControllers when I am in a different UIViewController, what is the "right" way to do this? Give that we can only have one delegate set at a time in an object, what would the implementation look like for when the lecturer says "Define a generic interface for observers (like delegation)".  A pseudocode example would be awfully helpful here if possible. How does Annihilation work?