Don't Wanna Know - Maroon 5 (Boyce Avenue ft. Sarah Hyland cover) 


역시 많은 커버영상들이 있지만 그중에 맘에드는것 2개


믿고듣는 Marron5 형님들의 Don't Wanna Know 를 커버한 보이스 에비뉴 와 세라 하일랜드.


이전 포스팅에도 등장했었지만 또 등장한다. 

아마 보이스에비뉴의 버프가 큰 것 같다.


원곡보다 한층 더 어쿠스틱하게 편곡하고 영상 분위기도 잔잔해서 더 편하게 다가오는 것 같다. 










이건 내가 진짜 Cornor Maynard 천재 뮤지션이 커버한 영상이다
원곡과 비슷한 멜로디를 따라가다가 갑자기 트로피컬 로 넘어간다.

진짜 여심 제대로 저격하는 보컬인 것 같다.
이 양반은 진짜 포스팅 할 곡이 너무많다 ㅠㅠ






I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, no
내가 한때 널 사랑했던 것처럼

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, oh
내가 한때 널 사랑했던 것처럼

I don't wanna know
알고싶지 않아


[Verse 1]
Wasted (wasted)
술에 쩔어버렸네

And the more I drink the more I think about you
더 마실수록 네 생각만 나

Oh no, no, I can't take it
이러면 안돼는데

Baby every place I go reminds me of you
어딜가든 네가 떠올라

[Pre-Chorus]

Do you think of me? Of what we used to be?
넌 날 생각하긴 해? 우리가 어떤 사이였는지도?

Is it better now that I'm not around?
내가 없으니 좀 살만해?

My friends are actin' strange, they don't bring up your name
내 친구들이 날 대하는게 어색해졌어, 내 눈치를 보며 네 이름을 말하지 않으려하거든

Are you happy now?
Are you happy now?
넌 지금 행복하니?

[Chorus]

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, no
내가 한때 널 사랑했던 것처럼

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, oh
내가 한때 널 사랑했던 것처럼

I don't wanna know
알고싶지 않아



[Verse 2]

And every time I go out, yeah
내가 나갈때마다

I hear it from this one, I hear it from that one
여기저기서 들은게 있는데..

That you got someone new
너에게 새로운 사람이 생겼다구 말이야

Yeah, I see but don't believe it
음, 이해는 되는데 믿기지가 않네

Even in my head you're still in my bed
내 머릿속엔 여전히 니가 내 침대위에 있는데 말야

Maybe I'm just a fool
나 진짜 바보인가봐

[Pre-Chorus]

Do you think of me? Of what we used to be?
넌 날 생각하긴 해? 우리가 어떤 사이였는지도?

Is it better now that I'm not around?
내가 없으니 좀 살만해?

My friends are actin' strange, they don't bring up your name
내 친구들이 날 대하는게 어색해졌어, 내 눈치를 보며 네 이름을 말하지 않으려하거든

Are you happy now?
Are you happy now?
넌 지금 행복하니?


[Chorus]

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, no
내가 한때 널 사랑했던 것처럼

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, oh
내가 한때 널 사랑했던 것처럼

I don't wanna know
알고싶지 않아




[Verse 3]

No more "please stop"
그만하라고 말하지마

No more hashtag boo'd up screenshots
럽스타그램 해쉬태그도 그만하고

No more tryin' make me jealous on your birthday
네 생일에 나에게 질투유발도 하지말구

You know just how I made you better on your birthday, oh
네 생일날 내가 더 잘해줬다는거 너도 알잖아

Do he do you like this, do he woo you like this?
그가 나처럼 잘 할수 있을 것 같아? 넌 만족할 수 있을 것 같고?

Do he lay it down for you, touch your poona like this?
그가 나처럼 널 어루만져줄것같아?

Matter fact, never mind, we'll let the past be
진실이 어찌됐건 난 신경안써, 과거는 과거일뿐이니까

May be his right now, but your body's still me, woah
지금 니 옆에 있는건 그사람이지만 니 몸은 여전히 날 원해


[Chorus]

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, no
내가 한때 널 사랑했던 것처럼

I don't wanna know, know, know, know
난 알고싶지 않아

Who‘s taking you home, home, home, home
누가 널 집으로 데려가는지

And loving you so, so, so, so
누가 널 그렇게 사랑하는지

The way I used to love you, oh
내가 한때 널 사랑했던 것처럼

I don't wanna know
알고싶지 않아





블로그 이미지

B급 감성

,


Closer - The Chainsmokers ft. Halsey 

(Boyce Avenue ft. Sarah Hyland cover) 



여러 팀이 커버했지만 그래도 젤 맘에드는 걸로 가져왔다

말이 필요없는 체인스모커스 !! 
내한공연때 못간게 정말 천추의 한이다 ㅠㅠ

