Archive for July, 2007

Browse Url

Posted in Computing 3 years, 1 month ago

Superhacker Federico Mena-Quintero talks about using Emacs for GTD. I do something similar but in a less organized fashion. He mentions that it would be nice if it were better integrated with the desktop. For URLs, I’ve been using the browse-url package for many years. Dropping the following line into your .emacs enables the feature.

(global-set-key (kbd "C-c b") 'browse-url)

Pressing C-c b parses the text around the cursor for a plausible URL and uses that as the default. Pressing enter will open the default browser with the chosen URL.

browse-url

Pretty cool, huh?

Manipulating Integrals

Posted in Computing 3 years, 1 month ago

I’ve written previously about Mathematica. I’m going to describe a really cool feature that none of the other symbolic manipulation programs have.

Integrating

\int {\frac{1}{x^n}dx}

depends on the value of n. If n equals 1, then the integral value is Log(x). Otherwise it’s just x^(-n+1)/(-n+1). Mathematica allows one to manipulate the value of n in realtime. Here are three screenshots with n={0,1,2}.

Mathematica Integrals

I wish I had this when I was studying Calculus for the first time!

Wordpress Pagination

Posted in Web 3 years, 1 month ago

I was unhappy with the default wordpress pagination style, until I found a plugin that did exactly what I wanted. You can now do non-consecutive jumps between pages. The plugin is called wp-pagenavi.

pagination

You can find tons of styling with CSS here.