I have two browsers on my device: Chrome and Firefox. I usually use Firefox, but I have to use Chrome for some sites to work around Firefox bugs. All the same, I get bored of having to choose the browser every time I click a link, when it would be simple to teach the computer which sites I want to use with Chrome.  Is there another way to handle links so that I can set up Chrome to open automatically for some websites and Firefox for others, instead of having to choose every time?
I have the following browsers on my phone:   stock Dolphin Mini Opera Mobile Firefox   I don't want to set a catch-all default because some pages render better on some browsers than on others.  When I click on a link on a non-browser app (e.g. google search or google reader) it asks me which browser to choose (as expected).  Can I set a default browser for some pages and a different default for others?
Motivating question:    I'm aware that one can construct a hierarchy of number systems via the Cayley–Dickson process:  $$\mathbb{R} \subset \mathbb{C} \subset \mathbb{H} \subset \mathbb{O} \subset \mathbb{S} \subset \ldots $$  "Reals" $\subset$ "Complex" $\subset$ "Quaternions" $\subset$ "Octonions" $\subset$ "Sedenions" $\subset$ $\ldots$  and that at each step you're given a multiplication table that tell how the elements interact. As you move up the ladder, certain "nice" properties are lost: ordering,  commutativity, associativity, multiplicative normedness, etc... Given the multiplication table, you can show that these properties don't hold.   Eric Naslund noted that "the first 4 are very special as they are the unique 4 normed division algebras over ℝ", no surprise then that these $2^n$-ions have found quite a bit of use. I'm interested in the sequence itself however, irrespective of how useful a $2^{256}$-ion might be (ducenti-quinquaginta-sex-ion?).   I feel like something deeper is going on here though that I don't understand. Why are these particular properties lost at each step? Is it possible to quantify the process such that, at the $2^n$-ion you can say something about the symmetry of the multiplication table*?  * I'm making an ansatz that there is a connection between the symmetry of the multiplication table and these "nice" properties. Trouble with batch conversion of .png to .pdf using convert Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter [168c:003e] (rev 32) can't enable wi-fi Lets say that I have a directory with the following files (among others):  touch doc-mike.txt doc-jane.txt doc-susan.txt   I can do something in a script with those files using a construct like:  for fname in doc-*.txt; do     echo input: ${fname} done   But if I want to get the substring of the filename that matches the wildcard I have to jump through some ugly hoops:  for fname in doc-*.txt; do     wildcard=${fname#doc-}     wildcard=${wildcard%.txt}      echo input: ${fname} output: output-${wildcard}.results done   That works:  input: doc-jane.txt output: output-jane.results input: doc-mike.txt output: output-mike.results input: doc-susan.txt output: output-susan.results   but I feel like there has to be a better/easier way to get the substring that matches the "*" glob wildcard Group Membership Test for Permutations How do I use subprocess.Popen to connect multiple processes by pipes? How do I execute the following shell command using the Python  module?  echo "input data" | awk -f script.awk | sort &gt; outfile.txt   The input data will come from a string, so I don't actually need echo.  I've got this far, can anyone explain how I get it to pipe through sort too?  p_awk = subprocess.Popen(["awk","-f","script.awk"],                           stdin=subprocess.PIPE,                           stdout=file("outfile.txt", "w")) p_awk.communicate( "input data" )   UPDATE:  Note that while the accepted answer below doesn't actually answer the question as asked, I believe S.Lott is right and it's better to avoid having to solve that problem in the first place! Does the sequence $\{\sin^n(n)\}$ converge? Does the sequence $\{\sin^n(n)\}$ converge?   Does the series $\sum\limits_{n=1}^\infty \sin^n(n)$ converge? How can I find the version of Ubuntu that is installed? Customizing titlesec-etoc (further question) Inner product of two continuous maps is continuous Let f,g be continuous maps of S in $\mathbb{R}^n$, to $\mathbb{R}^m$. Show the inner product h(x) = $\langle f(x), g(x)\rangle$ is continuous.  My attempt: Since f,g are continuous, their product is a continuous mapping, so for $\epsilon \gt 0\: t.e\:  \delta \gt 0$ such that $\parallel x - a\parallel \lt \delta $ implies $\parallel \langle f(x),g(x)\rangle - \langle f(a)g(a)\rangle \parallel \le\parallel f(x)g(x) - f(a)g(a)\parallel \lt \epsilon$ by schwartz inequality. I'm trying to perfectly overlap two images, one complementary of the other, but apperas a white stripe in the conjunction of the path, all points are perfectly aligned how can I fix? Is there any other way to do a clean install withot formatting /home? I think my Ubuntu is a bit broken from messing around with it.  Unfortunately during installation, I did not make a separate partition for /home. Now I need to re-install but want to keep my music and films.  Any ideas... The indexer into Dictionary throws an exception if the key is missing.  Is there an implementation of IDictionary that instead will return default(T)? I know about the TryGetValue() method, but that's impossible to use with LINQ. Would this efficiently do what I need?: myDict.FirstOrDefault(a =&gt; a.Key == someKeyKalue);  I don't think it will as I think it will iterate the keys instead of using a Hash lookup. Why do residuals in linear regression always sum to zero when an intercept is included? I'm taking a course on regression models and one of the properties provided for linear regression is that the residuals always sum to zero when an intercept is included.   Can someone provide a good explanation for why this is the case? When you die, 3 things happen.    You swear  A message appears in the chat log describing how you died A "You died" screen appears, with the options to quit or respawn, and a "Score".   What contributes to this score? Lately, I've seen many search results in the form of https://stackoverflow.com/q/&lt;id&gt; and /a/&lt;id&gt; on Google. Why do I see these slug-less permalinks instead of the full URL?  For instance, a search for  gives  instead of :        For the record, it seems that Google has indexed  and . Can Metamagic be used in Item Creation? What are the limits? One of my players has recently obtained the Craft Wondrous Item feat. In an attempt to prepare for what he may build I want to know the specific limits of Wondrous Items.  I know that someone can create an item for which they do not meet the prerequisites by adding +5 to the spellcraft DC, and that assistance is a thing.  Can someone use meta-magic when crafting a non-specific wondrous item?  Example: Amulet of Empowered Fire-Ball.  If so, can they use meta-magic feats they do not know, substituting for +5 DC?  Can the Spell Level exceed 9 for these items, as long as they add +5 for not meeting the CL requirements, and make the higher check?  Example: Amulet of Maximized Empowered Still Silent Disintigrate. How create Redirect pattern from old to new URLs? D7: I'm going to update an articles path pattern (/articles/[node:uid] → /post/[new tokens]) but I need redirect users from old path to new one using tokens. And I don't know how to do that.  I tried using the , but it allows set only separate URL for each node; no group redirect patterns are allowed. Also the  doesn't allow to set patterns. How can I achieve this?    The problem partially solves by applying "Update url alias" option in admin/content. I do not find out how to show all selected type nodes at one page without pages, because it is terrible slow applying option page by page. Anyway, by this way, old aliases still exist, work, and don't redirect to new aliases. Everytime, I read about blackbody, I always get confused at the point where it is written     Under thermal equilibrium conditions , the blackbody radiation depends only on temperature. ..... . At equilibrium , electromagnetic waves bounce around with the walls of the cavity.   What is this equilibrium all about? Why is it important here?? If there is thermal equilibrium, why does the body radiate?? Please help. How can I remap Caps lock to both Escape and Control?