-
알라딘 인문학스터디
-
2016년 6월 4일 토요일 오후 2시
-
마포구립 서강도서관 2층 다목적실
-
통역 서혜정
-
들으면서 적었으므로 옮기면서 달라졌을 수 있습니다.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(let [uri (URI. "ceds://host.net/path1/p2?quiet#myidw")] | |
[(.getHost uri) (.getPath uri) (.getScheme uri) (.getQuery uri) (.getFragment uri)]) | |
==> ["host.net" "/path1/p2" "ceds" "quiet" "myidw"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private String r06Display(String code) { | |
if (code == null) { | |
return ""; | |
} | |
if (code.equals("0")) { | |
return "없음"; | |
} | |
if (code.equals("1")) { | |
return "1mm 미만"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"dday": { | |
"id": 5728072679555072, | |
"accountId": "[email protected]", | |
"name": "아주미래", | |
"startTime": "2016-01-21 11:53 +0900", | |
"alarm": true, | |
"createdTime": "2015-09-23 11:54 +0900", | |
"enabled": true, | |
"location": "대전광역시 대덕구", |
no contents
https://www.youtube.com/watch?v=lE6Hxz4yomA
https://www.youtube.com/watch?v=aieoAWXNjl0
http://naa4e.codeplex.com http://facebook.com/naa4e
- Crunch knowledge about the domain
- Recognize subdomains
- Design a rich domain model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; handler | |
(def app | |
(-> (routes | |
api-routes ;; for rest api | |
(wrap-routes home-routes middleware/wrap-csrf) ;; for regular web site | |
base-routes) | |
middleware/wrap-base)) | |
;; middleware에 있는 wrap-base | |
(defn wrap-formats [handler] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://opentutorials.org/course/128/8657 | |
$ sudo apt-get update | |
$ curl -sSL https://get.docker.com/ubuntu/ | sudo sh # Docker를 설치하자. | |
$ sudo docker images #이미지 목록을 살펴보자. 아무 것도 없다. | |
$ sudo docker pull ubuntu:14.04 # 우분투를 땡켜오자. | |
$ sudo docker run -i -t ubuntu:14.04 /bin/bash # 땡겨온 우분투로 bash를 실행하자. | |
$ # 다른 터미널로 접속해 아래와 같이 docker ps를 하면 방금 실행한 bash가 보인다. 이게 지금 컨테이너에서 실행되는 것이다. | |
$ sudo docker ps -a # 실행중인 컨테이너 목록을 보자. -a는 종료된 컨테이너도 보는 옵션. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# refer http://www.jayway.com/2014/01/15/how-to-switch-jdk-version-on-mac-os-x-maverick/ | |
#creating a special home for Java 8 | |
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8) | |
#creating a special home for Java 7 | |
export JAVA_7_HOME=$(/usr/libexec/java_home -v1.7) | |
#creating a special home for Java 6 | |
export JAVA_6_HOME=$(/usr/libexec/java_home -v1.6) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private byte[] downloadFile(String downloadUrl) throws MalformedURLException, | |
IOException, ProtocolException { | |
URL url = new URL(downloadUrl); | |
HttpURLConnection connection = (HttpURLConnection) url.openConnection(); | |
connection.setRequestMethod("GET"); | |
ReadableByteChannel src = Channels.newChannel(connection.getInputStream()); | |
ByteArrayOutputStream baos = new ByteArrayOutputStream(); | |
WritableByteChannel dest = Channels.newChannel(baos); | |
ChannelTools.fastChannelCopy(src, dest); | |