Sunday, January 20, 2013

트위터 딱다구리 / the pecker announcer

예전에 민부장님이 말하신 바..


KBS 출신 정모씨..


딱다구리 생각이 난다.


진땀 곤혹 vs. 적극적인 행명

아와 어의 다름이 아니라

개 자식과 사람 새끼의 차이

damn Google Chrome

5년간 FreeBSD 를 얹어서
온갖 잡다한 일을 다 처리한 조용한 r32 가
뻑~!
한순간에 갔다. LCD에 희멀건 google chrome 화면만 남긴체..


백업, DNS, Mail, 프로젝트 세팅이 그대로 있건만..


왜 OS에서 어플 건드리면 싫어하는지 또 절감한다.

욕지기 확 올라오다가 김이 확 빠진다.
허탈하다. 늘 그런식이다.


부랴부랴,
a20m 으로 옮겨 급한대로 띄우니..
mysql 버전이 낮아서 어플이 걸린다..
v5.x 로 올리니... php 가 걸려서 5.x 올리니 swap 부족..
5.x 소스 패치해서 돌리니..

너무 느려... 한번 돌릴때 마다 swap 부족
다시 조용히 선반에 올리고, a20m 도 올려 놨다.
 

VLC media player v2.0.4- Caption (Korean)

-  VLC media player v2.0.4 - display korean


Thursday, January 17, 2013

xfce4 설치 - 사용하기

pkg_add -r xfce4  ...

Menu > Configigure > Desktop > Image Background None
   show sticky windows only in activity workspace

   Desktop > Change windows size


Appearance - Style and Icon to "Crux" style

Workspace - change to 4 -> 2


* Help Introduction

** move between workspace: ^+@+Arrow_Key
** xfce4-mixer: a volume changer plugin for the panel available. Its name is
**
There is an "Always on top" option available in the window titlebar
menu. Select this option if you want a window to always appear above all
 other windows.


* Menu
** Change Panel Size: 20

** Session-Start
- prompt logout
- Application: uncheck if need.. pulse audio, ...
- software update and preferences--> never, nothing




.xinitrc
--
#!/bin/sh

## Ami
export XMODIFIERS="@im=Ami"
wmami &

xsetroot -solid '#056'

# /usr/local/fvwm/bin/fvwm
# xfce4-session
# exec startxfce4
exec ck-launch-session startxfce4

[보안] 아.. 때리고 싶다.


메일로 ㄱㅈㄹ

"보안 영수증" 이라고 받았다.


일단, ActiveX 설치하고 인증하고 확인하란다.

이런 되먹지 않는 보안 인증이나 방식을 몇년째 하고 있다니...


정말 때려.. 아니 패주고 싶다.

newsticker

