처음 접하는 clojure
변수 선언, 함수 정의를 포함해서 전부 명령형 언어에서 함수호출 하듯이 작성해야 한다.예약어로 불리는 것들이 없다. if같은 조건문 조차도 core library함수로 제공된다. 개발툴에서 syntax highlighting기능으로 예약어 강조표시를 해주는데 clojure에서는 모든 함수명이 강조표시 된다.
AnasAbdin
No title available
$LAYYYTER

Janaina Medeiros

roma★

#extradirty
Xuebing Du
Peter Solarz
i don't do bad sauce passes
Jules of Nature
Aqua Utopia|海の底で記憶を紡ぐ
h
YOU ARE THE REASON

izzy's playlists!

No title available
let's talk about Bridgerton tea, my ask is open

Discoholic 🪩
he wasn't even looking at me and he found me
we're not kids anymore.
Game of Thrones Daily
seen from Malaysia
seen from United States
seen from United States
seen from United States
seen from United States
seen from Australia

seen from France

seen from Türkiye
seen from United States
seen from United States

seen from Argentina

seen from Türkiye

seen from Canada
seen from United States
seen from United States
seen from Australia
seen from United States

seen from United States
seen from Canada
seen from United States
@silverprize
처음 접하는 clojure
변수 선언, 함수 정의를 포함해서 전부 명령형 언어에서 함수호출 하듯이 작성해야 한다.예약어로 불리는 것들이 없다. if같은 조건문 조차도 core library함수로 제공된다. 개발툴에서 syntax highlighting기능으로 예약어 강조표시를 해주는데 clojure에서는 모든 함수명이 강조표시 된다.
angularjs 웹앱 모듈관리 팁
모듈을 정의해야 controller, directive등을 만들 수 있는데 모듈 정의와 구현을 꼭 한 파일에 할 필요는 없다.
모듈 정의를 관리하는 js파일을 만들면 된다. 모듈을 본격 구현하는 js파일에서 모듈 인스턴스를 얻어서 controller, directive, service등을 추가한다.
샘플코드로 알아보자 - module.js (모듈정의) angular.module('moduleA', []); angular.module('moduleB', ['ngRoute']);
- moduleA.js (모듈구현) angular.module('moduleA').controller('CtrlA', function() {.....}); angular.module('moduleA').directive('directiveA', function() {.....});
이런 식으로... 그리고 이런저런 레퍼런스를 봤다면 보통 app.js파일을 만들 것인디 이렇게 dependency injection을 한다. - app.js angular.module('app', ['moduleA', 'moduleB']); (근데 이것도 module.js에서 해도 되는데...)
마지막으로 ng-app지정 - index.html <html ng-app="app">
주의할 점은 module.js파일을 <script>태그로 가장 먼저 로딩해야 한다 끝!
angularjs material 해보기
첫번째로 부딪히는 문제는 뭘 어디서 다운로드 해야 되느냐 여기서! https://github.com/silverprize/bower-material
두번째로 부딕히는 문제는 js, css를 뭘 넣어야 되느냐 위 링크에서 샘플이 있다!
주의사항으로 angularjs 1.3+ 사용하라고 하는데 1.3이상은 아직 stable release가 없다. directive를 표시할 준비가 되었다면 https://material.angularjs.org/ demo소스코드를 복붙해보며 감을 잡자
yosemite 업그레이드 후 apache2 user dir 접근불가
yosemite 업그레이드 후 localhost/~user접속했더니 404 error가 났다 apache2 설정파일 경로가 바뀐듯 하다.
/private/etc/apache2/users/에 직접 만든 user.conf파일 넣어주고
/private/etc/apache2/extra/httpd-userdir.conf에서 "Include /private/etc/apache2/users/*.conf" 주석 풀어주고
/private/etc/apache2/httpd.conf에서 "Required module: mod_authz_core, mod_authz_host, mod_userdir" 해당하는 모듈들 주석 풀어주고
sudo apachectl restart 입력
된다!