Thursday, April 10, 2008

JsonSlide Commited.

You can make simple slide from json.

DESCRIPTION
    JsonSlide makes simple slides that could be include title, description
    and list and navigated by keystroke. Sample is below.
            var slide=[
                ["Title","Signature"],
                ["Slide Title1","Description",["list1","list2"]],
                ["Slide Title2","Description",{"d":["list1","list2"]}],
            ];

Saturday, March 22, 2008

Arugula and Tomato short-sauted salad


I did neither feel like eating a big tomato as raw nor ordinary salad.
So, I cooked off the top of my head.

  1. Precook tomato, lettuce and onion like cooking ordinary salad.
  2. Put tomato and lettuce into skillet, and souse olive oil them.
  3. Light kitchen stove in low, sometime mix them.
  4. When tomato sweat, add onion, and sprinkle salt, sugar, pepper and white wine vinegar.
  5. About 30 seconds later, light off and sprinkle arugula.
It is vinegary sweet salad. How is it?

Friday, March 14, 2008

Sicle is now released!

I made a web service. Sicle.
Sicle is new search experience sharing service.
You can share

  • what you want to know
  • the great site with phrase, like social bookmark
This site is launched in these days, and only Japanese version.
Now, I release new feature.
  • English version.
  • Get feed for search phrase.
  • Anyone can search.
Feedback, question or opinion, anything can be requested here.
If you find some strange english, please notify me.
Thanks!
Sicle.

Thursday, March 13, 2008

Greasemonkey Script for Using HatenaStar on Google Reader

I made a Greasemonkey script for using Hatena Star on Google Reader. Don't you know Hatena Star? You can add a star by clicking button aside of this post's title. Whatever you want to do, if you like the post, want to show gratitude, and so on. If you are interested in Hatena Star, see here.

This feature can be used on blog normally, but many people read the blogs by rss reader. So, they can't use Hatena Star. This script can solve the problem for Google Reader user.

// ==UserScript==
// @name HatenaStar on Google Reader
// @namespace http://www.google.com/reader
// @description Automatically load the feature of HatenaStar.
// @include http://www.google.com/reader/*
// ==/UserScript==

(function(){
var head = document.getElementsByTagName('head')[0];
var s = document.createElement('script');
s.type='text/javascript';
s.src='http://s.hatena.ne.jp/js/HatenaStar.js'
var w=unsafeWindow;
var entries_count=0;
function loadHatenaStarFeature(f){
setTimeout(function(){
var entries=document.getElementById('entries');
if(entries&&entries.className=='single-source cards'){
if(!f){
entries_count=entries.childNodes.length-1;
w.Hatena.Star.EntryLoader();
}else{
w.Hatena.Star.EntryLoader.loadAddedEntries();
}
}else{
setTimeout(arguments.callee,500);
}
},500);

}
function checkItem(evt){
if((evt.keyCode==79 &&
!evt.ctrlKey && evt.shiftKey)||evt.button==0){
loadHatenaStarFeature();
}
}
function addedItem(evt){
var entries=document.getElementById('entries');
if(entries&&entries.className=='single-source cards' &&
entries.childNodes.length>entries_count){
loadHatenaStarFeature(true);
}
}
function setEntryLoader(){
if(w.Hatena){
w.Hatena.Star.EntryLoader.headerTagAndClassName =
["h2","entry-title"];
loadHatenaStarFeature();
w.Hatena.Star.EntryLoader.loadAddedEntries = function(node) {
var c = w.Hatena.Star.EntryLoader;
if (!node) node = document.body;
var entries_org = c.entries;
c.entries = null;
var entries;
entries = c.loadEntriesByHeader(node);
c.entries = [];
if (entries && typeof(entries.length) == 'number') {
for (var i = entries_count; i < class="synIdentifier">{
var e = new w.Hatena.Star.Entry(entries[i]);
e.showButtons();
c.entries.push(e);
}
entries_count=entries.length;
}
c.getStarEntries();
if (entries_org) {
c.entries.push(entries_org);
c.entries = w.Ten.Array.flatten(c.entries);
}
}
}else{
setTimeout(arguments.callee,500);
}
}
window.addEventListener('load',setEntryLoader,false);
head.appendChild(s);
window.addEventListener('keydown',checkItem,false);
window.addEventListener('keydown',addedItem,false);
document.addEventListener('mouseover',addedItem,false);
document.getElementById('sub-tree').addEventListener('mousedown',checkItem,false);

})();

Friday, March 7, 2008

"Breast and Eggs"

I read "Breast and Eggs" that is written by Mieko Kawakami and AKUTAGAWA prize winning novel. When I read the AKUTAGAWA prize wining novels, I often had seen new senses. At the first time, when I read the novel of Shuuichi Yoshida, it could be felt rarity of communication that realizes symbolically the condition of Japanese affairs.
"Breast and Eggs" also could be felt new senses that style of writing is like RAKUGO, and selfish darkness that is arised by dogma with process of grow into adulthood. I was very impressed by those mixed funny and dark side.