Tags » *nix

java_home environment variable

Windows

N/A

OS X

installations

$ ls -l /Library/Java/JavaVirtualMachines/
....
$

/usr/libexec/java_home

$ /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdkx.y.z_mm.jdk/Contents/Home

$ /usr/libexec/java_home -v 1.8
/Library/Java/JavaVirtualMachines/jdk1.8.0_mm.jdk/Contents/Home

$ /usr/libexec/java_home -v 1.7
/Library/Java/JavaVirtualMachines/jdk1.7.0_mm.jdk/Contents/Home

… 63 more words
Programming

curl을 이용해 바이너리 파일 올릴 때 주의할 점

curl을 이용해서 PUT 메서드를 테스트하던 중 데이터가 이상하게 올라가는 현상을 발견했습니다.

$ curl -X PUT -H "Content-Type: image/jpeg" --data @a.jpg http://...

올라가긴 잘 올라가는 것 같은데 브라우저로 이미지를 불러보면 안보입니다. 15 more words

*nix

NotePad++: Text Editor which shows \r\n (via: Stack Overflow)

I hadn’t monitored Notepad++ in a very long time, so I was glad that User Thomas Owens mentioned that it can show you the CR and LF codes: 85 more words

Power User

Meet Nix

We’re taking a break from the regularly scheduled Monday recipe post so I can introduce you to the newest member of our family. Meet Nix! 581 more words

ssh-copy-id with os x

ssh-copy-id command is not found in OS X terminal.
You know what I did?

$ brew install ssh-copy-id

What a perfect blog entry, huh?

*nix