journal
all all entries rss SoML excited dreams runes YRUU ultimate KTRU skate sleepy nihongo
Rob is 20,354 days old today.
prev day next day printable version

Entries this day: 000-to-999-in-emacs Afternoon guardian-unlimited-the-guardian-600-barrels-of-loot-found-on-crusoe-island roachfiendcom-c2bb-bugmenot skype-the-whole-world-can-talk-for-free

000 to 999 in emacs

##05:06 Thursday 29 September 2005

There have been times that I've needed lists of numbers in order. Mostly for programming things. Today I created such a list using emacs via a keyboard macro.

To use it, do M-x edit-kbd-macro and then choose a key combo. (I always use C-x e). Then replace whatever is in the buffer with this text:


;; Keyboard Macro Editor.  Press C-c C-c to finish; press C-x k RET to cancel.

Command: last-kbd-macro
Key: none

Macro:

C-SPC			;; set-mark-command
0			;; self-insert-command
RET			;; newline
1			;; self-insert-command
RET			;; newline
2			;; self-insert-command
RET			;; newline
3			;; self-insert-command
RET			;; newline
4			;; self-insert-command
RET			;; newline
5			;; self-insert-command
RET			;; newline
6			;; self-insert-command
RET			;; newline
7			;; self-insert-command
RET			;; newline
8			;; self-insert-command
RET			;; newline
9			;; self-insert-command
C-x r k			;; kill-rectangle
C-x C-x			;; exchange-point-and-mark
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
0			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
1			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
2			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
3			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
4			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
5			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
6			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
7			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
8			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
C-b			;; backward-char
C-x r t			;; string-rectangle
9			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
C-SPC			;; set-mark-command
ESC < ;; beginning-of-buffer
C-x r k			;; kill-rectangle
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
0			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
1			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
2			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
3			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
4			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
5			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
6			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
7			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
8			;; self-insert-command
RET			;; newline
C-e			;; end-of-line
RET			;; newline
C-x r y			;; yank-rectangle
2*C-b			;; backward-char
C-x r t			;; string-rectangle
9			;; self-insert-command
RET			;; newline

C-c C-c to compile the code and then switch to an empty buffer. C-x e and in a couple seconds: bang 000 001 002 003 ... 997 998 999

Magic.

permalink

Afternoon

4:31pm JST Thursday 29 September 2005

I am far closer to done than before. I have basically finished all the writing part, and am just adding pictures to my P.B. journal entries.

I'm enjoying my blog a bit more than when I first got it; I just added Spam Karma 2 to it. Yes wordpress and its plugins and themes are really nice.

I'm en route to meet Hitomi, who has been quite sane and normal. We saw Star Wars III together and then she was inspired to see IV, V and VI. We'll do that tonight.

I will probably crsh out there tonight and then rock straight in to PB office tomorrow around noon to meet Matt, and discuss the option of me going on 52nd voyage.

The good parts of the voyage: Matt is GET-Coordinator; it's a southern hemisphere voyage; I'd be on P.B. again.

The bad points: it would be less likely for me to sail with Katt again; I wouldn't have a lot of time in Palestine; (therefore,) I wouldn't have much money.

permalink

guardian unlimited the guardian 600 barrels of loot found on crusoe island

##14:04 Thursday 29 September 2005

Guardian | 600 barrels of loot found on Crusoe island

Obviously the money belongs to Arturito. Finders, keepers. Too bad he's not sentient, yet.

What would a sentient robot do with $10B?

It sounds like too much money for it to be good news, ya know? Papal rings??? Incan statues??

I seriously think it should be excavated by ARCHAEOLOGISTS, and super tight security around the whole thing.

permalink

roachfiendcom c2bb bugmenot

##04:23 Thursday 29 September 2005

roachfiend.com » BugMeNot

This awesome extension is like a dream come true for getting into free registration sites.

mailinator.com is quite nice, but this is even faster.

btw, mailinator has a cool new look and more functionality, such as a semi-realtime spam map, showing where the most spam is coming from right now....

permalink

skype the whole world can talk for free

##04:51 Thursday 29 September 2005

Skype - The whole world can talk for free.

Skype rules. skype to skype calls are always freeeee!!! Calls from Skype to phones are amazingly inexpensive!!!!

Download Skype!!

permalink
prev day next day