Trying open a specific folder in android using intent
Android: How to open a specific folder via Intent and show its content in a file browser?
How can i change formatting of the table of contents to avoid section numbering and section title to overlap?  Document:  \documentclass[10pt,oneside,notitlepage]{book}  % Use Heuristica Font \usepackage{heuristica} \usepackage[heuristica,vvarbb,bigdelims]{newtxmath} \renewcommand*\oldstylenums[1]{\textosf{#1}}   \begin{document}  \tableofcontents  \part{Part one}  \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh} \chapter{Chapter Oh}   \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi} \section{Chapter Hi}  \end{document}   Example output: I want to know a proof of an alternative form of Fermat-Euler's theorem   $$a^{\phi (n) +1} \equiv a \pmod n$$   when $a$ and $n$ are not relatively prime.   I searched some number theory books and a cryptography book and internet, but there were only proofs of the original theorem  $a^{\phi (n)} \equiv 1 \pmod n$ or in case n=pq which is used for RSA. So I would be very thankful if someone show me a proof or book I should read. RAM not clearing, alway in standby I'm having a problem with my ram on windows 7. The ram is clearing or programs are using and dumping it faster than it can clear. I have 8gb of ram I'm only using 4gb and the rest is in Standby. At best time I can get 100mb of free but its mostly at 15mb or less. I suspect a memory leak but I have no way to figure out what program it is. I have not installed any new hardware recently and newly installed programs have bin closed. Does any one have an idea of what is going on and how to fix it?   I'm sorry this is so little information but that is all I have as well.  Edit: I tried RamMap and found out the my "Mapped File" has 3,291,784k ram in standby how do I figure out what program and how do I limit it's ability to set ram in standby?  Edit: I keep getting a problem when I will have 0 free ram and my computer will stop working properly. It will become outrageously slow where it will take 3-4 minutes to start task manager so I can close some programmes. When I free up some ram by closing some programmes every thing runs normally. It does not matter which programs I closes only that I free up some ram. I know a lot of you say it's supposed to be like that and that's how windows works. But its obviously a problem and my computer has never worked that way neither has any of my other computers. I would like to fix this please help me. I have a number of tiff files named:    sw.001.tif sw.002.tif ...   and I want to remove the .tif at the end of each of the files.  How can I use the rename command to do this? Letter class alternatives with support for figures, tables, and labels What’s (not) spam? Somebody asked the following :    Clearly this is just a troll post so I (and other users) flagged it as spam. The spam flag was subsequently disputed (which I think simply means that a moderator rejected it):    Huh? Puzzled, I took another look at the list of possible flagging reasons:     I am flagging this question because         it is spam   This question is effectively an advertisement with no disclosure. It is not useful or relevant, but promotional.   it is offensive, abusive, or hate speech   This question contains content that a reasonable person would deem inappropriate for   respectful discourse.   it is a duplicate...   This question has been asked before and already has an answer.   it should be closed for another reason...   This question does not meet this site's standards and should be closed.   it is very low quality   This question has severe formatting or content problems. This question is unlikely to be salvageable through editing, and might need to be removed.   other (needs ♦ moderator attention)   This question needs a moderator's attention. Please describe exactly what's wrong.      Of these, only a few are applicable at all: “spam”, “should be closed for another reason”, “low quality” and “requires moderator attention”.  But:   it shouldn’t be closed (it has no value – it should be deleted), it’s not “low quality” (the description seems to fit actual, albeit bad, questions), and it doesn’t require moderator attention (I certainly didn’t want to bother a mod with this worthless post).   So I still think “spam” is the most fitting reason. Maybe it would help to have a more apt reason “troll post”, or maybe we could explicitly subsume this under one of the other points? This is about a step in a derivation of the expression for the relativistic Doppler effect.  Consider a source receding from an observer at a velocity $v$ along the line joining the two. Light is emitted at frequency $f_s$ and wavelength $\lambda_s$. The frequency $f_0$ and wavelength $\lambda_0$ received by the observer will be different.  Some textbooks now argue that the wavelength received by the observer is given by $\lambda_0=(c+u)T_0$, where $T_0$ is the time period of the wave in the observers frame. The argument given is that the successive "crests" will be an extra distance $uT_0$ apart due to movement of the source. Upon relativistically transforming the time period in the source frame to the observer frame, the correct result $f_0=f_s\sqrt{\frac{c-u}{c+u}}$ is obtained.  But the argument for the wavelength seems reminiscent of the classical Doppler effect for sound. Is it really applicable here through this argument? And is there a way to show the same result for $\lambda_0$ mathematically? Im trying to craft a regex that only returns &lt;link&gt; tag hrefs  Why does this regex return all hrefs including &lt;a hrefs?       (?&lt;=&lt;link\s+.*?)href\s*=\s*[\'\"][^\'\"]+        &lt;link rel="stylesheet" rev="stylesheet"      href="idlecore-tidied.css?T_2_5_0_228" media="screen">     &lt;a href="anotherurl">Slash Boxes&lt;/a>   thank you I've been attempting to learn C in my spare time, and other languages (C#, Java, etc.) have the same concept (and often the same operators) ...   What I'm wondering is, at a core level, what does bit-shifting (&lt;&lt;, &gt;&gt;, &gt;&gt;&gt;) do, what problems can it help solve, and what gotchas lurk around the bend? In other words, an absolute beginner's guide to bit shifting in all its goodness. On OpenBSD and with OpenBSD's  and , is it possible to store the  of a user in a  repository of the same user?  What would be the proper way to accomplish something like this?  (To steer the answer into the correct direction, I would not be opposed to changing some permissions in the system, although I'd rather not have to recompile the binaries, nor violate any good security paradigms.) An invalid argument, the conclusion of which is a tautology Why it is not possible to have such argument?  I found some textbook Introduction to Formal Logic and this is from one of the first excercises. This is marked as impossible, but I do not understand why. Can't get armature to move mesh! How do I fix a NoSuchMethodError? I'm getting a NoSuchMethodError error when running my Java program.  What's wrong and how do I fix it? apt-get install vs pip install I am a bit confused about the cases in which the above commands must be used when downloading python packages. I was trying to download a package named pyudev in accordance with an answer with this . I executed this command :  sudo pip install python-pyudev   but received the following message :  Downloading/unpacking python-pyudev    Could not find any downloads that satisfy the requirement python-pyudev Cleaning up... No distributions at all found for python-pyudev Storing complete log in /home/vineet/.pip/pip.log   However the following worked fine :  sudo apt-get install python-pyudev   When is apt-get supposed to be used to install packages and when is python-pip used? What's in "standard system utilities" in the server install? My googlefu has failed me. What packages are part of the "standard system utilities" that is preselected during install?  TIA! (-: how to pass a value to a variable that in a other variable I am getting a "bad substitution" error while running this code. I want to print the values in h_1, h_2, h_3with a for loop.  #/!/bin/bash h_1=12 h_2=13 h_3=14 for ((i=1; i&lt;=2; i++))  do   echo "${h_$i}" done Plotting bell shaped curve in TikZ-PGF I want to create some bell shaped curves for demonstrating hypothesis testing in statistics. Can anybody help me drawing curves like shown in the following picture? Command substitution: splitting on newline but not space I know I can solve this problem several ways, but I'm wondering if there is a way to do it using only bash built-ins, and if not, what is the most efficient way to do it.  I have a file with contents like  AAA B C DDD FOO BAR   by which I only mean it has several lines and each line may or may not have spaces.  I want to run a command like  cmd AAA "B C DDD" "FOO BAR"   If I use cmd $(&lt; file) I get  cmd AAA B C DDD FOO BAR   and if I use cmd "$(&lt; file)" I get  cmd "AAA B C DDD FOO BAR"   How do I get each line treated a exactly one parameter? It is fine to say that for an object flying past a massive object, the spacetime is curved by the massive object, and so the object flying past follows the curved path of the geodesic, so it "appears" to be experiencing gravitational acceleration. Do we also say along with it, that the object flying past in reality exeriences NO attraction force towards the massive object? Is it just following the spacetime geodesic curve while experiencing NO attractive force?  Now come to the other issue: Supposing two objects are at rest relative to each other, ie they are not following any spacetime geodesic. Then why will they experience gravitational attraction towards each other? E.g. why will an apple fall to earth? Why won't it sit there in its original position high above the earth? How does the curvature of spacetime cause it to experience an attraction force towards the earth, and why would we need to exert a force in reverse direction to prevent it from falling? How does the curvature of spacetime cause this?  When the apple was detatched from the branch of the tree, it was stationary, so it did not have to follow any geodesic curve. So we cannot just say that it fell to earth because its geodesic curve passed through the earth. Why did the spacetime curvature cause it to start moving in the first place? Often floats may land quite a bit later in the document than the point they are created, sometimes after a section break.  Is there a way to force a new section to start on a new page, after any unplaced floats?