Cut a part from a linked list?
Java: split a List into two sub-Lists?
Android Studio shortcuts are not working I use Android Studio in Ubuntu and everything was working fine. Since two weeks that shortcuts stopped working, Ctrl+C, Ctrl+V, Ctrl+Z. I tried to change Keymap in Settings but without success.  What could be the possible problem? Why would a company like Apple be buying back its own shares? What is the reason that a company like AAPL is buying back its own shares? Does it have too much cash and it doesn't know what to do with it? So it is returning the cash back to investors? What is the definition of layer in neural network? jQuery Ajax POST example with PHP Why is the nucleus of an Iron atom so stable? Lighter nuclei liberate energy when undergoing fusion, heavier nuclei when undergoing fission.  What is it about the nucleus of an Iron atom that makes it so stable?  Alternatively: Iron has the greatest nuclear binding energy - but why? Side-by-side markdown title not so side-by-side In edit revisions where a long enough title has been edited, the side-by-side  markdown view shows a large overlap when the title wraps:    This is a repeat of  specific to the new Meta design. Looks like a line spacing adjustment is needed.  See this . Is it possible to change the Environment of a parent process in Python? In Linux When I invoke python from the shell it replicates its environment, and starts the python process. Therefore if I do something like the following:  import os os.environ["FOO"] = "A_Value"   When the python process returns, FOO, assuming it was undefined originally, will still be undefined. Is there a way for the python process (or any child process) to modify the environment of its parent process?  I know you typically solve this problem using something like  source script_name.sh   But this conflicts with other requirements I have. I just got a short algorithm on my page, and it keeps getting aligned at the center of the page. But I want to have it aligned at the top, what do I have to do? How to avoid pagenumering with text in scrlttr2 Have a Letter in scrlttr2. I cannot avoid/exclude the text before the page number 'Seite' (see print-screen). The  recommends to add \pagenumbering{arabic}. But for my document, it has no effect.    %--------------------------------------------------------------------------- \documentclass%% %---------------------------------------------------------------------------   [fontsize=12pt,%%          Schriftgroesse %--------------------------------------------------------------------------- % Satzspiegel    paper=a4,%%               Papierformat    enlargefirstpage=on,%%    Erste Seite anders    pagenumber=footcenter,%%   Seitenzahl oben mittig %--------------------------------------------------------------------------- % Layout    headsepline=on,%%         Linie unter der Seitenzahl    parskip=half,%%           Abstand zwischen Absaetzen %--------------------------------------------------------------------------- % Formatierung    draft=on%%                Entwurfsmodus ]{scrlttr2} %--------------------------------------------------------------------------- \usepackage{german} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc}  %--------------------------------------------------------------------------- \begin{document} %--------------------------------------------------------------------------- % Briefstil und Position des Briefkopfs \LoadLetterOption{DIN} %% oder: DINmtext, SN, SNleft, KOMAold. \makeatletter \pagenumbering{arabic}  %--------------------------------------------------------------------------- % Seitenstil \pagestyle{plain}%% keine Header in der Kopfzeile %--------------------------------------------------------------------------- \begin{letter}{Herr\\                 Mustermann\\                Straße 1\\                12345 Stadt} %--------------------------------------------------------------------------- \setkomavar{subject}{Beispielschreiben} %--------------------------------------------------------------------------- \opening{Liebe Herr Mustermann,}  here is some Text.  \pagebreak  here is some Text. %--------------------------------------------------------------------------- \end{letter} %--------------------------------------------------------------------------- \end{document} %--------------------------------------------------------------------------- Like I versus Like me Limit the post for differents custom post type in the same wp_query I have three custom post type:    books magazine videos   Now i want to limit the number of post for custom post type, for example:   books => 3 post magazine => 2 post videos => 1 post   I used a query post like this:  query_posts( array(     'post_type' =&gt; array(     'books',     'magazine',     'videos' ), 'paged' =&gt; $paged, 'posts_per_page' =&gt; 6,  )); $counter = 1; if (have_posts()) :     while (have_posts()) : the_post();   if (($counter == 2) || ($counter == 3) || ($counter == 4)) {         $div = 'alpha';     } elseif(($counter == 6)) {         $div = 'omega';     } else {         $div = '';     }   The problems is i cant limit the numbers by custom post type.  Any idea?  Thank you :) What to write in visa application form and what documents to submit as an unregistered freelancer? There are many visa applicants who are working as an unregistered freelancer (photographer, construction contractor, fashion designer, journalist etc ). Some of these freelancers make really handsome monthly income and don't really need to work as a full time employee. Most of them receive variable amount of payments (cash, cheques, demand drafts etc) When it comes to filling a visa application form (USA, UK, Schengen etc), there is always an employment section in all visa form, eg for Schengen visa employment form :    This is a very important factor to make an application really strong.  Questions:   1 Unregistered freelancers can just simply write their profession? what documents to produce along with the application?  2 Bank statements with variable methods of payments could convince the visa officer that these are all legitimate payments? Why "would" instead of "will" in this sentence? The goal for these negotiations is to reach a mutually-agreed long-term comprehensive solution that would ensure Iranˈs nuclear program will be exclusively peaceful.    what does would imply here? If it implies future, why will has not been used?  A good link teaching would thoroughly would be really appreciated. Specially, distinguishing between the senses of would is not always easy. Applying options to already loaded package Is there a way to apply some options to a package which is loaded in the cls file I am using? For instance, suppose that the cls file loads graphicx, and I want to apply the option demo to it from my tex file. How to fix "The system is running in low-graphics mode" error? Note: This is an attempt to create a canonical question that covers all instances of &quot;low-graphics mode&quot; error that occurs to a user, including but not limited to installation of wrong drivers, incorrect or invalid lightdm greeters, low disk space, incorrect installation of graphics card like ATI and Nvidia, incorrect configuration of xorg.conf file while setting up multiple monitors among others. If you are experiencing the &quot;low-graphics mode&quot; error when trying to login but none of the following answers work for you, please do ask a new question and then update the answers of this canonical question as and when your new question gets answered.   When I try to boot into my computer, I am getting this error:  The system is running in low-graphics mode Your screen, graphics cards, and input device settings could not be detected correctly. You will need to configure these yourself.   How do I fix the failsafe X mode and login into my computer?  Answer index: Show that $x^4-10x^2+1$ is irreducible over $\mathbb{Q}$ A Hollow Black Hole I was just reading a . It was a trivial question, obviously there is no force felt. But then it got me thinking.  Suppose you had a hollow sphere that was massive enough that outside of it, it became a black hole. It's not hard to imagine a situation where the magnitude of the force of gravity at the surface (while strong) is equal to the magnitude of the force on the particles of the sphere due to some phenomenon involving one of the other 3 forces (just so I can allow this hollow sphere to continue being hollow).  Obviously, I don't have to do the integral to know that any object inside the hollow would experience no net gravitational force due to the shell. However, being a few months short of General Relativity, I am curious to know whether there would be any effects from Gravity observed.  Would an observer inside experience any time dilation? There may not be any net force due to gravity, but one cannot deny that there are still some fairly powerful gravitational fields present that happen to superimpose to zero. Furthermore, (assuming a relatively massless observer) would they have access to any of the information that was "lost" in the black hole? If so, then if they were long-lived enough for the black hole to be able to evaporate around them, does this mean that not only would the black hole radiate that information, but it would also store a copy of it in the hollow?  I want to apologize in advance. I know this question seems a bit more like a discussion than a Q&amp;A thing.  To be clear, I am asking: In my scenario, would there be any effects of gravity on things in the hollow? And would information lost in the black hole be accessible to the hollow (which is essentially its own isolated bubble of the universe)? A good answer can address these two questions. If you want to add in your own opinions/contribute to a discussion about it, that'd be a bonus. How to prove that a continuous function, homotopic to the constant map $f:S^1\to S^1$  (a) has a fixed point and that (b) has a point $x$, such that $f$ maps $x$ to its antipodal point $-x$? I have a bunch of raw data values that are dollar amounts and I want to find a confidence interval for a percentile of that data.  Is there a formula for such a confidence interval? How to jusify {e,n} is a valid RSA public key?