레이블이 OSX인 게시물을 표시합니다. 모든 게시물 표시
레이블이 OSX인 게시물을 표시합니다. 모든 게시물 표시

2015년 7월 18일 토요일

$TMPDIR in OSX

cd $TMPDIR


TMPDIR as defined in OSX is only accessible by yourself which reduces the risk of somebody else accessing your temp files created by programs using mktemp() to create temporary files.

...

/tmp is cleared out regularly on OSX (see /etc/defaults/periodic.conf), /var/tmp very rarely (if at all).


from http://apple.stackexchange.com/questions/22694/private-tmp-vs-private-var-tmp-vs-tmpdir

2015년 3월 20일 금요일

Default account picture location of Mavericks




/Library/User Pictures 에 사진 넣어야 보임


2015년 2월 17일 화요일

Mavericks 에서 PHP 활성화


아래처럼 하면 끝~


Mavericks comes with PHP 5.4.17, so now we need to turn it on:
sudo nano /etc/apache2/httpd.conf
Use ctrl+w to search within nano and search for “php”. Uncomment the first line you find (remove the #):
LoadModule php5_module libexec/apache2/libphp5.so
Press ctrl+o and then ctrl+x to save and exit. Restart Apache for the change to kick in:
sudo apachectl restart