; ------ start of newsticker > newsticker-start, newsticker-show-news -------
;(setq load-path (append load-path (list "C:/Emacs/lib/newsticker")))
(autoload 'newsticker-start "newsticker" "Emacs Newsticker" t)
(autoload 'newsticker-show-news "newsticker" "Emacs Newsticker" t)

(add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)

(setq newsticker-groups-filename
   "~/newsticker/conf/newsticker-groups")
(setq newsticker-imagecache-dirname
   "~/newsticker/images")
(setq newsticker-dir "~/newsticker/ticker")
(setq newsticker-automatically-mark-items-as-old t)
(setq newsticker-automatically-mark-visited-items-as-old t)
(setq newsticker-retrieval-interval 600)
(setq newsticker-html-renderer (quote w3m-region))
(setq newsticker-retrieval-method (quote extern))
(setq newsticker-treeview-treewindow-width 20)  ; 30
(setq newsticker-treeview-listwindow-height 12) ; 30
(setq newsticker-wget-arguments (quote ("-q" "-O" "-"
                                        "--user-agent" "testing")))
(custom-set-variables
 '(newsticker-display-interval 15.3)
 '(newsticker-keep-obsolete-items nil)
 '(newsticker-scroll-smoothly nil)
 '(newsticker-sort-method (quote sort-by-time))
 '(newsticker-url-list
   (quote
    (

     ("codeproject" "http://www.codeproject.com/webservices/articlerss.aspx?cat=3" nil nil nil)
     ("codeplex" "http://www.codeplex.com/rss.ashx" nil nil nil)
     ("codeguro csharp" "http://feeds.feedburner.com/codeguru/csharp" nil nil nil)

     ("경향신문" "http://www.khan.co.kr/rss/rssdata/total_news.xml" nil nil nil)
     ("연합뉴스" "http://www.yonhapnews.co.kr/RSS/sokbo.xml" nil nil nil)
     ("구글" "http://news.google.com/news?pz=1&ned=kr&hl=ko&output=rss" nil nil nil)
     ("다음전체" "http://media.daum.net/rss/today/primary/all/rss2.xml" nil nil nil)
     ("오마이뉴스" "http://rss.ohmynews.com/rss/ohmynews.xml" nil nil nil)
;    ("조선" "http://www.chosun.com/site/data/rss/rss.xml" nil nil nil)

     ("BBC News" "http://www.bbc.co.uk/syndication/feeds/news/ukfs_news/front_page/rss091.xml" nil nil nil)
     ("The Inquirer" "http://www.theinquirer.net/inquirer.rss" nil nil nil)

     ("zdnet All" "http://feeds2.feedburner.com/ZDNetBlogs" nil nil nil)
     ("zdnet screen" "http://i.zdnet.com/xml/zdnet.xml?tag=nl.e550" nil nil nil)
     ("zdnet whitepaper" "http://whitepapers.zdnet.com/?mode=rss" nil nil nil)
     ("zdnet review" "http://reviews-search.zdnet.com/index.php?k=1&mode=rss" nil nil nil)
     ("zdnet opnsrc" "http://www.zdnet.com/topics/open+source?o=1&mode=rss" nil nil nil)
     ("zdner-kr" "http://feeds.feedburner.com/zdnet_kr_news" nil nil nil)

     ("slashdot Dev" "http://developers.slashdot.org/developers.rss" nil nil nil)
;    ("bbs.kldp" "http://kldp.net/export/rss_sfnews.php" nil nil nil)
;    ("emacs help" "http://rss.gmane.org/gmane.emacs.help" nil nil nil)
;    ("msdn Forum" "http://www.microsoft.com/feeds/msdn/en-us/rss.xml" nil nil nil)

    )
   )
  )

 '(newsticker-url-list-defaults
   (quote
    (
     ("LWN (Linux Weekly News)" "http://lwn.net/headlines/rss")
     ("Quote of the day" "http://www.quotationspage.com/data/qotd.rss" "07:00" 86400)
     ("The Register" "http://www.theregister.co.uk/tonys/slashdot.rdf")
     ("slashdot" "http://slashdot.org/index.rss" nil 3600)
     ("Wired News" "http://www.wired.com/news_drop/netcenter/netcenter.rdf")
;    ("Emacs Wiki" "http://www.emacswiki.org/cgi-bin/wiki.pl?action=rss" nil 3600)
;    ("database sa" "http://database.sarang.net/rss.php")
    )
   )
  )
 '(newsticker-use-full-width nil)
 '(transient-mark-mode t)
)

(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
;'(newsticker-feed-face ((t (:foreground "red" :slant normal :weight bold :height 1.3 :family "helvetica"))))
 '(newsticker-feed-face ((t (:foreground "red" :slant normal :weight bold :height 1.2 :family "나눔고딕"))))
 '(newsticker-new-item-face ((t (:foreground "blue" :weight bold))))
 '(newsticker-old-item-face ((t (:weight bold))))
)
; --------------- end of newsticker ---------------

XBAP 배포를 위한 Visual Studio 테스트 인증서 등록


구글검색: how to solve xbap problem cannot trust
찾은 페이지 제목: How to run WPF - XBAP as Full Trust Application

 오랜만에 Isreal 도메인에서 검색한 결과.... XBAP 배포를 해보지 않은 관계로 버벅 거렸다. 여튼...

* XBAP 배포

** IIS 에서 HTTP 헤더에 MIME를 추가
1. 시작-> 실행 -> inetmgr 로 iis manager로 이동
   -> 기본 웹사이트에서 오른쪽 마우스 클릭으로 팝업창을 열어서 속성창 연다.
2. HTTP 헤더 탭 에서 -> MIME 형식 선택 -> 새형식 추가

Extension     MIME Type
.manifest      application/manifest
.xaml          application/xaml+xml
.application   application/x-ms-application
.xbap          application/x-ms-xbap
.deploy        application/octet-stream
.xps           application/vnd.ms-xpsdocument