워낙 유명한 곡이니까 따로 설명은 필요없고!
보이스에비뉴 진짜 좋아하는 커버 팀중 하나이다.

재미있는건 Sarah Hyland 가 등장한다. 
솔직히 맨처음에 이 영상을 봤을때 엄청 긴가민가했다. 

모던패밀리에 나오는 그 헤일리다ㅋㅋㅋㅋ 진짜 깜짝 놀랐다.
배우가 등장하니까 더 놀랐다 ㅋㅋㅋ 
그것도 모던패밀리에서 마냥 어리게만 나왔던 그 헤일리가 이렇게 성장한? 모습으로 내가 좋아하는 그룹과 커버곡을! 심지어 좋아하는곡을! ㅋㅋㅋ

영상의 댓글 대부분도 모던패밀리가 언급된다. ㅋㅋㅋ 다들 헤일리의 아빠 ( 필 )가 자랑스러워 하고 있다고 드립치고 노래할줄 상상도 못했다는 반응이 대부분이다. ㅋㅋㅋ

알고보면 더 재미있는 Closer 커버!

여행할때 들으면 더더더더 좋은곡!
뭔가 자유로움이 증폭되는 기분이다.






Hey, I was doing just fine before I met you

헤이, 난 널 만나기전까지만해 해도 좋았어


I drank too much and that's an issue but I'm okay

술을 너무 많이 마시긴했지만, 지금은 괜찮아


Hey, you tell your friends it was nice to meet them

헤이, 네 친구들한테 만나서 좋았다고 말해줘


But I hope I never see them again

하지만 다시는 보지않았으면 좋겠다




I know it breaks your heart

내가 너의 마음을 아프게 할 것을 알지만


Moved to the city in a broke down car and

고장 난 차를 타고 도시로 나갔지 그리고


Four years, no calls

4년간 아무런 연락이 없었어


Now you're looking pretty in a hotel bar and

지금 호텔바에 있는 너는 너무 이뻐


I can't stop

멈추지 못하겠어


No, I can't stop

아니 못 멈추겠어




So baby pull me closer in the backseat of your Rover

그러니까 너의 로버 뒷자식에 날 끌어당겨줘


That I know you can't afford

너가 감당하지 못할 것을 알아


Bite that tattoo on your shoulder

문신이 새겨진 너의 어깨를 깨물고


Pull the sheets right off the corner

침대위의 시트를 잡아당기지


Of the mattress that you stole

그 위의 매트리스는 너가 몰래 가져왔지


From your roommate back in Boulder

볼더의 룸메이트에게서


We ain't ever getting older

우린 철들지 않을 거야




We ain't ever getting older

우린 철들지 않을 거야


We ain't ever getting older

우린 철들지 않을 거야



You, look as good as the day I met you

넌 내가 만났던 그 때처럼 좋아보여


I forget just why I left you, I was insane

내가 널 왜 떠났는지 까먹었어, 난 미쳐있었지


Stay, and play that Blink-182 song

여기 있어, Blink-182 노래 듣자


That we beat to death in Tucson, okay

투산에서 우리 지겹게 들었잖아




I know it breaks your heart

내가 너의 마음을 아프게 할 것을 알지만


Moved to the city in a broke down car and

고장 난 차를 타고 도시로 나갔지 그리고


Four years, no calls

4년간 아무런 연락이 없었어


Now you're looking pretty in a hotel bar and

지금 호텔바에 있는 너는 너무 이뻐


I can't stop

멈추지 못하겠어


No, I can't stop

아니 못 멈추겠어




So baby pull me closer in the backseat of your Rover

그러니까 너의 로버 뒷자식에 날 끌어당겨줘


That I know you can't afford

너가 감당하지 못할 것을 알아


Bite that tattoo on your shoulder

문신이 새겨진 너의 어깨를 깨물고


Pull the sheets right off the corner

침대위의 시트를 잡아당기지


Of the mattress that you stole

그 위의 매트리스는 너가 몰래 가져왔지


From your roommate back in Boulder

볼더의 룸메이트에게서


We ain't ever getting older

우린 철들지 않을 거야




We ain't ever getting older

우린 철들지 않을 거야


We ain't ever getting older

우린 철들지 않을 거야




So baby pull me closer in the backseat of your Rover

그러니까 너의 로버 뒷자식에 날 끌어당겨줘


That I know you can't afford

너가 감당하지 못할 것을 알아


Bite that tattoo on your shoulder

문신이 새겨진 너의 어깨를 깨물고


Pull the sheets right off the corner

침대위의 시트를 잡아당기지


Of the mattress that you stole

그 위의 매트리스는 너가 몰래 가져왔지


From your roommate back in Boulder

볼더의 룸메이트에게서


(x6)

We ain't ever getting older

우린 철들지 않을 거야



블로그 이미지

