I have had ubuntu for a while now, but for some reason I am no longer a sudo.  When I open up terminal and type the command   sudo false sudo unknown host HOST   then when I actually look at my hosts file I see DIFFERNTHOST  the problem is I cant change my host because I am not a sudo so I am locked out of my computer and I can't do anything!  Note: I have already tried editing my /etc/hosts file and I cant edit it
When I run sudo the terminal is stuck for a few seconds and then outputs an error message. My terminal looks like this:  ubuntu@(none):~$ sudo true sudo: unable to resolve host (none)   What can I do to solve it?
XSL That Returns the XML unchanged I am looking for a XSL snippet that simply returns the XML unaltered. It sounds trivial but I can't seem to find an example anywhere on the web. Any help out there? Proof by induction that if $n \in \mathbb N$ then it can be written as sum of different Fibonacci numbers Proof that every natural number $n\in \mathbb N$, can be written as the sum of different Fibonacci numbers between $F_2,F_3,\ldots,F_k,\ldots$.  For example: $32 = 21 + 8+3 = F_8+F_6+F_4$  Research effort:  The base step it's simple:  Let $k=1$ it can be britten as $k=1=F_2$  For the inductive step I considered:  Let $k = k  F_2 =F_2+F_2+\cdots+F_2 = \sum_{i=2}^w a_iF_i, a_i =\{0,1\} $  Then if $k$ suffice I want to see if $k+1$ suffices too... But I'm not realy seeing how to use the inductive hypothesis, so I assume It's wrong.  Any thoughts on which can the inductive step be? How do you transition from 1-page dungeon map to battle mat? I have a bunch of different ways I use to make maps for my tabletop game.  Sometimes I draw one on graph paper.  Sometimes I use .  Sometimes I copy a map from a published adventure or use the  random generators.  These all have the same output:  a piece of paper (or maybe two) with a map on it, and the map is usually quarter inch squares, or so.  When it's time to put minis on a mat, though, I need to copy over the relevant details of the map to our battle mat.  (We use Tact-Tiles.)  This is fine when most of our map is overland detail and I'm just copying down one or two rooms in which combat will occur.  For dungeon crawls, where there are more random encounters or where combat can chase through many rooms, it can lead to a pretty tedious drawing of the whole dungeon as we go.  I feel foolish for having to ask, but is there some trick, technique, or something to make it less tedious to transcribe maps from printed pages to the battle mat?  EDIT:  Answers in general are great, but I should note that the best answers, for me, will be informed by this previously-unmentioned fact:  the game venue is not my house, so I have limited prep time on site. How can I avoid asking duplicate questions? Better favourites organisation I don't know about anyone else, but I have a reasonable list of favourites now, and it can be rather difficult to find the relevant ones at any given time. Sometimes, I have a specific one in mind, others I just want to see all favourites relating to a specific topic. It would be nice if there were a way to organise my favourites by tag, or OP, or possibly just search them.  How can we improve the favourites feature?  Please post your ideas on how we might improve the favourites feature of the Stack&nbsp;Exchange sites. Try to keep each answer to one idea so that the votes reflect the popularity of a single idea. One click to site meta? Right now from a main site, it takes TWO CLICKS to get to http://meta.SITE.stackexchange.com/ - ONE!  TWO!    Why not ONE click on the &quot;Hot Meta Posts&quot; &amp; &quot;Featured On Meta&quot; - Grepping logs for IP addresses How to create and design hoops net and attach ot to a hoop? Minecraft directory doesn't have a 'Resource Packs' folder? I go into my .minecraft folder and there's Assets and all the other files and folders, but no resource packs folder?  If I create one manually, and place the textures inside, they don't show up in-game.  I'm on a Mac. Separate long math text under sum symbol into different lines? UK visa refusal on V 4.2 a + c (and sometimes 'e') Many of the UK visa refusals we see here share a common pattern and the prevailing reasons refer to V 4.2 (a) and (c).    I do understand that, while the applicants may describe very different individual circumstances, there's a consistent pattern and, broadly, fall into specific categories:    Credibility (lifestyle, lack of ties, visit history, lies &amp; omissions) Funding (insufficient funds, provenance of funds, funds parking) Sponsorship (family, friends, employer)   Question: What most commonly triggers a UK visa refusal where V 4.2 (a) and (c) are given as the grounds?  Secondarily: Given that there is a clear pattern, to what extent are these refusals predictable? Does sponsorship make a difference? Is there a set of personal circumstances, however abstract, where a refusal is all but guaranteed? For example, why do those we see here on TSE who sought entry for the PLAB or British Army appear to be refused with a common theme? Is there a uniform shortcoming or is it just discrimination?   PLAB: What is about applications for a visa, for the purpose of sitting the Professional and Linguistic Assessments Board (PLAB) exam, that seem to invite refusals. After all, the test is given so that international medical graduates can show that they qualify to practise medicine in the UK. The first part, PLAB 1, can be taken in centres outside of the UK. However, PLAB 2 can be taken only in the UK. Why can't you can't get a visa just to sit the exam, promising that you'll leave immediately after?    British Army: Since Commonwealth citizens are eligible to apply online to join, even those who don't reside in the UK, why is it so difficult to get a visa just to attend an interview to see whether you are suitable? Even with an invitation from the Army, such visa applications seem to be unsuccessful. Isn't a career in the British Army a valid reason?     Lastly:  After such a refusal, what approaches would increase the chance of a successful application? monitor files (à la tail -f) in an entire directory (even new ones) My son got MineCraft PC for his birthday.  The account is under my e-mail and he has a name in the game (my terminology may be off as i do not play the game).  My other son would also like to play MineCraft, but have his own name (character???).  Can that be done?  It doesn't seem logical that I'd have to download 2 Minecraft games.  Please let me know how this works. Switching between windows with scroll wheel on Ubuntu Dock I would like to switch between windows using the scroll wheel of the mouse over each app icon in Ubuntu dock, as we could do in Unity, but apparently this doesn't work in Ubuntu 17.10. Is there a way to enable it?   Related: Keep sharp edges when using subdivision surface How can I use the subdivision surface modifier to create more high poly meshes without ruining sharp edges? For example this mesh  The sphere should be subdivided but the rim of the cylinder should stay the same because it is a sharp edge. This is the result of the subdevision  How can I get sharp edges to not be affected by the sub surf mod? Dubai (UAE) visa requirements when staying in the airport for a French citizen? Outlook: scheduling recurring out-of-office? In Outlook, is there a way (or an add-on that can do it) to schedule a recurring out-of-office message?  I work 4 10's, so I'm out of the office every Monday, and it's a bit of a pain to have to reset my out-of-office message every single week. Can I check iPhone, iPad, Watch battery on Mac? My goal is to have battery status of other Apple device on my Mac (preferably on menubar). I'd like to have a glimpse of the battery status of my iPhone, iPad, Watch, and Airpods.  I'm a user of Bitbar and iStat menu, but I haven't found any widgets can wirelessly check other Apple device's battery status.  What I know is that I can click the Wi-Fi icon on menu bar and it will show my iPhone battery status. To show the percentage, I have to option + click the Wi-Fi icon and hover over my mouse on the iPhone hot spot section. It's pretty clunky, but I guess at least the API is there.  I am also open to third party apps which can let me see battery status across devices. Where do I get the key for the first house? I've 'completed' the game, but didn't find the key for the first house. (I got the one for the arcade machine house). Where can I find it? Can Resharper be set to warn if IDisposable not handled correctly? Is there a setting in Resharper 4 (or even Visual Studio itself...) that forces a warning if I forget to wrap code in a using block, or ommit the proper Dispose call in a finally block?