vim cheatsheet

There is a nice vim cheatsheet on the tjl2.com site. The cheatsheet is formatted for A4 paper and it does not print nice on Letter size. Since the source is also provided (OpenOffice Draw), I created a Letter size version: vim_cheatsheet_letter.pdf.

Whales Revenge

An ambitious campaign to gather 1 million signatures for a petition to stop whaling: Whales Revenge by WebDummy.com.au...

Just type in your name and city, select your country and click a button.

Magical Things

"The world is full of magical things patiently waiting for our wits to grow sharper."

-- Bertrand Russell

Immoral

Qabalist teacher Ann Davies told a story about a U.S. Army general negotiating with a cannibal chief in New Guinea during World War II. The general wanted the chief to rally his tribe to help American troops fight the Japanese. The chief refused, calling the Americans immoral. The general was shocked. "We are not immoral!" he protested. "The Japanese are immoral!". The cannibal chief replied, "The Japanese and Americans are equally immoral. You both kill far more people than you can eat."

-- Pronoia, Rob Brezsny

Crop Circle on Google Maps

A crop circle photo from Google Maps. While the image is copyright in 2005 it does not seem to be shot in 2005, not sure.

Google Sightseeing has a few more, see the Alien Crop Circles! article.

passclicks

A really neat idea to replace passwords with images: passclicks. The problem is that you cannot take the image with you to all the sites you login to. Also, if the images gets changed for whatever reason then you are locked out.

This reminds me of the fact that I (like most people I guess) tend to remember phone numbers by the pattern they describe on the 3 x 4 grid. Instead of using an image you could use a grid, or some other shape, of symbols. This could be standard and easily ported between sites. The actual shape of the symbols placement is quite important, it should allow the representation of many geometrical shapes.

Read the rest of this entry »

ReactOS

ReactOS is a clean room implementation of Windows. They seem to be going through a huge source code audit right now to prove that no code originates at Microsoft.

Multimedia Keys

Some multimedia keys on some keyboards are not seen at all in Ubuntu. If you go to System / Preferences / Keyboard Shortcuts and you try to set one of these key then nothing happens when you press them. Another test is to start xev and notice that no events are generated while hitting these keys. In most cases the problem is that the system is not mapping any key codes to the corresponding scan codes of these keys. To test this and also to find out the scan code just watch the kernel message log, in a terminal window type:
$ tail -f /var/log/messages
...and now hit those invisible keys.

A message in the log file will tell you to run setkeycode and it gives you the actual scan code. There are two things that you now have to figure out: an unused key code and hot to automatically run setkeycodes when the system starts.

Read the rest of this entry »

Web Authoring Statistics

Last month Google looked a over 1 billion pages and compiled statistics regarding the usage of HTML tags, attributes, classes and meta data. Quite an interesting read: Google Code: Web Authoring Statistics.

man2html

Today I just discovered another cool tool: man2html. Funny enough, I saw it mentioned in a Mac OS hints blog. man2html allows you to see the local man pages in your favorite browser.

In order to install man2html on an Ubuntu box do the following:

  • Install the man2html package through Synaptic or apt-get
  • Make sure you have apache2 installed and running
  • Now you can just go to the following URL: http://localhost/cgi-bin/man/man2html :-)

You can also use the command line using hman instead of man:

Read the rest of this entry »