B급 감성

,

Counting Stars - OneRepublic (Alex Goot, Kurt Schneider, and Chrissy Costanza Cover)




내가 진짜 좋아하는 그룹! OneRepublic 의 Counting stars 를 커버한 gootmusic


그래도 나는 원곡이 젤 좋다! 그담으로는 커버한 여러 사람들이 있지만 그중에 젤 맘에드는건 요거!






Lately, I’ve been, I’ve been losing sleep


요즘들어 나는, 나는 잠을 잘 못자고 있어

Dreaming about the things that we could be


우리가 될수 있었던 것들에 대해 꿈꾸면서

But baby, I’ve been, I've been praying hard


하지만 난, 난 열심히 기도해왔었어 

Said no more counting dollars


더이상 돈을 세지 않을거라 말했지

We’ll be counting stars


우리는 별을 세게될꺼야

Yeah, we`ll be counting stars


우리는 별을 세게 될꺼야 


 


 


I see this life like a swinging vine

나는 이 삶이 흔들리는 덩굴같다는걸 알았어


Swing my heart across the line

내 마음이 그 선을 넘나들며 흔들리지


In my face is flashing signs

내 얼굴앞에는 빛나는 표지가 있어


Seek it out and ye shall find

찾아봐, 그럼 얻을수 있을꺼야(>>[구하라, 그러면 얻으리라]느낌)



old, but I`m not that old

늙었어, 하지만 그렇게 늙지는 않았어


Young, but I`m not that bold

젊어, 하지만 그렇게 대담하지는 않아


I don`t think the world is sold

내생각에 세상은 풀리지 않을것 같애


I`m just doing what we`re told

나는 그냥 시킨것이나 가서 해야겠어


 


 


I feel something so right

나는 뭔가 굉장히 옳은듯한 느낌을 받아


Doing the wrong thing

잘못된일을 하면서말이지


I feel something so wrong

나는 뭔가 굉장히 잘못된듯한 느낌을 받아


Doing the right thing

옳은일을 하면서 말이지


i could lie, could lie, could lie

나는 거짓말을 할수도 있었어


Everything that kills me makes me feel alive

나를 죽이는 모든것들이 내가 살아있음을 느끼게 해 


 


 


Lately, I’ve been, I’ve been losing sleep

요즘들어 나는, 나는 잠을 잘 못자고 있어


Dreaming about the things that we could be

우리가 될수 있었던 것들에 대해 꿈꾸면서


But baby, I’ve been, I've been praying hard

하지만 난, 난 열심히 기도해왔었어 


Said no more counting dollars

더이상 돈을 세지 않을거라 말했지


We’ll be counting stars

우리는 별을 세게될꺼야


 


 


Lately, I’ve been, I’ve been losing sleep

요즘들어 나는, 나는 잠을 잘 못자고 있어


Dreaming about the things that we could be

우리가 될수 있었던 것들에 대해 꿈꾸면서


But baby, I’ve been, I've been praying hard

하지만 난, 난 열심히 기도해왔었어 


Said no more counting dollars

더이상 돈을 세지 않을거라 말했지


We'll be, We’ll be counting stars

우리는, 우리는 별을 세게될꺼야


Yeah... 


 


 


I feel your love and I feel it burn

나는 네 사랑을 느꼈고 그리고 그게 타는것도 느꼈어


Down this river, every turn

강아래에서, 매번말이야


Hope is a four-letter word

희망은 욕이야


Make that money, watch it burn

돈을벌고, 타는것을 지켜보지




old, but I`m not that old

늙었어, 하지만 그렇게 늙지는 않았어


Young, but I`m not that bold

젊어, 하지만 그렇게 대담하지는 않아


