반응형
반응형

 

 

 

 

 

 

 

낙원의 파랑새는 자신을 잡으려하지 않는 사람의 손위에 날아와 앉는다

                                                                            

                                                                                  - 존 베리

 

 

 

 

 

 

 

 

 

.

반응형
반응형

Favico.js: Animate your favicon

favico.js

 

http://lab.ejci.net/favico.js/

 

 

 

반응형
반응형

 

This works similarly to other nUnit testing frameworks, though somewhat customized for javascript. It is exceedingly small, but also surprisingly powerful.

Go to HowToWriteAndRunTests to learn how to use this framework.

Ant Based Javascript Testing Framework

In its original form RhinoUnit is run from an ANT scriptdef task using the Rhino engine - and uses all the helpful things that ANT provides for that. It is intended, however, that in the future the framework can be reused in other forms.

Unit Testing Javascript

It will do all the normal tests

  • string and object comparisons
  • regexp comparisons
  • collection comparisons (contains, containsExactly, etc)

 

And does them in a more natural form. For example assert.that("string", not(matches(/somethingelse/))); checks that the string "string" doesn't match the regular expression /somethingelse/.

Advanced Tests

RhinoUnit provides some more advanced tests. You can

  • ensure that a function has been called (by wrapping it with assert.mustCall(), or using an assert.functionThatMustBeCalled()). See AssertMustCall
  • ensure that an exception is thrown (using shouldThrowException(...)
  • ensure that the global namespace isn't polluted by poor variable scoping

See APIDescription for a list of all assertions and functions that are available.

반응형
반응형

ASP 날짜, 시간 - date(), Now(), time()

 

    now_a = Now()
    now_b = Left(Now(), 10)
    now_c = Mid(Date(),1,4) & Mid(Date(),6,2) & Mid(Date(),9,2) & left(FormatDateTime(Now(), 4),2)

                right(FormatDateTime(Now(), 4),2) & right(FormatDateTime(Now(), 3),2)


    response.write " now_a = "& now_a
    response.write " now_b = "& now_b
    response.write "<br> now_c = "& now_c

 

 

Now() ==> 2009-07-09 오후 4:48:49
Date() ==> 2009-07-09
Time() ==> 오후 4:48:49

FormatDateTime(Now(), 0) ==> 2009-07-09 오후 4:48:49
FormatDateTime(Now(), 1) ==> 2009년 7월 9일 목요일
FormatDateTime(Now(), 2) ==> 2009-07-09
FormatDateTime(Now(), 3) ==> 오후 4:48:49
FormatDateTime(Now(), 4) ==> 16:48

 

* YYYY-MM-DD HH24:MI:SS (오라클 기준)
FormatDateTime(Now(), 2) ==> 2009-07-09
FormatDateTime(Now(), 4) ==> 16:48
Right(Now(), 3) ==> :49
====> 2009-07-09 16:48:49

 

Left(Date(), 4) ==> 2009 (년)
Mid(Date(), 6, 2) ==> 07 (월)
Int(Mid(Date(), 6, 2)) ==> 7 (월)

반응형
반응형

10여 년 전에 방영한 TV사극 '허준'에서
스승 유의태를 가끔 생각한다. 그는 한평생
의술을 폈고 제자 허준에게 죽기 직전 자신의 몸을
실험 수술 대상으로 내주는 장면이 있었다. 그런 유의태의
모습은 비록 픽션이라도 강한 감동을 주었다. 통증으로
고생하는 사람들의 치유를 위해 한평생 의술을 폈고
죽기 직전 제자에게 자신의 몸을 실험해 보도록 한
유의태 선생의 정신을 본받아, 나도 머리끝에서
발끝까지 실험하여 많은 사람을 치유하는
'의태성심'이 되기로 했다.


- 류성심의《고질병, 통쾌한 치유》중에서 -


* 허준은
유의태라는 스승이 있었기 때문에
조선 최고의 명의가 될 수 있었습니다.
유의태는 허준이라는 좋은 제자가 있었기 때문에
온몸을 던져 자신의 의술을 전수할 수 있었습니다.
스승과 제자, 멘토와 멘티, 영혼의 동반자, 소울 메이트,
선물과도 같고 운명과도 같은 이 극적인 만남이
새로운 역사를 만듭니다.

반응형

'아침편지' 카테고리의 다른 글

내 어머니  (0) 2013.09.21
고향을 찾아서  (0) 2013.09.17
멋지게 살기 위해서  (0) 2013.09.14
좋은 부모 되기 정말 어렵다  (0) 2013.09.13
감각을 살려라  (0) 2013.09.12
반응형

이익을 얻으면 그 이익은 누군가의 은혜에 의한 것이니
나 또한 은혜를 베풀어야 한다.
목표를 이룬 사람들은
‘나눠야 더욱 넘치고 행복해진다’고 강조한다.
- 주역

 

존 쿨리지는 ‘뭔가를 받았다고 명예롭게 된 사람은 없다.
명예는 뭔가를 줌으로써 받는 보상이다.’고 말했습니다.
나눔으로써 더욱 커지는 행복의 기적을
체험하는 사람들이 많아지길 기원합니다.

반응형

+ Recent posts