Disable Ubuntu Guest account
How do I disable the guest session?
How can I install Windows after I've installed Ubuntu? Python analog of PHP's natsort function (sort a list using a "natural order" algorithm) Is there a typo in the name of the "Joga Bounito" hat? We have currently a hat called "Joga Bounito":    Bounito? Which language is that?  It is clearly a latin-derived language, so not English, German, Arabic, Chinese...   In Portuguese it should be "Joga Bonito" (which means "Plays beautifully"). I'm not sure about Spanish, but I guess that it should be then "Juega Bonito". I'm not sure about Italian either, but I guess that it should be "Gioca Bel". In French (not sure) it should be "Joue Beau". In Romen (really unsure) it should be "Joacă Frumos".   So, the best guess is that it is in Portuguese. Further this hat is basically a soccer ball, and in this year we had the FIFA World Cup in Portuguese-speaking Brazil, which is known for being a country where soccer is the main sport. So "Joga Bounito" would really be Portuguese.  But there is a small problem. It has a typo: It should not be "Bounito", it should be "Bonito". Cron jobs in Drupal 7 I have a PHP file that does some task in consistent intervals.   I have placed that PHP file inside a custom module folder, but I found that Drupal functions like drupal_set_message() are not available inside the PHP file.   How do I include Drupal functions inside this PHP file? How do I set up this php file to be run as a cron job? I get this error when trying to use apt-get:  E: Could not get lock /var/lib/dpkg/lock - open (11 Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?     How can I fix this? What happens to global variables declared in a DLL? Let's say I write a DLL in C++, and declare a global object of a class with a non-trivial destructor.  Will the destructor be called when the DLL is unloaded? Cleaning my Macbook Pro Retina leaves greasy 'streaks' across the screen I try to clean my mid-2015 Macbook Pro with Retina display by wiping the screen with a damp cloth and then immediately drying.  However, there seems to be left some residue/streak marks, which look very oily. Sometimes these disappear after a few minutes, but they are still very unsightly, and a bit worrying (is there something wrong with my screen?)  I'm wondering if there are other cleaning techniques which avoid this issue, or whether this is completely normal behaviour.  Thank you! Do different databases use different name quote? For example, mysql quote table name using   SELECT * FROM `table_name`;   notice the `   Does other database ever use different char to quote their table name Why are there $|G/G'|$ 1-dimensional representations of $G$? Let $G'$ be the derived subgroup of a finite group $G$.   We have a correspondence $\{\mathrm{reps \ of \ G/G'}\} \longleftrightarrow \{\mathrm{reps \ of \ G \ with \ kernel \ containing \ G' }\} $  If we restrict to 1-dimensional reps, we get:  $\{\mathrm{1\ dimensional \ reps \ of \ G/G'}\} \longleftrightarrow \{\mathrm{1 \ dimensional \ reps \ of \ G \ with \ kernel \ containing \ G' }\} $  Now my notes say that there are $|G/G'|$ 1-dimensional reps of $G$. Since there are $|G/G'|$ 1-dimensional reps of $G/G'$, this must mean that all 1-dimensional reps of $G$ have kernel containing $G'$. Why is this so?  Thanks In my opinion the accepted answer should permanently stick as only the original question submitter has the ability to accept. How to get straight quotation marks? How do I get straight quotation marks, i.e., " and ' in TeX?  (No, \verb changes the font and this is unacceptable.)  [Edit]  I forgot to mention that I’m using XeLaTeX, and fontspec is a necessity.  The first two proposed answers did work, without fontspec. How to remove the switch user account option in Unity 2D? We are looking for a way to permanently remove the Switch User Account function from our install of Ubuntu Unity. Note, this function appears when you right or left click on the user name in the upper right-hand corner. It then displays a list of 5-10 users that have logged in along with the option to Switch User Account. We know that we can do this by defaulting to gnome, but we would like the option of using Unity as well, but without the Switch User Account option.  We have already tried dconf-editor, gsettings and several other options to remove the users name list, Switch User Account option from appearing in the drop-down list. We know this can be done for one user at a time, but we are wanting to do this for all users on roughly 160 workstations.  Some options that we have already tried are:       This is a visual of what we are trying to remove: I posted an answer (pointing to another question already asked) but when I hit submit, I saw my answer appear as a comment to the question instead.   I tried it a couple of times and still the same result. The answer gets eaten up and is transformed into a comment.   Is this a bug? How do I resolve slow and choppy performance in virtualbox? Ubuntu runs very slowly inside of VirtualBox.  How do I run Ubuntu with unity or enabled transparency smoothly with VirtualBox? I don't know if this is a famous problem but my professor assigned this for a research project and I am hitting a dead end( I don't know what to do next).   Note: In $\phi(n)$ ; $n=rows=columns$ and this function throws out total combination of matrices that satisfies the following rule:  Rule for this square binary matrix:  Every Row and Column has two 1's.  So,    $$\phi(2)=1$$ \begin{bmatrix}    1 1 \\    1 1 \\ \end{bmatrix} $$\phi(3)=6$$  I can't write out all the possible matrices for $n=3$ but this is one of them (btw i did this by hand): \begin{bmatrix}    0 1 1 \\    1 0 1 \\ 1 1 0 \\ \end{bmatrix}   According to a program made by my friend, he told me:   $$\phi(4)=90$$ $$\phi(5)=2040$$ Run a Windows Service as a console app Wacom Tablet - Illustrator brush tool I currently got the intuos art wacom tablet so still learning how to use it. I'm currently in illustrator trying to draw out a map and the brush tool is doing something weird and I cannot figure out why. You can see in my image that where there are curves the black slightly spills over and is filling in half the curve with black. Brush setting is set up as a new calligraphic brush and the size is set to pressure, 3pt-3pt. Nothing happens when I press "Submit" on duplicate suggestion For example, in . Lightning-Web-Components Select Option prepopulate value Let's say I have a Lightning-Web-Component with a select list with dynamic options where the value is a user Id and the label is the user's name:  &lt;select class="slds-select" onchange={handleSelectChange} disabled={isDisabled}                           data-value={step.selectedUser} &gt;                                 &lt;option value=""&gt;--None--&lt;/option&gt;                                 &lt;template for:each={step.approvalTemplateStep.Approval_Step_Users__r} for:item="user"&gt;                                     &lt;option key={user.key} value={user.User__c}&gt;                                         {user.User__r.Name}&lt;/option&gt;                                 &lt;/template&gt;                             &lt;/select&gt;    How do I prepopulate the select option with a value? I have the value I want to be prepopulated in the variable called step.selectedUser.  Here's what I see on page load:   Here's what I should see: Particularly, what is the best snippets package out there?  Features:   easy to define new snippets (plain text, custom input with defaults) simple navigation between predefined positions in the snippet multiple insertion of the same custom input accepts currently selected text as a custom input cross-platform (Windows, Linux) dynamically evaluated expressions (embedded code) written in a concise programming language (Perl, Python, Ruby are preferred) nicely coexists with others packages in Emacs   Example of code template, a simple for loop in C:  for (int i = 0; i &lt; %N%; ++i) {   _ }   It is a lot of typing for such common code. I want to invoke a code template or snippet which inserts that boilerplate code for me. Additionally it stops (on TAB or other keystroke) at %N% (my input replaces it) and final position of the cursor is _.