List of Figures and List of Tables: How to divide into chapters with chapter headline?
Include chapters in List of Figures with titletoc?
Code coverage for wrapper class is 0% I have written below Wrapper class.  global class BI_VA_AutomationWrapper {      global class BI_VA_AutomationRequest {      webservice String userName;     webservice String emailId;     webservice String buinessUnit;     webservice String orgName;     webservice String country;     webservice String environment;     webservice String myShopNumber;     webservice String BidsId;//for testing     webservice String Type; //for testing  }  global class BI_VA_AutomationResponse {      webservice String responseStatus;     webservice String myShopNumber;     //webservice list&lt;Error&gt; errorMessages;     webservice String  errorMessages;//for testing   } global class BI_VA_Error {      webservice String type;     webservice String message;    }}   And test class is,  @isTest public class BI_VA_AutomationWrapperTestClass  { public static testMethod void unitTest(){      BI_VA_AutomationWrapper.BI_VA_AutomationRequest wrap= new BI_VA_AutomationWrapper.BI_VA_AutomationRequest();        wrap.userName='Test@test.com';     wrap.emailId='Test@test11.com';     wrap.buinessUnit='AH';     wrap.orgName='ORD';     wrap.country='US';     wrap.environment='QA';     wrap.myShopNumber='123456789';     wrap.BidsId='123';     wrap.Type='ResetPassword';              BI_VA_AutomationWrapper.BI_VA_AutomationResponse res= new BI_VA_AutomationWrapper.BI_VA_AutomationResponse();     res.responseStatus = 'Success';     res.myShopNumber = '987654321';     res.errorMessages = 'Test error';      BI_VA_AutomationWrapper.BI_VA_Error error = new BI_VA_AutomationWrapper.BI_VA_Error();     error.type = 'Test';     error.message = 'Test';  }}   Code coverage is 0% only. How to prove that $d \sin(x)/dx = \cos(x)$ without circular logic such as L'Hôpital's rule? Securing SSH server against bruteforcing I have a little SVN server, old dell optiplex running debian. I don't have that high demands on my server, because its just a little SVN server... but do want it to be secure.  I just renewed my server to a newer and better optiplex, and started looking a bit into the old server. I took it down after experiencing problems. When I check the logs, its full of brute-force attempts and somehow someone has succeeded to enter my machine. This person created some extra volume called "knarkgosse" with two dirs "root" and "swap1" or something.  Don't really know why and what they do, but sure do want to prevent this from happening again. I find this a bit strange though because I change my password ever few months or so, and the passwords are always random letters and numbers put together... not easy to brute-force.  I know I can prevent root from logging in, and use sudoers... and change the SSH port, but what more can I do?  So I have a few questions:   How can I prevent logging in for 5 minutes after X amount of incorrect tries. Or slow tries down after each incorrect try? Is there some kind of central blacklist which a server can connect to? A blacklist that keeps track of IP addresses that are "unsafe" and should never be granted access? What more can I do to apply safety to my server?   Like I said earlier, I am running Debian 5 with Apache (www-data user problem?), svn, mysql, php, phpmyadmin, hudson. It is on a home network with port forwarding on 80, 443, 8080, 8180, 23 and 22. The  asks about functions $f \colon \mathbb R \to \mathbb R$ such that $$f(x+y)=f(x)+f(y).$$ It is a very well-known functional equation, which appears in various areas of mathematics ranging from exercises in freshman classes to constructing useful counterexamples for some advanced questions. Solutions of this equation are often called . Also a few other equations related to this equation are often studied. (Equations which can be easily transformed to Cauchy functional equation or can be solved by using similar methods.) Is there some overview of basic facts about Cauchy equation and related functional equations - preferably available online? I entered the USA on a three month visa waiver program from Australia. I am about to return to  Australia and would like to come back again to the USA. How long do I have to wait until I can re-enter the USA for another 3 months? How to check if current thread is not main thread Prove Equivalence Relation in G Hei, guys!  I'm having some trouble with the next problem:  Let $A$ and $B$ be subgroups of $G$. Show that $\sim$ is an equivalence relation when it is defined as follows: $g\sim g'\Leftrightarrow g' = agb$ for some $a$ from $A$, $b$ from $B$.  Should I prove this is valid for any a and b? It says for some elements a and b. But I might as well take the unit element.   Could you give me a clue on how to solve it?  Cheers! If I close (is delete an option ?) my Gmail account, will somebody be able to register using my email address and read my mails?  I want to close my Gmail account but I don't want anybody to impersonate me with my old address.  Same question with Yahoo! Mail. Do they allow addresses to be re-used? For $a,b,c,d \in \mathbb{R}$, is $\sqrt{a^2+b^2} + \sqrt{c^2+d^2} \geq \sqrt{(a+c)^2 + (b+d)^2}$? I have tried to show this using the fact that $\sqrt{x+y}\leq\sqrt{x}+\sqrt{y}\; $  for non-negative $x,y$ but haven't been able to arrive at a proof. Another combinatorics problem: $\sum\limits_{k = 0}^n (-1)^k \binom{2n-k}k2^{2n-2k}=2n+1$ I am dealing with problem 10F in the textbook A Course in Combinatorics by J. H. van Lint and R. M. Wilson.   Problem 10F: Prove directly the equality  $\sum\limits_{k = 0}^n {{{\left( { - 1} \right)}^k}\left( {\begin{array}{*{20}{c}} {2n - k}\\k\end{array}} \right){2^{2n - 2k}} = } 2n + 1$.  Sketch of the proof: Evaluate  $\sum\limits_{n = 0}^\infty  {\sum\limits_{k = 0}^n {{{\left( { - 1} \right)}^k}\left( {\begin{array}{*{20}{c}}{2n - k}\\k\end{array}} \right){2^{2n - 2k}}{x^{2n}}} } $. To do this, use Hint 1. Then, use Hint 2.  Hint 1: $\sum\limits_{j = 0}^\infty  {\left( {\begin{array}{*{20}{c}}{a + j}\\j \end{array}} \right){x^j} = {{\left( {1 - x} \right)}^{ - a - 1}}} ,\,\,a \in {\mathbb{Z}^ + }$.  Hint 2:  ${\sum\limits_{i = 0}^\infty  {\left( {2i + 1} \right){x^{2i}} = \left( {\frac{x}{{1 - {x^2}}}} \right)} ^\prime }$.   Attempt: It is enough to show that  $\sum\limits_{n = 0}^\infty  {\sum\limits_{k = 0}^n {{{\left( { - 1} \right)}^k}\left( {\begin{array}{*{20}{c}} {2n - k}\\ k \end{array}} \right){2^{2n - 2k}}{x^{2n}}} }  = {\left( {\frac{x}{{1 - {x^2}}}} \right)^\prime }$. But I can not use Hint 1. Subscribe to tags I am interested in? How do I subscribe to the tags that I am interested in?  I like to get notified via email or so, when someone asks new questions or if someone responds to my questions. Insert list of figures in the table of contents Is it possible to create a list of all the figures at the end of a document (this I can do) and make it appear in the table of contents?  So in the the table of content there will be a line saying List of figures ... 19 for example? Documents required by Indian citizens wishing to travel to Nepal I'm a citizen of India and I'm travelling to Nepal by air. Is an Aadhaar Card a valid document used for travelling to Nepal by air? I want to trace a border in a box or minipage like this model. A border customizable in left angle on top and right angle in bottom. Somebody can help me? Thanks a lot JPierre Why are objects at rest in motion through spacetime at the speed of light? I read that an object at rest has such a stupendous amount of energy, $E=mc^2$ because it's effectively in motion through space-time at the speed of light and it's traveling through the time dimension of space-time at 1 second per second as time goes forward.  What troubles me here, is the fact that it is traveling through space-time at the speed of light. Why is it at the speed of light? How to get second last page as a number without hyperref? Cannot connect MacBook Pro (Retina, 15-inch, Mid 2015) (10.13.3) to the internet through my Apple USB Ethernet Adapter. I am receiving this error under System Preferences/Network:   "Apple USB Ethernet Adapter has a self-assigned IP address and will not be able to connect to the Internet." IP Address: 169.254.59.248 Subnet Mask: 255.255.0.0   I can connect to the internet with the same ethernet port on my Windows 10 machine. When I replace the IP address with a the Wi-Fi IP address I use to successfully connect to the same network under "Using DHCP with manual address", the Apple USB Ethernet Adapter icon is green and displays the message "Apple USB Ethernet Adapter is currently active and has the IP address xx.xx.xx.252." However there is no actual internet connection (i.e., I cannot visit any website).  According to  to a similar problem, I can:   Find and disable whatever firewall is intercepting the DHCP return traffic. According to System Preferences/Security &amp; Privacy/Firewall, my firewall is off. Is there anywhere else I can check for additional firewalls? Would firewalls somehow impact ethernet and Wi-fi differently?  Inspect the network traffic or the router logs to see if and why the Mac DHCP broadcast packet is being ignored. How do I check network traffic on my Mac? I am comfortable using the terminal.   I have also tried steps listed as potential solutions in :   To reset the firewall, go to the /Macintosh HD/Library/Preferences/ folder and remove the file called "com.apple.alf.plist," and then restart your computer. On my computer I went to /Library/Preferences/ and ran sudo rm com.apple.alf.plist If that was already set, try the "Advanced" button, then "Renew DHCP Lease" Removing their "Ethernet" config from the Network settings and then re-adding   Does anyone have other suggestions? Thanks in advance How do you do AppBar docking (to screen edge, like WinAmp) in WPF? I'm using pdfLatex (with --shell-escape option) and I had a problem of compilation with TexWorks that was successfully solved with the help of other post in this site: .  After correcting that error the code compiles smoothly but just displays the logarithmic grids, not the function. The gnuplot files are created in the right place, but the graphic doesn't come out in the PDF.  Code from :  \documentclass{article}  \usepackage{tikz} \usepackage{bodegraph}  \begin{document}  \begin{tikzpicture}[     gnuplot def/.append style={prefix={}}, % Fixed the issue (prefix was 'gnuplot/\jobname/' before) ] \begin{scope} \UnitedB \semilog{-1}{2}{-50}{60}  \BodeAmp{-1:1.35}{\POAmpAsymp{4}{2.0}+\IntAmp{1}}  \end{scope} \end{tikzpicture} \end{document}   Any clues? Can you create images like this:    when you have something like  0 = green (#54ff00) 1 = white (#ffffff) 2 = red   (#ff0000) 3 = blue  (#0048ff)  Image (Python list of integers defined above): [[2,0,0,0,0,0,0],  [0,3,0,0,0,0,0],  [0,3,2,1,1,0,0],  [0,3,2,2,2,1,1],  [0,3,2,0,0,1,0],  [0,0,0,0,0,1,0],  [0,0,0,0,0,1,0]]   with TikZ?  How far I got  The following MWE defines all colors, produces a grid of the correct size (though the size is determined by hand):  \documentclass[varwidth=true, border=2pt]{standalone} \usepackage{tikz} \usepackage{xcolor}  \begin{document}     \newcommand\n{7}     \definecolor{green}{HTML}{54FF00}     \definecolor{wite}{HTML}{FFFFFF}     \definecolor{red}{HTML}{FF0000}     \definecolor{blue}{HTML}{0048FF}     \begin{tikzpicture}         \foreach \x in {1,...,\n}{             \foreach \y in {1,...,\n}{                 \begin{scope}[shift={(\x,\y)}]                   \draw [fill=green] (0,0) rectangle (1,1);                 \end{scope}             }         }     \end{tikzpicture} \end{document}   Of course, I could simpy make a lot of adjusted                   \begin{scope}[shift={(\x,\y)}]                   \draw [fill=green] (0,0) rectangle (1,1);                 \end{scope}   but I've wondered if this can (with reasonable effort) be done in TikZ / LaTeX.  My problem is giving TikZ the color array. I don't have any idea how to do this. I only know two types of looks in TikZ:  \foreach \x in {0,1,2,3,4,5}{...} \foreach \number in {1,...,\n}{...}   I have never seen a nested over a 2D-array. All I have seen so far were 1D-Arrays of tuples (with fixed tuple size).