Archive for the ‘Dialy’ Category

[Dialy] 2016 Happy New Year

Monday, January 4th, 2016

Happy New Year!

en_2016_new_year_card

I imagined Rio-Carnival. This year will be held The Olympics in Rio de Janeiro, Brazil.
What is monkey? It is one of Eto. Eto is consist of twelve animals. It is Chinese in origin. The year of Eto changes every year. 2016 is monkey year. Bird will be next year’s Eto.

Japanese usually send new year’s card to their friends, relatives, and business clients in the New Year holidays. But recently amount of new year’s cards are reduced. Instead, sending e-mail, SNS messages by mobile phone are increasing.

In Japanese new year’s card is called Nengajo.

[Dialy] Sublime Text 2 is a good editor

Monday, January 30th, 2012

I bought Sublime Text 2. It is a good editor.
I knew it on Keith Peters’s blog post.

I had tried it for a week. And I like it very much. My favorite points are ..

1. Multibyte support
2. Short application launch time
3. Customizable ( by Python )

1. is very important point for me. I sometimes input Japanese characters into source code. But some editor don’t work correctly. For example, they display wrong character, or can’t input character when I convert to Kanji.

As I like customizing application, I am attracted the feature(3.). But I don’t know how to configure it yet. If I have a time, I will learn it.

[terminal] archive file to zip format with password on terminal

Friday, December 30th, 2011

We can archive file to zip format on terminal without any other app.

1. archive only a file

zip example.zip filename

2. archive directory

zip -r example.zip directoryname

3. archive directory with password

zip -P yourpassword -r example.zip directoryname

[terminal] recursively delete .DS_Store in terminal

Saturday, December 24th, 2011

I noticed that my git repository has .DS_Store files.
The .DS_Store file is used by Mac OS.

As I wanted not to include these files in my repository,
I tried to delete these as follow way.

First, I deleted all .DS_Store files in the directory recursively on terminal.

find . -name '.DS_Store' | xargs rm

Next, I created ~/.gitignore_global file.

update 26th Dec. 2011
I have to type this command

git config --global core.excludesfile ~/.gitignore_global

I wrote these strings in it.
The file is global settings in git.
If you specify a setting in certain directory, you can create .gitignore file in the directory.
It stops to add to stage of git the files in which are wrote.

# OS generated files #
######################
.DS_Store*
ehthumbs.db
Icon?
Thumbs.db

Finally I committed this state.

I referred these sites. Thanks.
>> フォルダ以下を再帰的にgrep検索する方法 – gorton-lab 日記の下書き
>> Help.GitHub – Ignore files

[Dialy] New MacBook Air is the best laptop

Saturday, July 23rd, 2011

I bought a new MacBook Air 13-inch.

I bought the new laptop, though I have already had a MacBook Pro 15-inch.
Because I want to have a smaller and cooler laptop than MacBook Pro.

Of course, MacBook Pro is good machine.
But its palm rest is very hot while I am typing.
And, it is a bit large when I use it on the train.
I have to use laptop on the train to attend a meeting in Tokyo.
It takes about 2 hours, because I live in a suburb of Tokyo.

MacBook Air’s palm rest is very cool.
And its size fits my working style well.

That’s why I bought MacBook Air.

I love it so much!

[iOS] I Upload DrawTri SourceCode

Monday, April 4th, 2011

I upload DrawTri source code.
Here is source code.