** Apache 사용하는 경우 httpd.conf 에 추가
아파치 설정 파일 httpd.conf에서 VirtualHost 영역에 다음을 추가
AddType application/manifest .manifest
AddType application/xaml+xml .xaml
AddType application/x-ms-application .application
AddType application/x-ms-xbap .xbap
AddType application/octet-stream .deploy
 
** 테스트 인증서 설치
Visual Studio : Project 의 속성창의 
--> [Security] 탭
   "Enable ClickOnce Security Settings > This is a full trust application 선택

-->[Publiish] 탭
   Publish Location 에서 폴더 위치를 명시한다.
   ex. http://localhost/XBAP/ 
  (또한, 해당 폴더는 IIS에서 응용 프로그램 폴더로 지정한다)
   "Publish Now" 버튼을 클릭해서 바로 Publish 하고 웹을 통해 해당 프로젝트를 실행

** 웹브라우저
   화면에서 "Run" 을 시키고 에러 메시지를 launch 한다.

--> "Trust Not Granted" 라는 메시지가 나오는다. 영문메시지와 한글 메시지다.
    이는 해당 Source 가 로컬에 접근하거나 local sql server에 접근할때 발생한다.
   "User has refused to grant required permissions to the application." 
   " ...
      * 트러스트를 확인하는 동안 예외가 발생했습니다. 다음 실패 메시지가 발견되었습니다.
        + 사용자가 필요한 권한을 응용 프로그램에 부여하기를 거부했습니다. ... "

Visual Studio - [Signing] 탭에서 
    "Sign the ClickOnce manifests" 항목의 [Create Test Certificate]  를 클릭한다.

   만약, 프로젝트가 "Test Certificate" 을 포함하고 있지 않을 경우 Create Test Certificate 를 만들라고 지시한다. 만약 배포되어 있었는데, 임의로 삭제를 했거나, 등록하지 않았다면 다시 등록한다.

    그러면, Create Test Certificate 팝업 메뉴가 뜨고 "Enter password for new file XBapBrowser...애플리케이션의 키.pfx 파일의 패스워드를 물어본다.

    temporary certificate 를 만들어 난 이후 "More Details" 버튼을 클릭해서 인증서 세부화면을 보도록 한다. 인증서 세부화면에서는 [General], [Details], [Certification Path] 세개의 탭이 있는데, 이중 Details 탭 하단에 "Copy to File" 버튼을 클릭해서 인증서를 하드디스크에 저정해 둔다.

 일단 저장한 다음  File Export wizard 과정을 수행한다.
  Export Private key 에서 개인키를 인증서와 같이 내보낼 것이냐고 물으면 yes 로 하고 다음으로 넘어간다. "export the private key with the cetificate" 

 인증서는 개인 인증서 교환포멧으로 하는 것이 좋다. 만약 활성화가 되지 않으면 "Base-64... " 로 그냥 한다.


