반응형
반응형

인생의 모든 오락거리들 중 유익하고 재미있는 작품을 읽는 것만큼이나 인생의 빈 공간을 채우기에 적합한 것도 없다. - 조지프 애디슨 -

Of all the diversions of life, there is none so proper to fill up its empty spaces as the reading of useful and entertaining authors. - Joseph Addison -

반응형
반응형

스트레스는 피할 수 없을 뿐만 아니라 반드시 나쁜 것만은 아니다.
스트레스는 신체를 보호한다.
스트레스를 받은 사람은 주변 환경을 경계하고
위험을 피하기 위해 계획을 세운다.
-브루스 맥웬, 록펠러대학 생물학 교수

 

늘 날씨가 좋으면 사막이 되고,
태풍이 없으면 바다가 썩게 됩니다.
스트레스 호르몬은 환경에 대한 인지를 강화하고
시력과 청력을 약간 향상시키며
근육이 조금 더 잘 움직이게 만든다고 합니다.
스트레스 받는다고 짜증내면서 상황을 악화시키기 보다는
스트레스의 긍정적 요소에 주목해
상황을 반전시킬 기회로 삼아보세요.

반응형
반응형
내 딸,
어릴 때 많이 아팠던 거, 기억나니?
지금도 그때 생각을 하면 두려움에 몸서리가 쳐진다.
하지만 나는 가수였어. 아파 누워 있는 너를 두고도
나는 노래를 불러야 했단다. 무대에 오르기 전
나는 잠시 숨을 고르며 눈을 감고 기도했지.
"제가 갈 때까지 우리 딸 잘 지켜주세요."
오늘 밤도 엄마는 너를 위해
기도상자를 열어.


- 인순이의《딸에게》중에서 -


* 저에게도
어머니의 기도상자가 있었습니다.
저를 위한 기도 제목이 늘 그 안에 있었습니다.
오늘의 제가 그 힘으로 살고 있음을 고백합니다.
요즘은 아내의 기도상자가 저를 살아가게 합니다.
마침 어제는 그 아내의 60 회갑을 맞아 조촐한
자리를 가졌습니다. 우리는 언제나 누군가의
기도의 힘으로 살아갑니다.
반응형

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

단식과 건강  (0) 2013.02.13
아버지의 포옹  (0) 2013.02.12
황홀경은 짧다  (0) 2013.02.07
심장의 황홀경!  (0) 2013.02.06
그리워하라  (0) 2013.02.05
반응형

구글 - 할일목록(TASKS) 모바일에서 보기

 

https://mail.google.com/tasks/

 

 

 

반응형
반응형

Dreampie1.1.1 & Python 3.2 이상  실행시 UTF-8 어쩌고 하는 에러 발생시

attribute Error가 발생하면.

 

 

D:\DreamPie\share\dreampie\subp_main.py

의 30번 행을 수정하라.

 

AS-IS

sys.setdefaultencoding('utf-8')

 

TO-BE

if sys.version_info[0] < 3:

    sys.setdefaultencoding('utf-8')

 

 

 

반응형
반응형

Modularized JavaScript with JBoss Portal Platform 6 – Avoid Conflicts, Promote Re-usability

http://howtojboss.com/2013/02/05/modularized-javascript-with-jboss-portal-platform-6-avoid-conflicts-promote-re-usability/

 

JBoss Portal Platform 6

JBoss Portal Platform 6 Beta is now available.
http://www.redhat.com/promo/jpp6/

Many new features are documented there:

  • Built on blazingly fast, lightweight JBoss Enterprise Application Platform 6 technology
  • Develop with JSF2 and Rich Faces 4 in portlets, via Portlet Bridge
  • Implement single sign-on (SSO) using SAML 2.0
  • Launch fast with Maven quick starts

Portlet and JavaScript

However, to developers and architects, one of the first issues and most difficult issue we face in any portal implementation is – what are the best practices to use JavaScripts in a portal platform?

Imagine if you have 2 portlets both using a shared JavaScript, such as jQuery – how would you share the JavaScript between the 2 portlets?

  • Each Portlet include its own
    • This is largely a no-no.  If each portlet include its own jQuery in a <script> tag, they’ll most likely run into conflicts or unnecessarily reload a script already loaded.
  • Deploy a single version
    • Then what if you need multiple versions?
    • What if some portlets needs a different version of the JavaScript library?

Now, expand this dilemma to not just common JavaScripts libraries, but to all of your application’s JavaScripts!

Oh, and don’t forget, you may also want to minify and combine scripts to reduce latency, to be Content Delivery Network (CDN) friendly, and ultimately, to improve your customer’s browsing  experience.

반응형

+ Recent posts