Sorting a Map with JSON data as values
Sort a Map by values
How do I read and parse an XML file in C#? How can I run Maniac Mansion through ScummVM? Day of the Tentacle Remastered Edition includes Maniac Mansion as a .  The game appears to be exactly the same as the old DOS release (albeit, the enhanced version).  If possible, how can I run this game through ScummVM?  Pointing ScummVM at my installed game doesn't work.  What do I need to do to play this version of Maniac Mansion? Implications and Ordinary language Restarting with new account on iOS/GameCenter How to customize the ubuntu gnome 3 desktop? This is maybe a stupid question, but how can I choose my own background image on ubuntu gnome 3?? I click on Settings -> Background -> then I click on the current background preview to change it but I see only the defaults images! No + symbol to add or something. On the 'Pictures' tab there is nothing to select, I get an empty white page? I am running ubuntu gnome 13.04 3.9.6-030906-generic.  Thanks! Redundant prepositions? This is a tooltip in an application:     Identifies the site name to which the GL code belongs to.   Can I say that it is incorrect to use "to" twice here and we should remove 1 of them?  Other examples:       Identifies the vendor to which the port speed is associated with.   Provides the vendor to which the milestone is associated with.   (They are both tooltips, too)  The repetitions here are incorrect, aren't they? Please confirm. C non-blocking keyboard input I'm trying to write a program in C (on Linux) that loops until the user presses a key, but shouldn't require a keypress to continue each loop.  Is there a simple way to do this? I figure I could possibly do it with select() but that seems like a lot of work.  Alternatively, is there a way to catch a ctrl-c keypress to do cleanup before the program closes instead of non-blocking io? Fedora 14 uses vi by default when one runs visudo. Is there a way to change this to something else? How can I find the right lens cap for my lens? I own a Nikon D3000 Camera with the AF-S 18-55mm VR Kit Lens. Last week I lost the lens cap and now I want to buy a new one.  But when I went to , I got confused with the different ranges of lens names —  LC-62, LC-78, etc.  My concern is what if I order one lens cap and it won't fit correctly on my lens?  If you guys have an D3000, can you please let me know how to find the correct lens cap names? How to reset the Xorg / xserver? Xserver keeps crashing on my general user account both in Unity 3D and 2D. It doesn't do it on the guest account.  That's why I want to reset / rollback everything xserver related, hoping this is going to fix it.  Most answers on this involve sudo dpkg-reconfigure xserver-xorg. However, this does nothing for me (generates no output) and I read in other forums, that it's deprecated.  So, what's the current way to reset all xserver / xorg options; what's the alternative to sudo dpkg-reconfigure xserver-xorg? X crashes during work, not before login or so. And the effect of a crash is, that I get thrown out of the session, not a freeze or machine crash. Getting Windows 7 admin account password? Just installed Ubuntu 17.10 and it seems that the keyboard layout switching has changed its behavior.  In the previous version of Ubuntu (such as 16.04 Unity), if I have 3 different keyboard layouts (for example EN-TH-JA), hitting Super+Space would always cycle to the next layout in the same order (e.g. EN to TH to JA then back to EN).  However since Ubuntu 17.10, this is no longer the case. It cycles through the layout in the MRU (Most Recently Used) ordering. So suppose that the layout starts with EN, then I cycled to TH. Next time I hit Super+Space, it would give me EN instead of JA.   I tried to dig up and found that the culprit is the newly implemented DCONF settings inside org.gnome.desktop.input-sources and there seems to be no way to change this behavior.   So my question is: Is there a way to change this behavior to "static ordering" of keyboard layout switching?    (As a side-note, the new behavior is very bad when we have three or more layouts. Most of the time we as a user couldn't remember the MRU layouts, so layout switching is very inconvenient and much slower than already knowing what the next layout would be if static ordering is used.)  If there is no settings to change this behavior, where should I report this as a bug or a feature request? How to start git-gui? Compile error with \href ToC and \apacite I would like to edit my document but I have a compile error somewhere between the \href and the apacite but can't locate it. I've tried blocking out code and taking out references, with varying results.  \documentclass[a4paper,12pt]{article} \usepackage[english]{babel} \usepackage[utf8]{inputenc}  % TOC, Citations, Refereneces, and Appendicies \usepackage{apacite} % \cite{ref1,ref2} %Warning - unsupported tocstyle code \usepackage[tocindentauto]{tocstyle}     \renewcommand{\thesection}{\Roman{section}}      \renewcommand{\thesubsection}{\arabic{subsection}.}     \renewcommand{\thesubsubsection}{\roman{subsubsection}.} %\usepackage{hyperref} %\urlstyle{same} %\hypersetup{ %   colorlinks=true, %   urlcolor=cyan, %   linkcolor=blue, %   citecolor=green, %   filecolor=magenta, %   pdftitle={Sharelatex Example}, %   pdfpagemode=FullScreen, %} \usepackage[toc,page]{appendix}  \begin{document}    ...to be installed \cite{church13,hershkowits97}. \bibliographystyle{apacite} \bibliography{bibliography} \end{document}   Here are the bibliography.bib entries then  @ARTICLE{church13,    author       = {K.H. Church and H. Tsang and R. Rodrigiguez and P. Defembaugh and R. Rumpf},    year         = 2013,    title        = {Printed circuit structures, the evolution of printed circuit boards},    journal      = {Circuit Insight},    volume       = {},    number       = {},    pages        = {},    howpublished = {},     url          = {http://www.808multimedia.com/winnt/kernel.htm}, }  @ARTICLE{hershkowits97,    author       = {N. Hershkowits and R.A. Breun},    year         = {1997},    title        = {Diagnostics for plasma processing (etch plasmas) (invited)},    journal      = {Review of Scientific Instrumentation},    volume       = {68},    number       = {1},    pages        = {880--885},    howpublished = {}, } How do I watch a file for changes? I have a log file being written by another process which I want to watch for changes. Each time a change occurs I'd like to read the new data in to do some processing on it.  What's the best way to do this? I was hoping there'd be some sort of hook from the PyWin32 library. I've found the win32file.FindNextChangeNotification function but have no idea how to ask it to watch a specific file.  If anyone's done anything like this I'd be really grateful to hear how...  [Edit] I should have mentioned that I was after a solution that doesn't require polling.  [Edit] Curses! It seems this doesn't work over a mapped network drive. I'm guessing windows doesn't 'hear' any updates to the file the way it does on a local disk. What are the differences between $$, \[, align, equation and displaymath? I once learnt, that it is uncool to use $$, but why is that? Why does \[ not act as a abbreviation to \begin{align}? I noticed, that there is a difference, since one cannot use &amp; and \\ inside a block started with \[. Notify close voters when a closed question gets edited As mentioned in , a question closed because it was not well-phrased is currently very unlikely to be reopened after an edit clarifying the issues. Those who voted to close should at least be asked to reconsider and reopen the question after such an edit. Series with denominator that is square of product of consecutive numbers Change templates in Xcode How would I change the initial templates created by Xcode when creating a new Cocoa Class.  I am referring to the comments and class name created when using Xcode's new class wizard. I am technically knowledgeable enough to know that this most likely isn't possible, BUT, I am curious just the same (it must be put to rest). Is there anything preventing us from creating a means to use two different internet connections, like two different ethernet cards or an ethernet card and a wireless card, and using the two IP addresses at once for more internet speed?  My specific situation is that I would like to use both a wireless card and my wired connection on my machine running Kubuntu 13.10. Using two internet connections would allow me to do things like:   Torrent and browse simultaneously without lag Open Firefox with multiple tabs faster (?) Download a couple or a few large files at once double time Increase overall internet connection speed (?)