I don`t think the world is sold

내생각에 세상은 풀리지 않을것 같애


I`m just doing what we`re told

나는 시킨일이나 가서 해야겠어


  


 


I feel something so wrong

나는 뭔가 굉장히 잘못된듯한 느낌을 받아


Doing the right thing

옳은일을 하면서 말이지


i could lie, could lie, could lie

나는 거짓말을 할수도 있었어


Everything that drowns me makes me wanna fly 

나를 익사시키는 모든것이 내가 날게싶게 만들지


 


 

(x4)

Lately, I’ve been, I’ve been losing sleep

요즘들어 나는, 나는 잠을 잘 못자고 있어


Dreaming about the things that we could be

우리가 될수 있었던 것들에 대해 꿈꾸면서


But baby, I’ve been, I've been praying hard

하지만 난, 난 열심히 기도해왔었어 


Said no more counting dollars

더이상 돈을 세지 않을거라 말했지


We’ll be counting stars

우리는 별을 세게될꺼야


 


 


Oh, take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지 


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지


 


 


 


Everything that kills me..... makes me feel alive

나를 죽이는 모든것들이..... 내가 살아있음을 느끼게 해


 


 


Lately, I’ve been, I’ve been losing sleep

요즘들어 나는, 나는 잠을 잘 못자고 있어


Dreaming about the things that we could be

우리가 될수 있었던 것들에 대해 꿈꾸면서


But baby, I’ve been, I've been praying hard

하지만 난, 난 열심히 기도해왔었어 


Said no more counting dollars

더이상 돈을 세지 않을거라 말했지


We’ll be counting stars

우리는 별을 세게될꺼야


  


Lately, I’ve been, I’ve been losing sleep

요즘들어 나는, 나는 잠을 잘 못자고 있어


Dreaming about the things that we could be

우리가 될수 있었던 것들에 대해 꿈꾸면서


But baby, I’ve been, I've been praying hard

하지만 난, 난 열심히 기도해왔었어 


Said no more counting dollars

더이상 돈을 세지 않을거라 말했지


We'll be, We’ll be counting stars

우리는, 우리는 별을 세게될꺼야


 

 


Oh, take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


​Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지 


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지


take that money Watch it burn

그 돈을 받고, 그게 타버리는걸 지켜봐봐


Sink in the river The lessons are learnt

강바닥에 가라앉으며 교훈을 얻었지

블로그 이미지

B급 감성

,

제대로된 유튜브 썸네일 가져오기! ( 티스토리 )





내 블로그의 대부분은 유튜브와 연관된 포스팅이 상당히 많다.


그래서 영상을 포스팅에 넣고 썸네일을 글에 추가시키는데 유튜브 썸네일 가져오는 부분에서 답답한 부분이 많았다.


이런 저런 방법들이 있는데 그중에 가장 많았던 것



https://img.youtube.com/vi/고유ID/.jpg


이 방법으로 썸네일을 가지고 오게되면 해본사람은 알 수 있겠지만 썸네일 해상도가 정말 못봐줄 정도다.


그래서 방법 찾다가 그냥 내가 찾은 방법을 소개한다.




우선 티스토리에서 유튜브 플러그인을 넣었다는 가정하에 시작한다.


예제로 쓸 영상은 J.Fla가 커버링 한 Stressed Out 


https://www.youtube.com/watch?v=onGqNkiAcjY



많이들 소개한 방법으로 썸네일을 확인해보자.


https://img.youtube.com/vi/onGqNkiAcjY/1.jpg


간단하지만 120x90 짜리 해상도.. 이걸 볼수나 있을까?




내가 찾은 방법.


준비물 : 그림판, 크롬


1. 

유튜브 플러그인을 이용해서 유튜브 영상을 글에 넣는다.




그럼 아래와 같이 영상이 등록되었을 것이다.




2. 

ctrl + shift + c 를 누르면 뭔가 화면이 이상해지는걸 느낄 수 있다. ( 크롬의 개발자 도구를 이용한 방법이다. 자세한건 나중에 개발 관련 포스팅으로 추가하겠다. )


그럼 아래처럼 내가 추가한 영상에 마우스를 놓고 클릭한다.




3. 

그럼 우측이나 하단에 뭔가 수없이 이상한 글자들과 함께 선택 된 부분이 보인다.


그중에서 style="background-image :url("https://어쩌구저쩌구.webp"); 라고 적힌걸 볼 수 있다.


그 중에서 https://~~~.webp 만 복사해오면 된다. 복사하는 편한 방법은 더블클릭하면 블럭을 지정할 수 있다.



4. 

빨간색 표시 된 부분만 복사해서 주소창에 입력한다.




5.

그러면 내가 유튜브 플러그인을 사용해서 넣은 유튜브 해상도와 동일한 썸네일이 나올것이다.




6.

우클릭 -> 이미지 복사 -> 그림판 실행 -> 붙여넣기! 끝!!



다른 사람들이 소개해 준 방법보다 어찌보면 조금 어려울 수 있다.

하지만 제대로 된 썸네일을 얻게 해줄 수 있으니까!

절대 어려운 방법이 아니다.


정리하자면


유튜브 영상 삽입 -> ctrl + shift + c 로 영상 선택 -> 주소 복사 붙여넣기 -> 그림판에 저장


진짜 너무 쉬운 방법 아닌가..?



내가 b급 음악에 글린 썸네일은 전부 이 방식으로 올렸다.


크롬 말고 익스플로러에서도 똑같이 가능한 방법이다. 

똑같이 개발자 도구를 이용하면 된다.!


이 개발자 도구는 잘 사용하면 정말 너무 편하다.


개발할때도 디버깅할때도 개발 관련한 자세한 사용 방법은 꼭 포스팅 해보도록 하겠다.






'Ep 06. B급 정보' 카테고리의 다른 글

Office - PDF export 용량 줄이기  (0) 2018.05.13
블로그 이미지

B급 감성

,

Castle on the hill - Ed Sheeran ( Diamond White , Mario Jose, KHS COVER )




무려 구독자 천만명! 을 보유하고 있는 Kurt Hugo Schneider (KHS) 의 채널에 올라온 영상이다.


이 채널에 올라오는 커버 영상들은 주로 여러명이 함께 나와서 같이 커버를 하는 형식이다.


대부분의 커버영상들은 보통 카메라 한두대 세워놓고 가만히 앉은 자리에서 각도만 바꿔가며 부르는게 보통의 영상들이다.


근데 이 채널의 영상들은 거의 전부 뮤직비디오나 공연장처럼 곡들을 커버링 해놓는다.


영상을 좋아하느 나로써는 눈과 귀를 전부 만족시켜주는 아주!! 내 입맛에 딱 맞춰진 채널같다는 생각이 든다.


우선 소개를 하자면 KHS는 나보다 2살 많은 88년생 형님이다.

콘텐츠 제작자, 싱어송라이터, 프로듀서, 뮤지션의 역할을 하고있는 재능 많은 형님이다.


보통 유튜브의 다양한 뮤지션들 샘츄이(Sam Tsui), Megan Nicole 등등 과 콜라보를 한다.


KHS에 대한 소개는 마치고 일단 들어보자.





이 곡을 들으면서 느꼈던 건 곡의 내용과 영상의 느낌이 너무 잘 어우러져 있는게 느껴진다.


아래에서 곡에 대한 해석을 추가하겠지만 노스텔지아의 느낌이 강해서 영상 색감도 따듯하고 편안하고 몽환적이다.


특히 악기다루는 사람들이 나오는건 더 영상과 음악에 집중하게 만들어준다.


근데 정말정말 아쉬웠던것 하나.. 자세히보면 드럼치는분이.. 음악과 전~~혀 다른 곡을 치고있다.. 뭐지..?ㅋㅋㅋㅋ 


그리고 노래부르는 저 남자!저 남자는 진짜 곡에 빠져서 의미전달을 제대로 하고있구나 라는게 느껴졌다.





난 토종 한국인이라.. 해석하는게 너~~무 힘들었다. 해석하려고 몇번을 들었는지 모르겠다...ㅋㅋㅋ


언덕 위에 성? 성이 어디 나오는데?  맨처음에 이해했던 건 상상속의 성을 자신의 기억을 담아놓는 곳으로 설정해놓은 것이라고 생각했다.


찾아보니까 에드 시런이 살던 고향에 있던 프램링엄 성을 말하는 거라고 한다. 실제로 저 성에서 초청받아서 공연도 했다고 한다.


뭐 결론은


자신의 다양한 친구들이 있는데 그 친구들이 날 만들었고 그래서 집( 성이 의미하는게 이부분 인듯 ) 으로 돌아가고 싶다.


해석이 된담에 다시 들어보니 Lukas graham - 7 years 이 자연스럽게 연상된다. 이 곡도 꼭 포스팅 해야지.




보너스로 같은 곡 다른 채널에서 커버링 한 2개의 영상!

역시나 내가 좋아하는 Boyce Avenue와 Nicole Cross

KHS 의 커버와는 또 다른 느낌인 커버들! 


Nicole Cross는 사실 이 커버는 난 별로다. 다른게 훠얼씬 좋다!


그것도 포스팅해야지..





[Verse 1]
When I was six years old I broke my leg  
6살때 다리가 부러졌어
I was running from my brother and his friends  
형과 그 친구들로부터 도망치고 있었어
And tasted the sweet perfume of the mountain grass I rolled down  
굴러내려가고 있을때 산에 있던 달콤한 향의 풀을 맛봤어
I was younger then, take me back to when I   
그땐 어렸지.  그때로 나를 데려다줘

[Pre-Chorus 1]
Found my heart and broke it here  
내 마음을 찾았고 이곳에서 깨뜨렸어.
Made friends and lost them through the years 
친구들을 만들었고 그들을 잃어버렸어
And I've not seen the roaring fields in so long, I know I've grown  
그리고 나는 오랜동안 센바람이 불어오는 들판을 보지 못했지. 내가 컸다는걸 알고있어.
But I can't wait to go home  빨리 집에 가고 싶어

[Chorus]
I'm on my way   
지금 가고 있어.
Driving at 90 down those country lanes 
시골길을 90으로 달리고 있지
Singing to "Tiny Dancer"  
Tiny Dancer를 부르면서
And I miss the way you make me feel, and it's real  
그리고 나는 네가 내게 느끼게 해줬던게 그리워. 정말이야.
We watched the sunset over the castle on the hill   
우린 언덕위 성 너머의 석양을 봤지.

[Verse 2]
Fifteen years old and smoking hand-rolled cigarettes  
열다섯살에는 손으로만 담배를 피웠어.
Running from the law through the backfields and getting drunk with my friends  
법을 뒤로하고 도망쳤고 친구들과 술에 취해있었어.
Had my first kiss on a Friday night, I don't reckon that I did it right  
금요일밤에 첫키스를 했고, 내가 제대로 했는지 모르겠어.
But I was younger then, take me back to when
하지만 난 그때 어렸어, 그때로 데려다줘.

[Pre-Chorus 2]
We found weekend jobs, when we got paid
우린 주말일을 구했고, 돈을 받았어.
We'd buy cheap spirits and drink them straight
저렴한 술을 사고 곧바로 마셨어.
Me and my friends have not thrown up in so long, oh how we've grown
나와 친구들은 오랫동안 토하지 않았어. 우리가 어떻게 큰걸까
But I can't wait to go home
빨리 집에 가고싶어

[Chorus]
I'm on my way 
지금 가고 있어.
Driving at 90 down those country lanes
시골길을 90으로 달리고 있지
Singing to "Tiny Dancer"
Tiny Dancer를 부르면서
And I miss the way you make me feel, and it's real
그리고 나는 네가 내게 느끼게 해줬던게 그리워. 정말이야.
We watched the sunset over the castle on the hill
우린 언덕위 성 너머의 석양을 봤지.
Over the castle on the hill
언덕위의 성 너머

[Bridge]
One friend left to sell clothes
한 친구는 옷을 팔러 떠났어.
One works down by the coast
한 친구는 바다에서 일을 시작했고
One had two kids but lives alone
한 친구는 아이가 둘이지만 혼자 살고있고
One's brother overdosed
한 친구의 형제는 중독됐지.
One's already on his second wife
한 친구는 벌써 두번째 와이프가 있고
One's just barely getting by
한 친구는 겨우 지내고 있어
But these people raised me
하지만 그사람들은 날 일으켜세웠지
And I can't wait to go home
집에 빨리 가고싶어

[Chorus]
And I'm on my way, I still remember   
지금 가고있어, 
These old country lanes 
난 여전히 이 시골길을 기억해
When we did not know the answers 
우리가 정답이란걸 알지 못할때도
And I miss the way you make me feel, it's real  
네가 내게 느끼게 해줬던 그게 그리워, 정말이야
We watched the sunset over the castle on the hill  
우리는 언덕 위 성 너머의 석양을 봤어
Over the castle on the hill 
언덕위의 성 너머에

블로그 이미지

B급 감성

,

HTML TO PDF

시작하면서

Excel을 PDF로 저장하기.

저를 하루 종일 괴롭힌 그것 "Excel을 PDF로 바꿔서 블록체인에 저장"이 목표였습니다.
구글검색 결과 바로 바꾸는건 쉽지 않다고 생각하고 HTML을 바꾼뒤에 다시 PDF로 써야겠다는 생각을 하게 됩니다. 그러나 많은 사람들이 겪은 문제를 우리도 겪게되죠.
  • 한글은 변환이 안됨(폰트때문인듯)
  • html을 xhtml로 전환이 잘 안됨
  • 글자는 되는데 라인은 변환이 안됨

Phantomjs

앗~ 이거 node js네.. 아 귀찮아 서버에 node깔고 어쩌고 저꺼고 또 통신할려면 rest api 사용해야 하고 .....

하지만 그 후로도 마땅한 방법을 찾지 못해 구글 신에게 다시 물어물어 Phantomjs를 홈페이지 를 갑니다. 

어~ download 이런 이미 OS별로 실행파일이 다 만들어져있었습니다.

자 그럼 아주 간단한 사용법만 알아보겠습니다.

PDF 2 HTML Sample


구글 검색 결과 아주 간단히 변경이 가능합니다.
검색 결과 페이지 : https://coderwall.com/p/5vmo1g/use-phantomjs-to-create-pdfs-from-html
요렇게만 하면 끝이라네요

phantomjs rasterize.js 'http://en.wikipedia.org/w/index.php?title=Jakarta&printable=yes' jakarta.pdf

그래서 테스트

phantomjs rasterize.js "http://en.wikipedia.org/w/index.php?title=Jakarta&printable=yes" jakarta.pdf
Can't open 'rasterize.js'
Can't open 'rasterize.js'
실패



rasterize.js 파일은 받은 파일에 examples 폴더에 있습니다.

이제 다시 아래와 같이 우리가 만든 HTML 파일 변경을 시도합니다.

phantomjs ..\examples\rasterize.js W:\sample.html W:\sample5.pdf
Unable to load the address!
Unable to load the address!
실패
아주 잠시 고민 브라우저 창의 파일 주소를 생각해냈어요

phantomjs ..\examples\rasterize.js file:///W:/sample.html W:\sample5.pdf
넘나 중요한거 "file:///" 여기보면 "/" 가 3개라는거 꼭 기억하세요




성공

이제 코드에 적용해 보면 되겠네요~~




추가


리눅스에서 사용 방법 입니다.

우선적으로 설치후에 사용하려 하면 폰트관련 에러가 발생합니다.
( phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory )

아래에서 2~3번을 실행하면 관련 에러는 발생하지 않지만 한글이 깨지는 이슈가 있습니다.

한글 폰트깨짐을 해결하기 위해 4~10번의 과정을 해주면 한글도 잘 나오는걸 확인할 수 있습니다.
  1. tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2
  2. yum install libfontconfig.so.1
  3. yum install fontconfig
  4. yum install fonts-korean
  5. yum install cjkuni-fonts-common cjkuni-ukai-fonts cjkuni-uming-fonts
  6. yum install libXext libXrender xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi
  7. fc-cache -f -v
  8. wget http://cdn.naver.com/naver/NanumFont/fontfiles/NanumFont_TTF_ALL.zip
  9. mkdir /usr/share/fonts/nanumfont
  10. unzip NanumFont_TTF_ALL.zip -d /usr/share/fonts/nanumfont
  11. rm -f /usr/share/fonts/nanumfont/NanumFont_TTF_ALL.zip
  12. rm -f /usr/share/fonts/nanumfont/NanumBrush.ttf
  13. rm -f /usr/share/fonts/nanumfont/NanumPen.ttf


블로그 이미지

B급 감성

,

셀레니움을 통한 웹 테스트 준비 스크립트


드라이버 가져오기

ChromeDriver

get_chromedriver.sh
#!/bin/bash
os_name=`uname`
chromedriver_dir="chromedriver"
if [ ! -d $chromedriver_dir ]; then
mkdir $chromedriver_dir
fi

echo "downloading chromedriver"

if [[ $os_name == 'Linux' && ! -f $chromedriver_dir/chromedriver ]]; then
cd chromedriver && curl -L https://chromedriver.storage.googleapis.com/2.29/chromedriver_linux64.zip > tmp.zip && unzip -o tmp.zip && rm tmp.zip
# wait until download finish
sleep 5
elif [[ $os_name == 'Darwin' && ! -f $chromedriver_dir/chromedriver ]]; then
cd chromedriver && curl -L https://chromedriver.storage.googleapis.com/2.29/chromedriver_mac64.zip | tar xz
sleep 5
fi

GeckoDriver

get_geckdriver.sh
#!/bin/bash
os_name=`uname`

if [ -f geckodriver ]; then
exit 0
fi
echo "downloading gechdriver"

if [[ $os_name == 'Linux' ]]; then
cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz | tar xz
sleep 5
elif [[ $os_name == 'Darwin' ]]; then
cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-macos.tar.gz | tar xz
sleep 5
fi

Selenium

Selenium 가져오기

get_selenium.sh
#!/bin/bash

#check if selenium server is up running
pid=`lsof -ti tcp:4444`
if [ $? -eq 0 ]
then
kill -9 $pid
fi
java -jar -Dwebdriver.gecko.driver=../geckodriver -Dwebdriver.chrome.driver="chromedriver/chromedriver" ../webdriverio-test/selenium-server-standalone-3.0.1.jar &

환경설정

Linux

setup_linux_env.sh
#!/bin/bash

if [ "${TRAVIS_OS_NAME}" == "linux" ]
then
export CHROME_BIN="/usr/bin/google-chrome"
export DISPLAY=:99.0
sh -e /etc/init.d/xvfb start &
fi

OSX

setup_osx_env.sh
#!/bin/bash
if [ "${TRAVIS_OS_NAME}" == "osx" ]
then
brew cask install google-chrome
sudo Xvfb :99 -ac -screen 0 1024x768x8 &
export CHROME_BIN="/Applications/Google Chrome.app"
fi

테스트환경 검사

test_setup.sh
#!/bin/bash

EXIT_STATUS=0

function check_command {
"$@"
local STATUS=$?
if [ $STATUS -ne 0 ]; then
echo "error with $1 ($STATUS)" >&2
EXIT_STATUS=$STATUS
fi
}

check_command tests/scripts/get_geckdriver.sh
sleep 5
check_command tests/scripts/get_selenium.sh
sleep 5
check_command tests/scripts/get_chromedriver.sh
sleep 10
check_command tests/scripts/selenium_connect.sh
sleep 10

exit $EXIT_STATUS


블로그 이미지

B급 감성

,


Javascript XPath를 이용해서 Dom Element 가져오기


function getElementByXpath(path) {
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue;
}

console.log( getElementByXpath("//html[1]/body[1]/div[1]") );


블로그 이미지

B급 감성

,

Spring-boot RestAPI 와 Spring Security OAuth2 연동(spring-boot 1.5.10 기준)

Dependency 추가

Gradle

dependencies {
...
compile('org.springframework.boot:spring-boot-starter-security')
compile('org.springframework.security.oauth:spring-security-oauth2')
...
}

Maven

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security.oauth</groupId>
<artifactId>spring-security-oauth2</artifactId>
</dependency>

인증URL 설정

ResourceServerConfig.java

import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.oauth2.config.annotation.web.configuration.EnableResourceServer;
import org.springframework.security.oauth2.config.annotation.web.configuration.ResourceServerConfigurerAdapter;

@Configuration
@EnableResourceServer
public class ResourceServerConfig extends ResourceServerConfigurerAdapter {

@Override
public void configure(HttpSecurity http) throws Exception {
http.headers().frameOptions().disable().and()
.authorizeRequests()
.antMatchers("/swagger-resources/**","/swagger-ui.html",
"/v2/api-docs", "/webjars/**").permitAll() // Swagger Support
.antMatchers("/", "/api/public-key", "/error").permitAll()
.anyRequest().authenticated()
;
}
}
@EnableResourceServer 어노테이션을 추가한 클래스가 만들어지면 기본적으로 모든요청에 대해 인증을 필요로하게 된다.
특정 url에 대해서 인증을 필요로하지 않을 경우 위와같이하면 permitAll 을 제외한 모든 요청에 인증이 필요하다는 설정이고
또는 특정 url에 대해서만 인증이 필요하다면 permitAll과 authenticated 호출하는 부분의 순서를 바꿔주면 된다.

properties 추가

application.yml

security.oauth2:
client.client-id: foo
client.client-secret: bar
resource.token-info-uri: http://192.168.88.133:8780/oauth/check_token
auth-server-uri: http://192.168.88.133:8780
token요청 및 검증을 위해 인증서버의 tokin-info-uri와 client id/secret 등 설정이 추가되어야함

Swagger 관련 설정

SwaggerConfig.java

@Value("${security.oauth2.auth-server-uri}")
private String authServer;
@Value("${security.oauth2.client.client-id}")
private String clientId;
@Value("${security.oauth2.client.client-secret}")
private String clientSecret;


@Bean
public Docket api(ServletContext servletContext) {
return new Docket(DocumentationType.SWAGGER_2)
....
.securitySchemes(Arrays.asList(securityScheme()))
.securityContexts(securityContexts())
....
;
}

@Bean
public SecurityConfiguration security() {
return SecurityConfigurationBuilder.builder()
.clientId(clientId)
.clientSecret(clientSecret)
.scopeSeparator(",")
.useBasicAuthenticationWithAccessCodeGrant(true)
.build();
}

private SecurityScheme securityScheme() {
GrantType grantType = new AuthorizationCodeGrantBuilder()
.tokenEndpoint(new TokenEndpoint(authServer + "/oauth/token", "oauthtoken"))
.tokenRequestEndpoint(
new TokenRequestEndpoint(authServer + "/oauth/authorize", clientId, clientSecret))
.build();
SecurityScheme oauth = new OAuthBuilder().name("spring_oauth")
.grantTypes(Arrays.asList(grantType))
.scopes(Arrays.asList(scopes()))
.build();
return oauth;
}
private AuthorizationScope[] scopes() {
AuthorizationScope[] scopes = {
new AuthorizationScope("read", "for read operations"),
new AuthorizationScope("write", "for write operations")
};
return scopes;
}

    private List<SecurityContext> securityContexts() {
        List<SecurityContext> securityContexts = new ArrayList<>();
        String paths[] = {
                "/api/dashboard.*",
                "/api/metric-statistics.*"
        };

        for (String path: paths) {
            securityContexts.add(SecurityContext.builder()
                    .securityReferences(Arrays.asList(new SecurityReference("spring_oauth", scopes())))
                    .forPaths(PathSelectors.regex(path))
                    .build());
        }

        return securityContexts;
    }
Oauth서버의 해당클라이언트에 허용가능한 scope와 인증이 필요한 API Path등을 Swagger에 적용한다


블로그 이미지

B급 감성

,

Office - PDF export 용량 줄이기

아주 간단합니다. SaveAs( 다른이름으로 저장하기)에서 웹게시용만 선택하면 끝~~~

0



파일 --> 다른 이름으로 저장 --> [원하는 위치]
or
Ctrl + Shift + s
1


파일형식 - pdf
최소 크기(온라인 게시) 선택
2


조금 시간이 걸려요 ......
3


짜짠~~~ 25MB --> 3MB

끝~

P.S : PDF 말고 그냥 용량 줄이기

다른 이름으로 저장 에서
우측 하단에 "도구" --> 그림 압축
- 웹 또는 전자메일 정도 선택
- 잘려진 그림 영역 삭제 체크
4



블로그 이미지

B급 감성

,