반응형

나의 마음은
쓸쓸하기 그지없다.
하지만 마음은 아주 편안하다.
사랑도 미움도 없고 슬픔도 기쁨도 없다.
색깔과 소리마저도 없다. 아마 늙었나 보다.
머리가 희끗희끗해졌으니 분명 늙은 것이 아닌가?
손이 떨리고 있으니 분명한 일이 아닌가?
내 청춘이 벌써부터 사라져버린다는 것을
내 어찌 모르고 있으랴?


- 루쉰의《한 권으로 읽는 루쉰 문학 선집》중에서 -


* 희끗희끗해진 머리를 보며
저도 이따금 늙어가고 있음을 실감하곤 합니다.
문득 모든 것이 정지된 듯한 느낌, 모든 에너지가
소진되어 그 자리에 멈춰 선 듯한 느낌, 그때마다
쓸쓸하기 그지 없으나 마음은 아주 편안합니다.
청춘은 저멀리 지나갔지만, 내 영혼의 청춘은
이제부터 다시 움트기 시작하는 것을
바라보며 지긋이 미소 짓습니다.

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

고산 적응  (0) 2015.08.24
행복은 우리에게 있다  (0) 2015.08.22
아마존 '피다한' 사람들  (0) 2015.08.20
춤추는 댄서처럼  (0) 2015.08.19
매일매일 떠나는 여행  (0) 2015.08.18
반응형
연필은 쓰던 걸 멈추고 몸을 깎아야 할 때도 있어.
당장은 좀 아파도 심을 더 예리하게 쓸 수 있지.
너도 그렇게 고통과 슬픔을 견뎌내는 법을 배워야 해.
그래야 더 나은 사람이 될 수 있는 거야.
- 파울로 코엘료



대부분의 사람들은 미지의 행복보다는
익숙한 불행을 선택한다고 심리학자들은 말합니다.
익숙한 것을 좋아하고
낯선 것을 두려워하는 것이 인지상정입니다.
패자는 변화를 두려워합니다.
그러나 승자는 어제의 나를 버릴 줄 압니다.

 

반응형
반응형
굳이 깊은 아마존 정글이 아니더라도
우리 삶에는 고난과 위협이 곳곳에 도사리고 있다.
피다한 사람들은 자신들이 처한 환경에서
살아남기 위해 잠을 자지 않는 불편한
생활을 선택했다. 그럼에도 그들은
그러한 상황을 여유롭고 유쾌하게
즐긴다. 이점이 중요하다.
우리 삶은 어쨌든 계속될 뿐이다.


- 다니엘 에버렛의《잠들면 안돼, 거기 뱀이 있어》중에서 -


* 정글의 뱀 때문에
밤잠을 잘 수 없는 아마존 피다한 족.
그래서 밤새 춤추고 노래하며 보내는 사람들.
밤잠을 안자고 어떻게 살아 갈 수 있을까 싶어도
그 누구보다 밝고 긍정적이며 행복한 사람들입니다.
그들에 견주면 우리는, 뱀 걱정 없이 잠을 잘 수
있는 것만으로도 행복한 사람들입니다.
더 바랄 것이 없습니다.

 

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

행복은 우리에게 있다  (0) 2015.08.22
머리가 희끗희끗해졌으니  (0) 2015.08.21
춤추는 댄서처럼  (0) 2015.08.19
매일매일 떠나는 여행  (0) 2015.08.18
너무 오랜 시간  (0) 2015.08.15
반응형

iPad CSS Layout with landscape / portrait orientation modes

http://matthewjamestaylor.com/blog/ipa ··· it-modes
Free iPad CSS layout with landscape/portrait orientation modes

The iPad has finally launched in Australia today, hooray! I will probably get one soon so I can continue to optimise my CSS layouts for as many devices as possible. But in the mean-time I will continue using the iPad emulator that comes with the iPhone SDK.

To celebrate the launch of the iPad I have built a special iPad optimised website layout that uses pure CSS to change layouts in the portrait and landscape orientation modes. The layout can be downloaded for free at the bottom of this article or from my iPad demo page. Here is a basic diagram of how the two orientations look:

iPad CSS layout portrait / landscape designs

In Landscape mode the layout is in two columns. The main content is in a wide left column and three side sections are stacked vertically in a narrow right column. When you rotate the iPad to the portrait orientation the layout changes to a single column design. In portrait mode the main content fills the full width of the screen and the three side content areas are positioned horizontally as three columns under the main content.

