Create lists like toc, lof or lot
Own table of contents?
Why does prime factorization for LCM work? A method to finding the LCM of two numbers is to use prime factoring. I know how to do this, but logically why does this work in finding the lcm How to remove the URL from the printing page? I want to remove the URL that gets printed on the bottom of the page.   like:  yomari.com/.../main.php?sen_n   How can it be omitted or prevent from getting printed?  To be more specific, is there any way I can prevent the page URL, date and the page title being printed along, while printing the web page? Can a purely biological account of man show a superiority over other animals other than that of belonging to a later stage of evolution or of greater possibilities of action, a superiority “in his very being”? In Java when one interface extends another, why would one redeclare a method in a subinterface? I've been looking at the JMS API from J2EE and found a strange behavior where certain methods that are declared in an interface (e.g., createQueue in Session) are declared again in the subinterfaces such as QueueSession, and with identical documentation.  Since an subinterface "inherits" all the method declarations of the interface it inherits, and since the JavaDoc tool has no problem sorting out the JavaDocs of the subinterface and creating an "inherited operations" list, I can't figure out what this achieves.  The only think of is that initially the call was in Session, and then moved to QueueSession when the specific subclass was created, though then I would have expected to see something in the documentation of the upperclass. But this is just conjecture.  So the question is: Is there a convincing reason to redeclare a method in a subinterface? I would like to know if it is possible to enable free shipping with Woo Commerce only if certain items (or items of certain categories / shipping classes) are included in the cart.  The Free Shipping option only activates on the basis of cart value or via a coupon code so I investigated Flat Rate shipping and discovered that it prioritises the most expensive shipping class over the cheaper ones. This means the free shipping class I created never overrides the default charge.  I understand the logic behind this but it's the opposite of what I need as the idea is to incentivise purchases of higher profit margin products by eliminating delivery charges when they're included in an order.  I don't know if what I am trying to achieve is simply not possible within Woo Commerce. A coupon that only applies to certain products / categories seems to be the closest I can get but I'd rather not force users to enter a code at checkout.  Does anybody know if there any simpler ways to give users who purchase certain products free shipping? I have a Win/Ubuntu 11.10 dual-boot setup, where I am running the OSes on separate partitions of my laptop HDD. I assume the best method of uninstalling is 'simply' a matter of deleting the Ubuntu partitions -once I've made sure control is given to the Windows bootloader instead of grub after POST.  The question is: How do I do that?  Stuff I've tried:  I tried the boot-repair CD (), but that was a bit beyond my abilities to figure out if I could do it with that tool :/.  I also tried EasyBCD (). It couldn't identify my ext3 partitions, let alone change the bootloader.  Lastly, I tried installing startup-manager in Ubuntu, and using that to set the Win7 bootloader as default. But upon restart, it still loads grub. Possible Duplicate:    I am using 10.04 LTS - Lucid Lynx. I shutdown the computer while a software update was running. Then after I restarted my computer and while the update manager was running, I got this error:  Could not download all repository indexes The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct. GPG error: http://toolbelt.herokuapp.com ./ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C927EBE00F1B0520 Failed to fetch  http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu/dists/**DISTRIBUTION**/main/binary-i386/Packages.gz 404  Not Found   I went through the answers to  and I tried this $ sudo launchpad-getkeys  Please wait... launchpad-getkeys is running an update so it can detect the missing GPG keys Trying to import all the missing keys gpg: requesting key 0F1B0520 from hkp server keyserver.ubuntu.com gpgkeys: key C927EBE00F1B0520 not found on keyserver gpg: no valid OpenPGP data found. gpg: Total number processed: 0 launchpad-getkeys has finished importing all missing GPG keys.  Try running sudo apt-get update - you shouldn't see any key  errors anymore  But when I run sudo apt-get update again, it again shows that the key was not found on the keyserver. How to solve this problem? That is,     why is $\varphi(AB)=\varphi(A)\varphi(B)$, if $A$ and $B$ are two coprime positive integers?   It's not just a technical trouble—I can't see why this should be, intuitively: I bellyfeel that its multiplicativity should be an approximation at most. And why the minimum value for $\varphi (n)$ should be $ \frac{4n}{15} $ completely passes me by. What Hogwarts classes are taught to two houses at once? Usually, in Star Trek, when there's a timeline change, the indication is that the original timeline is gone and replaced with the new one.  In City on the Edge of Forever, Kirk makes a comment that if they don't get the timeline straight, that millions of people who never died before will die.  Much of the time travel in Trek created suspense by declaring a need to restore the original timeline.  It's already been discussed in other questions about how, in the new movie (simply titled Star Trek with no subtitle or series number) they were unable to restore the original timeline.  While some of this is open to interpretation, it seemed like in this instance, for the first time, in Trek, there was an alternate timeline that was seen as an alternate possibility - no reference was made to it replacing the original timeline.  In this movie, was there any reference to the original timeline still existing?  In this movie, was the original timeline still considered to be intact? My rear rim brakes are squeaking loudly. I don't know what the problem is, but I am sure it has nothing to do with rain because it happens all the time even if it is dry.  Anybody have an idea what could be problem and how to solve it? It makes the rear brakes kind of useless, because if I use them I will scare the people or drivers around me. Show Console in Windows Application? Intel® Core™2 Duo Processor E4300 - Is it a 64 Bit Processor? I have a PC with an Intel® Core™2 Duo Processor E4300 - I ran CPU-ID on it, and here are the results:    Is this capable of running Windows 64-bit? SQL Server: Cannot insert an explicit value into a timestamp column how to avoid number repeation by using random class in c#? Thread Confinement Unable to install "": snap "" has "install-snap" change in progress I just finished the installation of the Ubuntu 18.04, but whenever I try to install any application from Ubuntu Software the same error occurs (for example "vlc"):     unable to install "vlc": snap "vlc" has "install-snap" change in progress   I hope somebody can tell me what I've done wrong. How to automatically install entire Google Web Fonts collection? Can anybody explain the UNABLE_TO_LOCK_ROW error? Error Message:     Developer script exception from Nicomatic : quotepotential :   quotepotential: execution of AfterUpdate caused by:   System.DmlException: Update failed. First exception on row 0 with id   a0Q90000005PoxtEAC; first error: UNABLE_TO_LOCK_ROW, unable to obtain   exclusive access to this record: [] Trigger.quotepotential: line 14,   column 1      Apex script unhandled trigger exception by user/organization:   00590000001A6jh/00D90000000bovq      quotepotential: execution of AfterUpdate      caused by: System.DmlException: Update failed. First exception on row   0 with id a0Q90000005PoxtEAC; first error: UNABLE_TO_LOCK_ROW, unable   to obtain exclusive access to this record: []      Trigger.quotepotential: line 14, column 1   these mails are getting to my mail..........  trigger quotepotential on Quote_Line_Item__c (after insert,after update) {     Set&lt;Id&gt; quoteIds = new Set&lt;Id&gt;();     List&lt;Quote__c&gt; quotes = new List&lt;Quote__c&gt;();     for (Quote_Line_Item__c record: Trigger.new) {         if (record.Quote1__c != null){             quoteIds.add(record.Quote1__c);         }     }     for(AggregateResult ar:[                 SELECT                      Quote1__c,                      SUM(Max_Batch__c)sumMax                  FROM Quote_Line_Item__c                  WHERE Quote1__c=:quoteIds                  GROUP BY Quote1__c                 ]) {          quotes.add(new Quote__c(              Id=(Id) ar.get('Quote1__c'),              Potential__c = (Decimal) ar.get('sumMax')              ));     }     if (quotes.isempty() == false) {         update quotes;     } } To give you some background, I have a grasp on the basics of statistics and probability theory and even remember touching Bayes theorem at the university data mining course. But being a few years away from the university made my math got extremely rusty (so much for last-minute pre-exam cramming). While I remember various random basic concepts, there are a lot of gaps in my understanding of them.  What would be a good material (a book, a site, or otherwise equally accessible medium) to revise the fundamentals and go beyond basics? I'd like a book that can be actually read as a book (most statistics books are really dry and are close to being reference material, rather than a book).