Additional table of contents within document
How can I print the table of contents multiple times in my document?
Find files that a user can write, efficiently with minimal process creation I am root. I would like to know whether a non-root user has write access to some files - thousands of them. How to do it efficiently while avoiding process creation? (complex measures) $d\nu=d\lambda +f\,dm \Rightarrow d|\nu|=d|\lambda| +|f|\,dm$ and $f\in L^1(\nu)\Rightarrow f\in L^1(|\nu|)$ Two simple exercises on complex measures I don't know how to solve, from Folland's Real Analysis. I find it difficult to manipulate the definitions in computations. For context, if $\nu$ is a complex measure on $(X,\mathcal{M})$ then $|\nu|$ is defined as $d|\nu|=|g|\,d\mu$ where positive measure $\mu$ and $g\in L^1(\mu)$ are such that $\nu \ll \mu$ and $\nu = g\,d\mu$ (and in the textbook it's shown that this definition does not depend on the choice of $\mu$).     1) Let $\nu$ be a reguar complex Borel measure on $\mathbb{R}^n$, $m$ denote   Lebesgue measure, and   let $d\nu = d\lambda + f\,dm$ be its Lebesgue-Radon-Nikodym   representation. Then ("it is easily verified")   $d|\nu|=d|\lambda|+|f|\,dm$.      2) If $f\in L^1(\nu)$ then $f\in L^1(|\nu|)$. I was able to prove the   reverse implication, but not this one.   The definition of $|\nu|$ in the case of real signed measures (as $|\nu|=\nu^+ + \nu^-$) makes sense to me but I can't see intuitively into the definion of $|\nu|$ for complex measures as given in the textbook. Do you have any advice on this?  Thank you! Deciphering the RSA encrypted message from three different public keys I have three different 1024-bit public keys with common exponent $e$ but different moduli. A message $m$ is encrypted (without padding) using the three keys, which results in three different encrypted messages.  Given the three pairs of public keys $(N_i,e)$ and the encrypted messages $c_i=m^e\bmod N_i$ , how do I decipher the original message $m$ ? Sum of Cosine/Exponential I try to simplify to get rid of sum $$ \sum_{k=0}^{n-1}\cos(2 \pi fk)$$  I discover I shall use euler equation to form:  $$ \sum_{k=0}^{n-1}\frac{1}{2}(e^{2 \pi fki}+e^{-2 \pi fki})$$  but how to sum exponentials? Ignore citations in captions in list of figures when numbering When using the \cite command in figure captions and the ieeetr bibliography style, then  BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).  Is there any way to get BibTeX to ignore the \listoffigures section when numbering? "media change: please insert the disc labeled" when trying to install Ruby on Rails I am to prove by induction that given that $a+1/a$ is an integer (i.e. belongs to Z  ) then $a^n+1/a^n$ is an integer too. I'm pretty much clueless here. Thanks in advance. How to run a script without closing the terminal? I have a script in file bla.sh and it is executable. When I click on it, the script is executed and the window is closed. I'd like the window to stay open.  Something like command cmd /k** command in Windows.  P.S. I don't want to use pause, but I want to able to write more commands after the script was executed. When and why is the [featured] tag removed by the Community user? I was writing a toString() for a class in Java the other day by manually writing out each element of the class to a String and it occurred to me that using reflection it might be possible to create a generic toString() method that could work on ALL classes. I.E. it would figure out the field names and values and send them out to a String.  Getting the field names is fairly simple, here is what a co-worker came up with:  public static List initFieldArray(String className) throws ClassNotFoundException {      Class c = Class.forName(className);     Field field[] = c.getFields();     List&lt;String&gt; classFields = new ArrayList(field.length);      for (int i = 0; i &lt; field.length; i++) {         String cf = field[i].toString();         classFields.add(cf.substring(cf.lastIndexOf(".") + 1));     }      return classFields; }   Using a factory I could reduce the performance overhead by storing the fields once, the first time the toString() is called. However finding the values could be a lot more expensive.  Due to the performance of reflection this may be more hypothetical then practical. But I am interested in the idea of reflection and how I can use it to improve my everyday programming. factorization of a^n+1? I'm trying to prove that $a^n+1$ can only be prime if $n$ is a power of $2$. Is there a general factorization of $a^n+1$? Ignoring programming style and design, is it "safe" to call delete on a variable allocated on the stack?  For example:     int nAmount;    delete &amp;nAmount;   or  class sample { public:     sample();     ~sample() { delete &amp;nAmount;}     int nAmount; } Im having trouble with the second part of this question,  Let $H$ be a normal subgroup of $G$ with $|G:H| = n$,  i) Prove $g^n \in H$ $\forall g \in G$ (which i have done)  ii) Give an example to show that this all false when $H$ is not normal in $G$.(which I am having trouble with showing)  Any suggestions? Problem requiring/including plugin files with plugin_dir_path( __FILE__ ) I am trying to write a WordPress plug-in. In my project I have three PHP files.   My plug-in file Widget for the plug-in Data installation   I need to install data table on plug-in activation. For that sake I wrote code to create table for my plug-in in data installation file. But I am not able to create data table using this file.  My code for include data installation file and widget file in my plug-in file is  define ( 'OTHER_FILES_PATH', plugin_dir_path( __FILE__ ) ); require_once( OTHER_FILES_PATH . '/data_installation.php' ); require_once( OTHER_FILES_PATH . '/plugin_widget.php' );   My problem is when I put my data installation code in my plug-in file it's working fine but when I put it in separate file (data installation) I am unable to create tables for my plug-in.  Please let me know if I am making any mistake. How to perform hard / cold reboot of iPhone or iPad? I understand that when I press and release the power button on the top of my iPhone or iPad, it stays on but turns off the screen.  Whereas if I press and hold the power button, a "slide to turn off" control appears on the screen.  Sliding this, as I was told, does turn the unit off, but it does so by suspending the RAM to disk (flash memory, actually.) So, when turning on the iPhone or iPad, it isn't so much rebooting the OS as it is resuming it from flash storage.  How to force the OS to completely reboot on these devices? Can there be true conclusions without assumptions? I was thinking of the sentence  "I think therefore I am",  which I had for a long time considered indisputable because it's self-evident.   Then I considered the hypothetical situation where my thoughts are illogical – and of course I can't be aware that they are – and so to a logical outsider I am not saying something that is actually indisputable and self-evident, but in fact may be total nonsense. Perhaps there is a hypothetical evil demon altering my ability to reason. However convincing it seems to me that I MUST exist since, in whatever since "I" or "exist" is, there is the ability to question whether I do, the conclusion can't actually be trusted without doubt since I cannot know if I am in fact reasoning logically.  Even what I consider to be trivial tautologies require this assumption of sanity, and therefore there is no true conclusion without assumption – an assumption about the nature of my own reasoning. The only absolute truth I have is unspeakable subjective experience, and any articulation (and I realize the apparent circular reasoning I've cornered myself into here...) is necessarily uncertain.  I realize that perhaps this doesn't even make sense, but was just curious if anyone had entertained this line of thought and come to some satisfying resolution. How to assign a SSL Certificate to IIS7 Site from Command Prompt Can you advise me whether it is possible or not to assign a SSL Certificate to a website in IIS7 using the APPCMD application?  I am familiar with the command to set the HTTPS Binding  appcmd set site /site.name:"A Site" /+bindings.[protocol='https',bindingInformation='*:443:www.mysite.com']   and how to obtain current mappings   %windir%\system32\inetsrv\Appcmd   but can not seem to find any way to map a site to a certificate (say the certificates hash for example) How to avoid becoming stressed while playing endurance games? Although I am asking for Super Hexagon, I've noticed there is a multitude of games (rhythm games in particular) where the more stressed I am, the worse I play and/or are more likely to make a mistake. Often then the games are designed in such a way to induce stress, such as various ways of telling me how far I am, which also is telling me just how much it would suck if I were to fail right now.  This leads to a stress cycle, where I am noticing I am stressed, and I am aware of this being a bad thing, which makes me more stressed, over and around until I eventually fail.  This often means that I probably could've done &lt;some new level I just unlocked&gt; just fine, except I saw that it was new, got stressed about it and started the stress cycle.  So how can I:   Avoid getting stressed while playing Defuse the stress cycle once it has inevitably started   One thought I had for this is simply taking deep breaths, but particularly in Super Hexagon, there is no way to pause and taking deep breaths is distracting enough to make me fail. Blender 2.80 system Req + GPU req Can someone please let me know the minimum system requirements and GPU requirement to run blender 2.80 and eevee smoothly?   Also please let me know the optimum system requirements for the purpose of    environment modeling Game development charachter modelling and animation   Also if someone can suggest me a good desktop/laptop for personal use that is compatible with blender 2.80 in a low budget.  Any help will be much appreciated.  Thanks in advance! Is $\sqrt{x^2}=|x|$ or $=x$? Isn't $(x^2)^\frac12=x?$ $|x|=\sqrt{x^2}$ as  shows. But, as $(x^2)^\frac12=x$, I can't understand where am I wrong interpreting Square-root.