In both orientations there is a header at the top and a footer at the bottom. These both change in width from 1024 pixels wide in landscape, and 768 pixels wide in portrait. See my demo page for a more detailed diagram with pixel dimensions. Below are screenshots of my demo layout in the iPad emulator:

iPad CSS layout in the iPad emulator

How does it work?

The first thing I do is lock the layout's resolution to a 1:1 ratio so that each pixel exactly lines up with the pixels in the iPad's screen. I do this with the following META tag:

<meta name="viewport" content="width=768px, minimum-scale=1.0, maximum-scale=1.0" />

Locking the layout to a 1:1 ratio will prevent the zooming-in and out that normally occurs when the iPad is rotated (normally, landscape mode is more zoomed-in because the width of the webpage is displayed across 1024 pixels, as opposed to portrait mode when there are only 768 pixels available).

Next I combine this with some CSS rules that change the layout in portrait and landscape modes. I do this by writing all my landscape styles normally then overwriting some of them with the @media rule at the bottom of the CSS file when the device is in portrait mode. Here is a cut-down version of the CSS:

/*normal styles here */
#wrap {
width:1024px;
}
@media only screen and (orientation:portrait){
/* portrait styles here */
#wrap {
width:768px;
}
}

The method above works beautifully for changing the layout for the two orientations without JavaScript. Check out my iPad layout demo or download the demo files and try it for yourself.


Demo Download (ipad-css-layout.zip - 41kb)


I hope you enjoyed this post. If you are reading this on your brand new iPad then... lucky you! :)

 

반응형

'프로그래밍 > Architect' 카테고리의 다른 글

[Chrome] remote - Debugging  (0) 2015.09.22
엑셀 하이퍼링크 함수  (0) 2015.09.01
모바일 기획  (0) 2015.08.14
아이패드 , 윈도우와 Airplay 하기.  (0) 2015.04.27
개발 명장이 되는 길  (0) 2014.10.10
반응형

홍반장 자유형. 2009년도









.

반응형

'운동일지 > 수영' 카테고리의 다른 글

은평구 삼정스포렉스 - 프로그램 및 요금표  (0) 2016.03.09
수영일지 2016-03-08  (0) 2016.03.08
2015.03.30 수영일지  (0) 2015.03.30
2015.03.18 수영일지  (0) 2015.03.18
2015.03.16 수영일지  (0) 2015.03.16
반응형
계속되는 성공은 두려움을 잃어버리게 만든다.
물론 실패보다는 성공이 훨씬 좋은 일이다.
하지만 세 번 시도해서 세 번 모두 성공했을 때는
더욱 긴장해야 한다.
왜냐하면 이렇게 모든 시도가 성공을 거두게 되면,
사람들은 본능적으로 자신에 대해 과신하게 되기 때문이다.
- 마쓰시타 고노스케, ‘길을 열다’에서



계속해 성공하면 자신이 마치 대단한 존재인양 착각해
세상을 쉽게 보기 시작합니다.
그것이 인간의 속성입니다.
사람은 실패를 통해서, 새로운 자기반성과 성찰을 통해서
또 다시 성공의 길로 접어들게 됩니다.
성공은 경계해야할 대상이고,
실패에서는 자신감을 잃지 않도록 해야 합니다.

 

반응형
반응형

단단함과 부드러움,
힘든 것과 쉬운 것, 고통과 환희 등
얼핏 상반되는 것처럼 보이는 것들은
서로서로를 몰아내지 않는다.
실제로는 서로서로를 허용한다.
그것들은 춤추는 댄서처럼
서로서로 고개를 숙인다.


- 스티브 비덜프의《남자, 다시 찾은 진실》중에서 -


* 기쁨과 슬픔, 희망과 절망,
당신과 나, 따로 떨어져 있지 않습니다.
춤추는 댄서처럼 하나이면서 둘이고, 둘이면서
하나입니다. 함께 얼굴 맞대고 서로 고개 숙이며
서로서로를 허용하면 기쁨도 춤이 되고
슬픔도 춤이 됩니다. 당신과 나라면
모든 것이 다 춤이 됩니다.

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

머리가 희끗희끗해졌으니  (0) 2015.08.21
아마존 '피다한' 사람들  (0) 2015.08.20
매일매일 떠나는 여행  (0) 2015.08.18
너무 오랜 시간  (0) 2015.08.15
나에게 말을 건넨다  (0) 2015.08.14
반응형

[javascript] hash 에서 파라미터 정보 가져오기



 

 

 

 

 

 



반응형

+ Recent posts