Showing posts with label note. Show all posts
Showing posts with label note. Show all posts

Saturday, March 27, 2010

Common Abbreviation in LDAP

DC: Domain Country
OU: Organization Unit
CN: Common Name
DN: Distinguish Name
RDN: relative distinguish name
LDIF: LDAP Interchange Format
DIT: Directory Information Tree

Friday, January 16, 2009

day spec


#!/usr/bin/env perl

use warnings;
use strict;

$csg = CSG->new;

$csg->FristPhaseNote({
date => "2009/01/16",
location => "Lib, 5F, Column Q30",
prepare => ["9:40~11:50", "13:30~14:00"],
end => "17:10",
});

__END__


 

Tuesday, December 30, 2008

0d6d98

Saturday, September 6, 2008

emacs.app

the default color scheme looks more beautiful in emacs.app. :D

From temp

Monday, August 11, 2008

build source package in debian

just for memo
need build-essential fakeroot

$ apt-get build-dep package
$ fakeroot apt-get source -b package

then wait for compilation.

$ dpkg -i package

so happy not messing with tarball

 

Sunday, August 10, 2008

safari history search

Using the shortcut Command-? for searching help to search history is a very good hacking.

 

Wednesday, August 6, 2008

ls_color in bsd style

for xterm-color, set in .profile

alias ls="ls -G"
export LSCOLORS="ExFxCxDxBxEGEDABAGACAD"

make it more beautiful.

 

Tuesday, July 29, 2008

today's note


Simplicity is the ultimate sophistication.
-- Leonardo Da Vinci



 

Tuesday, May 13, 2008

shelling.idv.tw

買了 shelling.idv.tw,不過什麼都還沒配置 :D

Monday, May 12, 2008

some vim

something is fun from learning the vi editor 6/e:
    dwelp change two words
xp change two alphabets

Sunday, May 4, 2008

內灣出遊微記

昨日帶友人繞過大半個新竹,一直以來都不喜新竹風物,常感食衣住行皆不盡人意,即便與大學同學出遊也甚感無聊,但昨日與友人暢遊內灣,吃盡美食,甚感愉快。看來在一個地方生活是否能讓人滿意,最重要的仍然是人。

Saturday, April 26, 2008

learning perl review ch2


scalar:
    1.233, 2E-3, 3e45
# exponential float
123_123_234
# integer with underscore
0377, 0xff, 0b1111
# octal => 0, hexadecimal => 0x, binary => 0b
"hello,"."world!"
# concatenate with .
"hello" x 3
# repeat 3 time with x
"20fred" * 3
# ignore string when transform
$str = $str . "blah"; === $str .= "blah";
$int = $int ** 3; === $int **= 3;
# binary assignment operator
${word}blah~
# insert variable with dereference brace
eq == | ne != | < lt | > gt | <= le | >= ge
# string comparison operator

# return with \n at line end
defined($var)
# return true or false

initial parameters (perl -M)
    use warnings;
use diagnostics;

 
 

Saturday, April 5, 2008

.bashrc and screen on leopard

Leopard does not put .bashrc in user home directory as default. It is not convenient when using screen because screen only load ~/.bashrc but not /etc/bashrc. So copy the latter as my .bashrc.

openid resource

Report by solidot.org: openid resource. Noticeable point is blogger.com is one of the openid provider. It is a little surprising to me.

Monday, March 31, 2008

the rain

in my heart, in my heart...

the hope

on the cloud, on the cloud...

the dream

far away, far away...

the tomorrow

sing the same, sing the same...

 

Sunday, March 2, 2008

Taiwan High Speed Rail

Because of no motor transport ticket on sale, Today I am forced to take High Speed Rail when coming from Taipei. So that I eventually know the spelling of its name....so intuitive spelling. :p

Saturday, February 23, 2008

Blueprint CSS 0.7.1 release

Quickly Note
There is many new feature in new release.New class name include alt, incr, quiet, small, large, showgrid...etc. Conversely, class name "column" is removed. Now div tag should be used as column. New directory structure come with new compressing ability through ruby script. Button's style move out from plugin and become an alone package put on download page

browser debuger note

Note for memory...

Safari:
Safari include a build-in debug menu, but default is off. To enable debug menu, command "defaults write com.apple.Safari IncludeDebugMenu 1" in shell, restart Safari to load it.

Debug menu with a javascript console. use Firebug compatible function console.log and console.info can print some infomation in it

Regretfully, build-in javascript console is not with javascript shell. There is a nice alternative choice at here. drag the link named shell in this page to safari bookmark bar. Click the bookmark to got a javascript shell.

Firefox:
Firebug add-on is the better choice for looking DOM, CSS. It also with a nice build-in javascript shell.

Internet Explorer 7:
internet explorer developer toolbar is a new tool. It still in beta and only for IE7. Appearance looks like firebug, But without javascript shell and couldn't modify CSS in it. Any way, It shows some aurora for debugging javascript in IE. XD

More information in blog.gugod.org

 

Tuesday, November 20, 2007

blind spot of leopard


用了 leopard 之後一直找不到如何用 tab 跳躍到 button 上的選項,終於還是在這裡發現了,看起來似乎是個 UI 的盲點阿 XD

期中考

期中考終於告一段落了,在繼續這樣考下去我實在會撐不住,這種沒意義的活動要持續到什麼時候呢,看了 Hacker & Painter 之後真的覺得人生從七歲到二十一歲的現在,自己和周遭的人都在不斷進行這種奇怪的活動,老師和學生都只是互相應付而已,但是卻沒人肯真正面對事實,高喊教改的蠢豬們真的應該試著去讓教育產出可以創造出財富的人,而不是讓大家輕鬆學習,輕鬆學習又不代表快樂,要輕鬆的話作弊就可以了,何必要教改呢?不是嗎?

不過雖說告一段落,下星期還有電路學,下下星期還有電磁學,看來又跟上學期一樣,到學期末都不會有停止的一天了,我只能說,這不是我要的生活阿,大學生不是應該學習如何去創造或欣賞美好的事物嗎?失去了本身最值得驕傲的文化和大腦的創意,在怎麼會寫考卷也不值得驕傲吧?歷史上從來未曾聽說過考試可以讓一門學問興盛繁榮,倒是看了不少美麗的中文文體和學科因為考試制度的介入而跨入學問演化的死胡同。我只能説,我想要愉快、有趣的工作,不要考試阿。但只要杜正勝一天不下台,教育界就只會一天無法進步,看來還是不用期待大學畢業前會又什麼好日子過了,就這樣看著國家部會首長們把高教一步步的推向毀滅吧。