웹 브라우저에 내보낸 인증서를 등록한다.
IE 에서 옵션 > Content > Certificates 에서
[신 뢰할 수 있는 루트 인증기관] , [신뢰할 수 있는 게시자에 내보냈던 인증서를 Import [가져오기] 해서 각각 등록한다. Import Cetification for Trusted root Certification Authories and Trusted Publisher each tap which was create/export/saved file.





Printer Driver for Image and PDF

* PDF Printer
PDFCreator - 현재 설치해서 쓰고 있음
dopdf - 설치해서 사용하고 있지는 않음
CuteWriter - PDF Virtual Printer Driver
FreewarePrimoPDF - PDF Virtual Printer Driver

* Image Printer
ImagePrinter (64bit Driver 에서는 에러 발생) - Source 배포됨

Google Storage for Developers (Labs)

* Register
....
Google Storage for Developers pricing is based on usage.
  • Storage—$0.17/gigabyte/month
  • Network
    • Upload data to Google
      • $0.10/gigabyte
    • Download data from Google
      • $0.15/gigabyte for Americas and EMEA
      • $0.30/gigabyte for Asia-Pacific
  • Requests
    • PUT, POST, LIST—$0.01 per 1,000 requests
    • GET, HEAD—$0.01 per 10,000 requests

2009년 개정 교육 과정에서 고등학교 국사를 선택과목으로 전환

교과부(교육과학기술부) - 고등학교 교과과정에서 국사를 역사, 세계사로 쪼개고 동아시아사를 신설...

2008년 2010년부터 서울의 고x,서x,연x,이x,중x,한x.. 대학들이 모여 국사를 선택과목으로 지정하기로 합의.. 2010년 서x 대는 국사를 고등학교때 이수 의무화 한다고 하고지만 실상은 뒷구멍을 가장 많이 팠다고 한다.

몇달전 그말을 들었을땐, '설마...' 했다.

참 무심한 나를 탓했고 생각없는 사람들과... 그 말을 하면서도 망연자실해 하는 사람에게 할말을 잃었다.

한반도 근대사에서의 전쟁

임진왜란 (壬辰倭亂,1592) ★ 분로쿠의역(文祿の役)
정유재란 (丁酉再亂,1597) ★ 게이초의역(慶長の役)
(7년전쟁, 1598년 도요토미 히데요시 사망)

정묘호란 (丁卯胡亂,1627) ★ 후금(後金)지전
병자호란 (丙子胡亂,1636) ★ 대청(大淸)의전

IBM Thinkpad A20m - Activate Sound

* IBM Thinkpad A20m - Activate Sound

** Reference site
http://www.freebsd.org/doc/handbook/sound-setup.html
http://www.freebsd.org/releases/6.1R/hardware-i386.html#SOUND
http://www.freebsd.org/cgi/man.cgi?query=snd_csa&sektion=4&manpath=FreeBSD+6.1-RELEASE
SND_CSA(4)           FreeBSD Kernel Interfaces Manual         SND_CSA(4)

http://www.freebsd.org/cgi/man.cgi?query=sound&sektion=4
SOUND(4)           FreeBSD Kernel Interfaces Manual           SOUND(4)


** startup messagge
csa0: \
    mem 0xf4100000-0xf4100fff,0xf4000000-0xf40fffff irq 5 at device 5.0 on pci0
csa: card is Thinkpad 600X/A20/T20
csa0: [GIANT-LOCKED]

pcm0: on csa0
pcm0:
pcm0: [GIANT-LOCKED]

drm0: port 0x2000-0x20ff \
  mem 0xf5000000-0xf5ffffff,0xf4200000-0xf4200fff irq 5 at device 0.0 on pci1
info: [drm] AGP at 0xf8000000 64MB
info: [drm] Initialized mach64 1.0.0 20020904
pcm0:virtual:0:dsp0.2: play interrupt timeout, channel dead
pcm0:virtual:0:dsp0.2: play interrupt timeout, channel dead

* /boot/device.hints
hint.pcm.0.at="isa"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"
hint.pcm.0.vol="50"



** /boot/loader.conf

hw.cbb.start_32_io="64512"
#hint.pcm.0.at="isa"
hint.pcm.0.irq="5"
hint.pcm.0.drq="1"
hint.pcm.0.flags="0x0"
hint.pcm.0.vol="50"


** /boot/loader.conf
ltmdm_load="NO"
# I'll use with loading the kernel module snd_csa.ko kldload snd_csa.ko
snd_csa_load="YES"
#uscanner_load="YES"
#
kern.ipc.semmni=256
kern.ipc.semmns=512
kern.ipc.semmnu=256
#
# Mono project --
#kern.ipc.semmni=40
#kern.ipc.semmns=300
#
accf_http_load="YES"

# gamin
kern.maxfiles="25000"



** Kernel Configuration

add

,----
| device sound
| device snd_csa
`----

 /ftp:wjsro@alex:/usr/src/sys/i386/conf/

machine        i386
# cpu        I486_CPU
# cpu        I586_CPU
cpu        I686_CPU
ident        KYSXY
......
# FireWire support
#device        firewire    # FireWire bus code
#device        sbp        # SCSI over FireWire (Requires scbus and da)
#device        fwe        # Ethernet over FireWire (non-standard!)


** Ok!!!
Time to chek "Volume Button" on think function KEY!!!!!! <======

FreeBSD .cshrc, others

** FreeBSD Disable Bell / Beep ( Hardware beep )
sysctl hw.syscons.bell=0
or
echo "hw.syscons.bell=0" >> /etc/sysctl.conf



** Emacs
alex# emacs-23.2 >./configure
--without-sound --without-jpeg --without-tif- --without-gif --without-png --without-rsvg --without-toolkit-scroll-bars --with-x-toolkit=no --without-xim



** login .cshrc
# $FreeBSD: src/etc/root/dot.cshrc,v 1.25.2.2 2001/03/05 13:36:53 asmodai Exp $
#
# .cshrc - csh resource script, read at beginning of execution by each shell
#
# see also csh(1), environ(7).
#

# no screensaver
# xset s noblank

# 5 minute for blank
# xset s 300 2

alias h        history 25
alias j        jobs -l
alias la    ls -la
alias ls    ls -alC
alias lf    ls -FA
# alias ll    ls -alh
alias LS        LS
alias ll    ls -alAGFh
alias xl    xloadimage -quiet -slideshow
alias cdcontrol cdcontrol -f /dev/acd0
alias eject     cdcontrol -f /dev/acd0 eject
alias fm    fetchmail
alias rdate_go  rdate -s time.bora.net

# Terminal
setenv TERM xterm-color
# if ("$term" == dumb) set TERM=xterm
# if ("$term" == dumb) set TERM=xterm-color

if ($?EMACS) then
    if ($EMACS == "t") then
        unset edit
        stty  -icrnl -onlcr -echo susp ^Z
    endif
endif

# test
if ("$term" == emacs) set term=xterm-color

setenv ORACLE_BASE /home/oracle
setenv ORACLE_HOME /home/oracle/product/9.2.0.4
setenv ORACLE_SID ORACLE
setenv ORACLE_TERM xterm
setenv NLS_LANG AMERICAN_AMERICA.KO16KSC5601
setenv LANG C


# A righteous umask
umask 22

set path = (/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /usr/X11R6/bin /usr/local/kde4/bin $HOME/bin /usr/local/mozilla /var/qmail/bin /usr/local/pgsql/bin /usr/local/mysql/bin /usr/local/samba/bin)

if ($?prompt) then
    # An interactive shell -- set some stuff up
    set prompt = "`hostname -s`# "
    set filec
    set history = 1000
    set savehist = 1000
#    set mail = (/var/mail/$USER)
    set mail = (/usr/home/$USER/mbox)
    if ( $?tcsh ) then
        bindkey "^W" backward-delete-word
        bindkey -k up history-search-backward
        bindkey -k down history-search-forward
    endif
endif

# Here goes youngsu defined
set prompt='[%n@%m %.]'
#set prompt="%m[%{^[[34m%}%~%{^[[00m%}]%% "
# set prompt="%B%m%b:%~%# " # from cjh@kr.freebsd.org
# set prompt="%B%n@%m%b %.#"
# set prompt="[%n@%m%b %.]"
# set prompt="%B${USER}@%m#%b "
set dspmbyte=euc
set autolist
set autoexpand

set autocorrect
set correct=cmd

alias   sshwjsro  /usr/local/bin/ssh2 -p 689 -l wjsro 218.145.160.204
alias   sshalpha  /usr/local/bin/ssh2 -p 689 -l wjsro localhost

alias   sshqesdes "xhost +qesdes; /usr/bin/ssh -l wjsro qesdes"
alias   sshalex   "xhost +alex; /usr/bin/ssh -l wjsro alex"

# /usr/bin/ssh -p 689 -l wjsro 221.145.7.188
#
alias   sshmybsd  /usr/bin/ssh -p 689 -l wjsro mybsd.info

#alias scp /usr/local/bin/scp -P 689 -d -r
# alias scp /usr/bin/scp -P 689 -d -r
#alias scp /usr/local/bin/scp2 -P 689 -d -r
#alias ssh /usr/local/bin/ssh2 -P 689

# alias cu    cu -l /dev/cuaa0
alias cu    cu -l /dev/cuad0
alias ulocate   /etc/periodic/weekly/310.locate
alias a2ps        h2ps -H
#alias w3m         w3m -B
#alias du          du -h --max-depth=0
alias du    du -h -d 1
alias df          df -h
# alias hanterm      hanterm -fg white -bg black ; stty -istrip
alias hanterm      hanterm -fg white -bg black
# alias rxvt        rxvt -bg black -fg white
# alias mozilla   /usr/X11R6/bin/mozilla
# alias rdesktop  rdesktop -n test -u administrator -l 192.168.0.2
# alias netstat     netstat -na -p tcp
# alias wget2     wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=2 --mirror --convert-links -N -X cgi-bin -o ~/tmp/bar/mirror_wget.txt
alias wget1       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=1 --mirror --convert-links -N -X cgi-bin
alias wget2       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=2 --mirror --convert-links -N -X cgi-bin
alias wget3       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=3 --mirror --convert-links -N -X cgi-bin
alias wget4       wget --wait 1 --no-parent --timestamping --continue --tries=10 --recursive --level=4 --mirror --convert-links -N -X cgi-bin

# alias emacs     env LANG=C emacs
# alias emacs     LANG=C LC_ALL=C emacs
alias emacs       env LANG=C LC_ALL=C emacs
alias emacsq      emacs -batch -f batch-byte-compile
alias emacsn    -no-site-file
alias emacsno    -no-site-file -nw

alias browseemail w3m ~/tmp/email.html
# alias lynx        lynx -dump -nolist -image_links=off -width=180

# setenv LANG         ko_KR.EUC
setenv LANG         ko_KR.UTF-8
# setenv LC_CTYPE ko_KR.EUC
setenv LC_CTYPE      ko_KR.UTF-8
# stty cs8 -istrip parenb

# setenv LANG          ko_KR.eucKR
#setenv LC_NUMERIC   ko_KR.eucKR
#setenv LC_MONETARY  ko_KR.eucKR
#setenv LC_MESSAGES  ko_KR.eucKR
#setenv LC_ALL       ko_KR.eucKR
setenv LC_ALL       ko_KR.UTF-8
#setenv LC_CTYPE     ko_KR.eucKR
setenv XMODIFIERS    @im=Ami
#setenv XMODIFIERS   @im=hanIM

setenv    EDITOR    vi
setenv    PAGER    more
setenv    BLOCKSIZE    K
setenv  mailbox ~/mbox
setenv  CGI    /usr/local/apache/cgi-bin/

# set prompt='[%n@%m %.]'
# set prompt = '%n@%m:%~%# '
# set prompt = "%m:%B%/%b%# "

# Here goes youngsu
setenv NNTPSERVER news.shinbiro.com
# setenv NNTPSERVER "binnews.hananet.net"

#setenv IRCSERVER "kornet.hanirc.org"
#setenv IRCSERVER "holywar.hanirc.org"
#setenv IRCSERVER "holynet.hanirc.org"
#setenv IRCSERVER "linuxstart.hanirc.org"
#setenv IRCSERVER "zzzbb.hanirc.org"
#setenv IRCSERVER "wdb.hanirc.org"
#setenv IRCSERVER "pwn.hanirc.org"

setenv IRCNICK    "asukasummer"
setenv IRCNAME    "asuka"
setenv IRCREALNAME "kys"

setenv PACKAGEROOT "ftp://ftp.kr.FreeBSD.org"

# CVS
#setenv CVS_RSH ssh
#setenv CVSROOT :ext:rtxctx@alpha:/home/cvs
#setenv CVSROOT :pserver:anoncvs@alpha:/home/cvs
#setenv CVSROOT :pserver:rtxctx@alpha:/home/cvs
#setenv CVSROOT :pserver:anonymous@cvs.namazu.org:/storage/cvsroot

# set beep off
# xset b off
# xset b 10 48 100

#if ($?MANPATH) then
#  setenv MANPATH "$MANPATH":/usr/X11R6/man:/usr/compat/linux/usr/man:/usr/local/man:/usr/local/openssl/man:/usr/share/man/cat1:/usr/share/perl/man:/usr/src/lib/libc/db/man:/usr/src/lib/msun/man:/var/qmail/man
# else
#  setenv MANPATH /usr/X11R6/man:/usr/compat/linux/usr/man:/usr/local/man:/usr/local/openssl/man:/usr/share/man/cat1:/usr/share/perl/man:/usr/src/lib/libc/db/man:/usr/src/lib/msun/man:/var/qmail/man
endif

## postgresql .cshrc env block start
setenv POSTGRES_HOME /usr/local/pgsql
setenv PGLIB $POSTGRES_HOME/lib
setenv PGDATA $POSTGRES_HOME/data

#if ($?MANPATH) then
#  setenv MANPATH "$MANPATH":$POSTGRES_HOME/man
#else
#  setenv MANPATH $POSTGRES_HOME/man
#endif

if ($?LD_LIBRARY_PATH) then
  setenv LD_LIBRARY_PATH "$LD_LIBRARY_PATH":"$PGLIB"
else
  setenv LD_LIBRARY_PATH $PGLIB
endif
## postgresql block end

# for file in *.jpg; do tar cvf "$file".tar "$file"; done
#alias xloadimage xloadimage -fit -fullscreen -slideshow
# alias img-convert convert for file in *.jpg; do convert -size 640x480 "$file" RR_"$file"; done

# -- Here goes for qt
setenv QTDIR /usr/local/qt
setenv PATH $QTDIR/bin:$PATH
# setenv MANPATH $QTDIR/man:$MANPATH
setenv LD_LIBRAR_PATH $QTDIR/lib:$LD_LIBRARY_PATH

# -- Here goes tmake for qt
setenv TMAKEPATH /usr/local/tmake/lib/linux-g++
setenv TMAKEDIR /usr/local/tmake
setenv PATH $TMAKEDIR/bin:$PATH

# setenv EDITOR emacsclient
# setenv EDITOR /usr/local/emacs/etc/emacsclient
# EDITOR=emacsclient ; export EDITOR

setenv ICONPATH /home/root/.wm-icons/old_pixmaps

setenv wjh /mnt/nfs/usr/home/wjsro

# echo "ssh-agent tcsh then ssh-add"

stty cs8 -istrip parenb
#
# mixer pcm 80 vol 80 cd 80

#setenv JAVA_HOME  /usr/local/jdk1.6.0
#setenv JRE_HOME   /usr/local/jdk1.6.0/jre

# PHP
setenv PHP_HOME /usr/local/php

# exporting

alias alexenv    setenv DISPLAY alex:0.0
alias qesdesenv setenv DISPLAY qesdes:0.0
# alias emacs     env LANG=C LC_ALL=C emacs

mono winform compile

http://www.mono-project.com/WinForms_Getting_Started_Guide

To build Windows.Forms from source, you need:

* The latest Mono (http://www.go-mono.com/download.html) package.

* The latest libgdiplus (http://www.go-mono.com/download.html)

library. Not needed on Windows XP since it includes gdiplus.dll

and for Windows 2000 it can be downloaded from MSDN.

[Paul Johnson provides a nice writup on how to build from source here

(http://www.all-the-johnsons.co.uk/mono/mono-compiling.shtml)]

Winforms Example

As there are plenty of great articles and books on Windows Forms

programming, the topic will not be covered in-depth. The following

is just a simple Winforms program to test with.

using System;

using System.Drawing;

using System.Windows.Forms;

public class HelloWorld : Form

{

static public void Main ()

{

Application.Run (new HelloWorld ());

}

public HelloWorld ()gpp

{

Button b = new Button ();

b.Text = "Click Me!";

b.Click += new EventHandler (Button_Click);

Controls.Add (b);

}

private void Button_Click (object sender, EventArgs e)

{

MessageBox.Show ("Button Clicked!");

}

}

If you save this code as hello.cs, you would compile it like this:

mcs -pkg:dotnet hello.cs

Using mcs to compile produces a .Net 1.1 assembly. To create a .Net 2.0 assembly, use gmcs:

gmcs -pkg:dotnet hello.cs

Either compiler will create "hello.exe", which you can run using:

mono hello.exe

G20 과 노인요양시설 화재 사건

아침 운동하면서 늘 TV와 컴퓨터 보는데...

RSS에서 "노인요양시설에 화재, 십수명 사망에 부상이 또 십수명"이란다.
해서 TV를 보는데, 자막으로 노인요양시설 화재... 이렇게 나오고,
계속 앵무새는 심수강산 고목 쪼는 딱다구리 소리만 한다.

코엑스에 뭘 둘러치고, 주위 카메라에 같은 말만 되뇌이
영양가 없는 저런 얘기 보다는 노인요양시설 얘기가 궁금했다.

얼마전 칠레 광부들의 매몰 생환 소식 얘기가 문득 머리를 스쳐간다.

아, "우리"는 감동이 없다. "우리"라는 말이 낯설게 느껴진다.
비온 후가을 아침의 단풍은 분명 예전과 같은데...  

인간들은 예전과 한참이나 다르구나

[책] Unto This Last, and Other Writings

"Unto This Last, and Other Writings",John Ruskin,1986
나중에 온 이사람에게도/생명의 경제학, John Ruskin, 곽계일역, 아인북스, 2010.4

link: http://www.kyobobook.co.kr/product/detailViewEng.laf?ejkGb=BNT&mallGb=ENG&barcode=6614209259691&orderClick=LAI

[책] 열하일기

열하일기는 1780년 청나라 사신으로 다녀온 연암 박지원이 정조4년께 정리한 일기이다. 정확한 년도는 몇년 차이는 있겠다.

근래에도 공무원들이 해외에 갔다오면 쓰는 공식보고서 같은 것이 있는데... 그런 영양가 없는 것은 아니고 개인의 보고 듣고 정리한 일기다.

연암이 국경을 막 넘어 섰을 때였다.

옛말에 "옹기장이를 만나면 산이 벌거숭이가 된다" 말이 무슨 말인가 싶었다. 나무 불소시개가 된다는 건 알겠는데, 그 "왜"라는 꼬리가 가물 거렸다.



문득 열하일기를 읽다 옹기장이 얘기가 나와 '아~, 그렇구나'

실은 옹기장이가 아니라 벽돌 얘기다. 벽돌을 구워 삶아 건축물에 쓰임이 다양하고 우수함을 보여준다.

연암은 다음과 같이 쓰고 있다.

벽돌이 일반화 되기 위해서는 가마를 제대로 만들어야 한다.

조선의 가마는 낯고 길죽하고 효율이 좋지 못해 화력좋은 소나무가 필요하지만 북방의 가마는 원추형으로 설계되 여러 불쏘시개로 좋은 결과를 본다. 해서 많은 나무를 필요치 않으며 벽돌을 쉽게 만들고 이를 다양하게 쓸 수 있다.





구들만 해도 그렇다. 조선의 방구들은 진흘과 돌로 땅에 골을 내고 흙으로 돌의 일정치 않은 곳을 메운다. 때문에 불필요하게 구들의 목이 커지고 아궁이와 굴뚝에 이르는 길이 불규칙해진다. 해서, 굴뚝에 조그만 균열만 가도 연기가 역류하고, 시간이 흐르면 벽과 구들의 틂이 벌어져 연기가 매케하게 새어 나오게 된며, 아궁이 쪽은 자리가 탈 정도이고 방의 곳곳이 온도가 천차만별이다.

북방의 벽돌 구들은 좁은 벽돌 구들로 일정하게 만든다. 그리고, 아궁이에 항아리 만큼 땅을 파 공기를 데우고 여기서 공기를 온도차를 발생시켜 단숨에 구들을 통과 시킨다. 그리고 방고래에 가면 겨우 손이 드나들만 곳이 나오는데 여기에 재가 쌓이게 된다. 3년에 한번 방고래르 뜯고 재를 꺼내면 구들의 재를 꺼낸다.

우리 동네 구제역 방역 풍경

얼마전 시골 집에 갔다.

뉴스로 듣고 '설마...' 했는데, 마을 입구에 들어서자마자 놀랬다.

마을입구 옆에 벙커를 쳐 놓고 앞에는 문을 달아놨다.

문 옆에는 약통과 약장대가 있고 추위로

약물이 얼지 않도록 불을 피워 놓았다.

출입이 띄엄한 곳이라 약은 반 수동으로 작동한다.

그나마 전기가 들어와서 차가 오면 모터를 키고 약을 뿌리는데,

혹시 약장대의 물이 얼어 있기라도 한다면 녹이는 게 쉬운 것만은 아닌 듯 싶다.

아침 7시부터 밤 9시까지 5~6명이 모여 5일 교대로 지킨다.

우회 도로는 아얘 대형 차로 막아 놨다.

세상이 어수선하다는 말이 생각난다.

동내를 나서  마을 입구에 방역복을 입은

칠순을 훌쩍 넘기신 아버지 사진을 차마 찍지 못하겠더라..

' 아, 내가 새상을 잘못 살고있는 건 아닌가...'

누가 정치를 잘못한 건 알겠는데,

뜨아한건 아무도 누구 잘못인지 왜 라는 말조차 잊고 있다.

Pranten

 Pranten