Unicode characters with lstlisting
Having problems with listings and UTF-8. Can it be fixed?
Headless linux install PHP script not executing on Apache server Unable to see anything after importing .obj file $$\lim_{n \to\infty} \frac{n!}{n^n}$$  I have a question: is it valid to use Stirling's Formula to prove convergence of the sequence? Resolve build errors due to circular dependency amongst classes I thought that there was no need to scan for viruses either in Ubuntu or any Linux distros until I found virus scanner packages clamtk and klamav in Ubuntu software center yesterday.  This leads to the following questions:   How do viruses differ between Linux and Windows? How do the strategies for protection differ between Linux and Windows? Should a virus scanner package be installed on my system? If so, which would be a better option? sudo on Windows 10 Linux subsystem cannot resolve local machine name I installed Windows 10 Anniversary update and the Linux subsystem. When running anything with sudo it takes ages and then I get this error message:     sudo: unable to resolve host MYMACHINE   How to get rid of this and make sudo fast? Notify instantly when a currently viewed post is deleted At the moment SE shows us current voting results, a notification for new answers and comments, etc., instantly. However, it doesn't show us when a post is deleted.  Please notify us also when a post is deleted. Then I don't have to type a (long) comment, only to notice the post got deleted in the meantime. Let's assume you have a table groups and a table item. Each item belongs to exactly one group. It is an inherent part of that group. An item cannot exist outside of a group and it cannot be moved to another group.  When trying to decide on a primary key for the item table, what should I use?  Should I make up an artificial global serial key like this:  CREATE TABLE items (     item serial PRIMARY KEY,     group integer NOT NULL REFERENCES groups(group), );   ... or should I rather use a composite key and per-group item serial like this:  CREATE TABLE items (     group integer NOT NULL REFERENCES groups(group),     item integer NOT NULL,      PRIMARY KEY(group, item) );   The reason why I'm leaning more towards the second solution is that the post URL will always show the group and item, so it makes sense to have both of them as the composite primary key. In case of the first solution, the URL contains superfluous information because the group ID can already be deduced from the item ID alone. The URL structure is given, however, and cannot be changed.  The disadvantage of the second solution is that you have to manage a per-group serial (i.e. each item integer should start from 0 for each group).  What's better in terms of best practices, normalization and performance? Or is it simply a matter of taste? How do I write a good title? A good title helps your question get the attention it deserves.  What goes into a good title? Why is the last digit of $n^5$ equal to the last digit of $n$? Generating a separate pdf file of tables and figures from a latex file? Is it possible to generate a PDF of figures and tables of a paper from LaTeX itself?  I saw Journals and Conferences asking for a separate file of tables and figures.  In  question, questioner proposed a method that uses \usepackage{endfloat} to push all the figures and tables to the last pages and then use a PDF editor to cut the last pages of PDF. This is a solution but not a good one. LaTeX should be able to do this by its own.  What I have in mind is to compile the LaTeX file and it generates a complete PDF output and beside that a separate file that contains all the figures and tables of former PDF. Let $a, b$ be elements of a group $G$. Suppose that a has order $5$ and that $a^3b = ba^3$. I want to show that that $ab = ba$.  Here is what I think:   We know that we have $a^1, a^2, a^3, a^4, a^5 = 1$. So, $a^4 = a^{-1}$ and $a^3 = a^{-2}$ and $a^{2} = a^{-4}$. Now,   $a^3b = ba^3$ then $a^{-2}b = ba^{-2}$ then $ba^2 = a^2b$ then $ba^{-4} = a^{-4}b$ then $a^{-1}b = ba^{-1}$ then multiply on the left and right by $a$ to get $ba=ab$. Is this correct or is there a simpler approach? How to prevent Command-I/Command-Shift-I from opening Mac Mail when in browser? When in a browser (Chrome or Safari), the following keyboard shortcut will always bring up a window that says "Welcome To Mail":  Command+Shift+I  I would like to use this shortcut for another purpose.  Is there any way to disable this shortcut? Unhandled event loop exception in plugin org.eclipse.ui Finder windows just show screen artefacts On our Macbook Air (Mid-2011 11", OS X 10.9.5 Mavericks), starting a few days ago, every time we open Finder windows, the right side just shows screen artifacts/cheese. File Open dialogs in MS Word work fine - it is just the Finder windows with the problem.  Can someone help?  I have tried rebooting, and Verify Disk in Disk Utility. Neither helped. Maybe I should upgrade to El Capitan? But why would this start happening all of a sudden? In my ~/.bashrc file reside two definitions:   commandA, which is an alias to a longer path commandB, which is an alias to a Bash script   I want to process the same file with these two commands, so I wrote the following Bash script:    #!/bin/bash  for file in "$@"     do     commandA $file     commandB $file done   Even after logging out of my session and logging back in, Bash prompts me with command not found errors for both commands when I run this script.  What am I doing wrong? How to move boot and root partitions to another drive UK visa type to attend conference and training in London How do I analyze a .hprof file?