A while ago I wrote a Google Toolbar button for redirecting the current page to the same page accessed through an EZproxy server. As I was missing this functionality in browsers without Google Toolbar (it’s still not available in Google Chrome), I realized that it’s a very simple thing to do with a bookmarklet. Here is the code:
javascript:window.location=location.protocol+'//'+location.hostname+'.ezproxy1.library.arizona.edu'+location.pathname+location.search+location.hash;
Create a symmetric matrix in Mathematica
Here is a quick way to create a symmetric matrix in Mathematica. The code below creates a generic 6×6 matrix (line 1), then mirrors the above-diagonal elements to their below-diagonal counterparts (substitution in lines 3-5).
am = Array[Subscript[a,##] &, {6,6}]; am = am /. Flatten[Table[ Subscript[a,i,j] -> Subscript[a,j,i], {i,2,6}, {j,1,i-1}]]