English version of http://codnote.net/ . But my english is usually strange.

Wednesday, January 13, 2010

First post from blogger.vim

Blogger.vim

Blogger.vim is made by ujihisa. It is plugin for vim and support markdown.

Very convenience.

Problem

  • Blogger.vim needs pandoc. But pandoc doesn't work at Snow Leopard. I'm writing at Ubuntu (ideapad) now.

Saturday, January 9, 2010

I installed StarDict and Eijiro

I need dictionary for English writing. Because my English vocabulary is very few.

I'm using Eijiro for dictionary. And I'm using Ubuntu.

I want Eijiro at ubuntu.

I googled and challenged. It use StarDict.

1. apt-get install stardict stardict-tools
2. install PDIC for win32 use wine.
3. Convert Eijiro to "1 line text type". I saved to eijiro.txt .
4. Replace "///" to "\t" and "\" to "\n" use sed.
5. run "/usr/lib/stardict-tools/tabfile eijiro.txt"
6. move some generated files to /usr/share/stardict/dic .
7. yay

Friday, January 8, 2010

Update Ruby (dev version) everyday

I'm using Ruby dev version.

I update manually each one month until yesterday. But Ruby developping is very active, manual update isn't chase them.

Then, I heard "Let's auto update!".

So I challenged Ruby dev version auto update.

I tryed on Mac OS X Snow leopard (XCode installed).

This is list of I did:

  • Get latest Ruby's source. use svn co.
  • Create update_ruby script.
  • Register to launchd using Lingon.app
  • Yay

update_ruby is here:

#!/bin/bash

cd ~/path/to/ruby-source
svn up && make main && make install-nodoc

hi

Hi.

I start English blog here.

But my English is usually strange.

And I don't know continue this blog....

About Me

My photo
A Ruby Committer. http://twitter.com/sora_h http://sorah.cosmio.net/

Followers