Mirroring a website where you need to log in first
I needed to make an complete offline copy of a website the other day but was having difficulties as you needed to login to the site to get the content. Luckily, an firefox add-on plus the wonderful wget came to the rescue.
This is a great illustration of collective phenomena. If you look closely, each dot is just moving around in a regular circle; but because the different circles are out of phase with each other, when you back away you see waves steadily moving across the screen. It's a simple demonstration of how large-scale, collective phenomena can emerge from very simple small-scale behavior. Things like this happen all over the place: water waves and sound waves, for example, work in basically the same way, with the small back-and-forth motions of individual molecules leading to compression patterns moving through the air.
I keep forgetting how to do this, so I thought I would write it down.
* Install new version of R * Copy old library to new directory e.g. cp -R ~/Library/R/2.15 ~/Library/R/3.0 * Run R * update.packages(checkBuilt=TRUE, ask=FALSE) * source("http://bioconductor.org/biocLite.R") * biocLite(ask=FALSE)