How to make a div vertically scrollable
Making a div vertically scrollable using CSS
How can I use commercial at sign in Objective-C macro? Using (or not) the word "to" in a sentence ending with "be able" Which of these is grammatically correct?   As educators, we are always looking for ways to reach all the learners in our classroom as effectively as we are able.   As educators, we are always looking for ways to reach all the learners in our classroom as effectively as we are able to. How to burn or mount an ISO file? How do I get started creating an Ubuntu Desktop App? Displaying two XML listings side by side. I have two XML outputs from a program that I would like to include in a LaTeX document. I would like them to appear side-by-side each in its own box. So that a reader can compare the two outputs while reading the document. Can't seem to find a way to do this, without making images for each output and adding both as images/graphics. Could there be a better option? How can I change the default program installation directory in Windows 7? Windows 7 is installed on my C drive, which is quite small.  I am very tired of instructing new programs to put their files on my larger D drive during installation; I would like to change the default drive.   says that you can use a registry hack, but I am giving Microsoft the benefit of the doubt and naively assuming that a configuration option exists somewhere.  It's 2010... do I really have to hack my registry to make a simple tweak like this?  Also, there's a  that explains how to move the "Users" directory and create a symlink, which could also work.  However, at the moment I have some apps in C:\Program Files, some apps in C:\Program Files (x86), and some apps in the corresponding folders on D:\, so it would be a hassle.  Also, my small OS boot drive is a 10k RPM WD Raptor, and I feel like that probably gives a speed boost to apps installed on it that need to read &amp; write to their directories a bunch.  I wonder if it actually matters. Multiplicative inverse in $\operatorname{GF}(2^8)$? I know how to do multiplication over ${\rm GF}(2^8)$:  uint8_t  gmul(uint8_t  a, uint8_t  b) {     uint8_t p=0;     uint8_t carry;     int i;     for(i=0;i&lt;8;i++)     {         if(b &amp; 1)             p ^=a;         carry = a &amp; 0x80;         a = a&lt;&lt;1;         if(carry)             a^=0x1b;         b = b&gt;&gt;1;     }     return p; }   So, I tried to create a ${\rm GF}(2^8)$ multiplication table using this code. I've given below the values in the 3rd row of the table, but I don't think they're correct:      0  1  2  3  4  5  6  7   8  9  A  B  C  D  E  F 0 1 2   0  2  4  6  8  A  C  E  10 12 14 16 18 1A 1C 1E  3 . . E F   I don't know what went wrong. I built the table by multiplying the values in the first row with those in the first column.  E.g. in the third row, I multiplied 2 &times; 0, 2 &times; 1, &hellip;, 2 &times; E, 2 &times; F.  How can I create a multiplication table for arithmetic in ${\rm GF}(2^8)$?    Also, how can I find the multiplicative inverse of a number in ${\rm GF}(2^8)$?  For example, how can I determine that the inverse of 95 is 8A?  I tried to do this using the multiplication table above, but when I took 9th row and the 5th column in the multiplication table I got 2D, not 8A. Changing isometric drawing's constraint angles in Illustrator probability that there is at least one defective part I study economics and I am trying to solve this problem - without success, unfortunately.     A machine has a defect rate of 6%.       a) Chosen at random 4 pieces (with replacement) from the production flow, compute the probability that none is defective.   b) In the event that extractions are performed 60, compute the probability that there is at least one defective part.   I have no idea how to answer the first question. What logical processes can I use?  Regarding the second question, I thought of using the binomial random variable with $n = 60$ and $p = 0.06$. Then:  $$\begin{multline} P (X \geq 1) = 1 - P (X &lt; 1) = 1 - P (X = 0) = \\ = 1 - \binom{60}{0}  \cdot (0.06)^ 0 \cdot (0.94)^{60} = 1 - 0.02446 = 0.97558.\end{multline}$$  Can somebody please explain me how to solve this problem? Thank you very much. How to insert a very large number of records into a MySql database as fast as possible Why do we need sigma-algebras to define probability spaces? How do I get money back for my foreign coins? Tonight I just cleaned my room and while doing this I found some money. I counted it and I found out that there are a lot of coins from 25 different countries.  I know that normally banks don't exchange foreign currencies in coins, but is there a way so that I can still get some money for my foreign coins? Keep the message ID in the text field so I can reply to a message with an upload Ubuntu: Resize the root LVM(2?) partition This is homework. I've tried my best to find the best answer that I could understand and could be accepted by my lecturer.   I've searched my lecture notes, wiki and google to find some good explanation defining solar irradiance. But somehow I still don't understand how I should 'define solar irradiance'. Can someone give me a few good sentences explaining solar irradiance. What are the changes, if any, in a photovoltaic cell (in terms of short-circuit current and open-circuit voltage) if the irradiance is reduced by 50%? Difference between $\mathbb C$ and $\mathbb R^2$ What are the basic differences between $\mathbb C$ and $\mathbb R^2$?  The points in these two sets are written as ordered pairs, I mean the structure looks similar to me. So what is the reason to denote these two sets differently? Taxonomy terms view sorting results numerically I have a taxonomy that's comprised entirely of numeric term names, 1 through 1200 (with a few numbers missing in between). I created a new "Taxonomy terms" view to show all terms in this vocabulary. When I look at the view results, I'd like to see the terms sorted numerically, however the view is displaying the terms alphabetically. I understand the reason for this is because term names are strings, but I'm hoping someone has an answer of how to make the query treat the term names as integers.  Here's an example of the view results as they are displayed now:   1 10 100 1000 1001 1005 101 1014 1015 1016 1019 102 1020 1024 103 1034 104   Normally in MySQL, you could write SELECT name FROM {taxonomy_term_data} ORDER BY CAST(name AS UNSIGNED). Is there a way to get this same type of CAST() happening in views? I was given the files for a mini linux, that boots directly into firefox. It works for all it should be doing, only that I do not get an internet connection.  We have 3 DNS servers in the network, which all work. I can ping them, too. But when trying to ping google.de or wget google.de I get a bad address error.  nslookup google.de works for some reason.  I tracked the issue down to my resolv.conf on the booted system not having the same contents as the resolv.conf that I put into the .iso file.  I tried understanding all the factors that go into creating and modifying resolv.conf. I'm not quite sure I got it all, but I definitely didn't find my solution there.  So as a last ditch effort, I tried making the resolv.conf file immutable using   :~# chattr +i /etc/resolv.conf   When rebuilding and booting again to my surprise my file was renamed to resolv.conf~ and in its place was the same standard file that has been haunting me.   The file contents make me believe it gets the information from the network itself. When starting the .iso in Virtualbox without internet access, my file is being kept as it is.  I tried changing /etc/dhcp/dhclient.conf to not get the information from the net, by deleting domain-name-server and domain-name-search from the request part of the file.  Didn't work unfortunately.  I don't have the NetworkManager installed. The iso is based on Ubuntu 14.04.  There is probably vital information missing. I'm happy to provide it.  UPDATE:  I think I found the file that clears resolv.conf.  It seems to be /usr/share/udhcpc/default.script  #!/bin/sh  # udhcpc script edited by Tim Riker &lt;Tim@Rikers.org&gt;  [ -z "$1" ] &amp;&amp; echo "Error: should be called from udhcpc" &amp;&amp; exit 1  RESOLV_CONF="/etc/resolv.conf" [ - n "$broadcast" ] &amp;&amp; BROADCAST="broadcast $broadcast" [ -n "$subnet" ] &amp;&amp; NETMASK="netmask $subnet"  case "$1" in     deconfig)         /bin/ifconfig $interface 0.0.0.0         for i in /etc/ipdown.d/*; do             [ -e $i ] &amp;&amp; . $i $interface         done         ;;      renew|bound)         /bin/ifconfig $interface $ip $BROADCAST $NETMASK          if [ -n "$router" ] ; then             echo "deleting routers"             while route del default gw 0.0.0.0 dev $interface ; do                 :             done              metric=0             for i in $router ; do                 route add default gw $i dev $interface metric $((metric++))             done         fi          echo -n &gt; $RESOLV_CONF # Start ----------------           [ -n "$domain" ] &amp;&amp; echo search $domain &gt;&gt; $RESOLV_CONF         for i in $dns ; do             echo adding dns $i             echo nameserver $i &gt;&gt; $RESOLV_CONF         done         for i in /etc/ipup.d/*; do             [ -e $i ] &amp;&amp; . $i $interface $ip $dns          done # End ------------------         ;; esac  exit 0   It's part of the udhcpc program. A tiny dhcp client, that is part of busybox  Will investigate further.    UPDATE2 AND SOLUTION:  I commented the part out (#Start to #End), that seemingly overwrites the /etc/resolv.conf file and sure enough. That was the culprit. So an obscure script caused all this trouble.  I changed the question to reflect, what actually needed to be known to solve my problem, so it would be easier to find for people with the same problem and so I could accept an answer.  Thanks for the help here in figuring things out. I am failing to add a heading for the appendix to the ToC with the correct page number:  \documentclass{scrbook} \begin{document} \tableofcontents \chapter{test} \appendix \addcontentsline{toc}{part}{\appendixname} \chapter{First Appendix} \end{document}     I also tried to use the \addappheadtotoc command from the  package, but that changes nothing (expect that it writes 'Appendices' instead).  I assume that the appendix package provides the solution, but I could not figure out how to use it. Is there a way to separate variables between multiple notebooks?