티스토리 툴바

Programming Language

test

2011/11/29 15:35 : 분류없음
test
저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
Write 함수로 데이터 넘겨줄때 반드시 char형으로 넘겨주어야 한다. Int형으로 하다가 계속삽질했음
Posted by 창민짱 Trackback 0 Comment 2
window 7 경우
c:\Users\rafael\.m2\settings.xml 파일에 아래와 같이 수정합니다.
리눅스의 경우(저의 경우 우분투)
/home/rafael/.m2/settings.xml 파일에 아래와 같이 수정합니다.

경로만 다를뿐 동일합니다. ^^

<host> 태그값은 해당 proxy 서버 ip 로 수정하시면 됩니다.

<settings> 
  <proxies> 
    <proxy> 
      <id>default</id> 
      <active>true</active> 
      <protocol>http</protocol> 
      <host>123.123.123.123</host> 
      <port>8080</port> 
      <nonProxyHosts>localhost</nonProxyHosts> 
    </proxy> 
  </proxies> 
</settings> 

저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
http://goo.gl/6cq7
저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
github 에 올렸습니다.
git clone git@github.com:rafael81/clj-anagram.git
저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
clojure.contrib.duck-streams 을 보면 알겠지만 파일명은 "duck_streams.clj" 언더바(_) 를 사용하면서 namespace에는 아래와 같이 하이픈(-)으로 정의되어 있다. 난 몰랐다 ㅠㅠ 다른분들은 유념하시길...
(ns 
   ^{:author "Stuart Sierra",
     :deprecated "1.2"
     :doc "This file defines \"duck-typed\" I/O utility functions for Clojure.
           The 'reader' and 'writer' functions will open and return an
           instance of java.io.BufferedReader and java.io.PrintWriter,
           respectively, for a variety of argument types -- filenames as
           strings, URLs, java.io.File's, etc.  'reader' even works on http
           URLs.

           Note: this is not really \"duck typing\" as implemented in languages
           like Ruby.  A better name would have been \"do-what-I-mean-streams\"
           or \"just-give-me-a-stream\", but ducks are funnier."} 
  clojure.contrib.duck-streams


저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
1. enter recovery mode.
2. edit recovery command line.
3. ro single -> rw init=/bin/bash
4. passwd
5. change password.
6. success
저작자 표시
Posted by 창민짱 Trackback 0 Comment 0
.emacs 파일을 생성할 필요도 없습니다.

clojure box 설치후 아래파일에 아래 paredit 항목만 추가해 주세요~

C:\Program File\Clojure Box\emacs\site-lisp\default.el
;; load paredit

(load "paredit.el")


(add-hook 'emacs-lisp-mode-hook
          (lambda ()
    (paredit-mode +1)
    (setq abbrev-mode t)))


(add-hook 'lisp-mode-hook
          (lambda ()
             (paredit-mode +1)
             (setq abbrev-mode t)))

(add-hook 'clojure-mode-hook
          (lambda ()
             (paredit-mode +1)
             (setq abbrev-mode t)))

(add-hook 'slime-repl-mode-hook (lambda () (paredit-mode +1)))
(add-hook 'slime-mode-hook      (lambda () (paredit-mode +1)))

(setq slime-net-coding-system 'utf-8-unix)



저작자 표시
Posted by 창민짱 Trackback 0 Comment 0

내가 걸어 온길

2010/05/15 14:25 : 분류없음
오늘 신문에 권율이라는 한인 출신의 미국연방통신위원회 부국장의 화려한 경력을 보고 저도 비슷하게 슬라이드 식으로 작성했는데 적을께 별로 없군요. :-)
제일 힘들었던게 모델들 이미지 찾는거였습니다. ㅜㅜ
아이디어에 도움을 준 창수씨 땡큐
저작자 표시
Posted by 창민짱 Trackback 0 Comment 2
부정적인 생각은 상처받고 창피를 당하고 버림받을 수 있는 가능성을 줄이기 위해

방어적인 사고방식을 독창적으로 만들어 내고 있는 것이다. 

 

"이 일이 사람의 진을 빼 놓네"라고 말하는 것은,

업무에 대한 정서적인 어려움을 투사함으로써 낮은 자존감을 대면하는 것으로부터 자신을 보호하는 것이다.

 

'난 못 생겼어'라는 생각은 일종의 보호막이 되어 다른 사람과의 만남을 피할 핑계를 제공함으로써

결과적으로 비난과 거부반응으로부터 자신을 보호하게 된다. 자기방어를 위한 훌륭한 기제인 셈이다.

 

- 출처 : 'The Power of Negative Thinking' 중에서 -

저작자 표시
Posted by 창민짱 Trackback 0 Comment 0