How to center verbatim
Center-align the verbatim environment
How to rename multiple files sequentially from command line? How to rename file as below  AS1100801000002.RAW7AGS  AS1100801001008.RAW7AH4 AS1100801002001.RAW7AH9 AS1100801003002.RAW7AHE AS1100801004009.RAW7AHT AS1100801005002.RAW7AHY AS1100801010002.RAW7AJ3   to new name  AS1.txt AS2.txt AS3.txt AS4.txt AS5.txt AS6.txt AS7.txt Difficulty in creating macro '\newcommand' for the beginning and end of frames in Beamer Is the composition of two injective functions injective? What does "sudo apt-get update" do? I am wondering what sudo apt-get update does?  What does it update? Converting to upper and lower case in Java Weighting features prior to SVM How do I change the cursor and its size? This was working perfectly on 17.10 but after upgrading to 18.04 yesterday, when the lid is closed the screen turns off but doesn't suspend properly.  I travel around a lot and immediately noticed the heat (and battery draining) when taking it out of the travel case.  I've tried uncommenting these lines in /etc/systemd/logind.conf  HandleLidSwitch=suspend HandleLidSwitchDocked=suspend   and restarted but didn't make any difference. JavaScript closure inside loops – simple practical example TL;DR: how does an Ubuntu flavor iso installation ( for example Lubuntu ) differ from installing a desktop package via apt-get ? (for instance sudo apt-get install lubuntu-desktop)  Context for the question:   Some time ago I answered a question on AskUbuntu , where I tested in virtual machine removing unity-desktop and installing ubuntu-gnome-desktop. That makes the boot logo ( plymouth ) change, desktop changes, different packages get installed (gnome-network-manager instead of network-manager , if I am not mistaken). It appeared that in effect I've switched to different Ubuntu flavor, even though I started out with the standard Ubuntu system. Hence the question: what differentiates the pre-made Ubuntu flavor iso from installing a package ? Is it all the same base underneath the hood or does installation from iso have specific configurations ? If it's possible to install a flavor via package manager, why then separate flavor iso's exist ? (obvious answer is user convenience, but I think there has to exist other reasons. Canonical is a business , and it makes not a lot of sense for a business to provide additional flavor iso , if a sysadmin or end-user can get the same thing via package manager by themselves). Who can knight you so that the knighting 'sticks'? Motivating scenario:  I'm a swell upstanding guy, so Ser/Lord X, an acquaintance of mine, knights me. So I walk into my village tavern; the barkeep asks "What'll it be, friend?" and I tell him "That's 'Ser' to you now. I have been knighted by X!" He sneers and goes "well then, X can call you Ser if he likes."  Actual Question:  What about a person's being knighted makes the knighting 'stick'? Is it the identity/standing of the knighter (is that a word?) ? Is it the fact that many other knights walk around telling people that the new guy is also a Knight? Is it the public nature of the knighting?  The  says  about knighting:     This usually happens when a squire reaches adulthood and his master   judges him worthy of accepting the responsibilities of a knight. A man   who has not been raised in the knightly tradition can also be made a   knight as a reward for service. This is often granted to soldiers or   other smallfolk who have shown bravery or performed a great feat.   Notes:   I'm only asking about Westerosi Andal-culture Knights, around the time of Robert I Baratheon's rule. Infinite set and countable subsets Prove that a set $A$ is infinite if and only if $A$ contains a countable subset $C$. I know I have to build a sequence and then I'll get a countable subset, but I don't know how to build that sequence from a infinite set. How can I show only unnamed faces in Mac photos I was trying to show photos with unnamed faces so that I can annotate them. There is  but it requires you to mark all the pictures with no faces at all. Any suggestions? What the pointer size in 64 bits computer in C++? How to log out user from web site using BASIC authentication? Is it possible to log out user from a web site if he is using basic authentication?  Killing session is not enough, since, once user is authenticated, each request contains login info, so user is automatically logged in next time he/she access the site using the same credentials.  The only solution so far is to close browser, but that's not acceptable from the usability standpoint. Show the two fields are not isomorphic Let $p,q,r$ be prime integers with $q\neq r$. Let $\sqrt[p]q$ denote any root of $x^p-q$ and $\sqrt[p]r$ denote any root of $x^p-r$. Please show that $\mathbb{Q}(\sqrt[p]q)\neq\mathbb{Q}(\sqrt[p]r)$.  By Eisenstein we know the two polynomials are irreducible and so they are minimal polynomials and both have degree $p$. Stance on repost question instead of editing to invalidate answers? right (opposite of left) connected to right (legal term)? Disable emojicons introduced with WP 4.2 So WP 4.2 introduced emojis (smileys) that basically adds JS and other junk all over your pages. Something some people may find shocking. How does one completely erase all instances of this? Display each sub-directory size in a list format using one line command in Bash? I want to get a list of the directories and their sizes in a list format like how you get when you do a ls -l.  The thing is that is there a one line command that can do this? I see others have long commands just to output this. That's just too long.  What command can do this or combination of commands that can be easily typed? du -h gives it, but it displays all of the sub-folders which is not what I want. just the current directories folders.