Month: May 2011
[bookmark] 獨木舟 , Kayak , 波浪圖
台灣獨木舟推廣協會
TKS│Taiwan Kayak School│台灣獨木舟海洋學校
日本氣象廳
東引 http://www.windguru.cz/int/index.php?sc=141101&switchlang=1
基隆嶼 http://www.windguru.cz/int/index.php?sc=233381
彭佳嶼 http://www.windguru.cz/int/index.php?sc=225553
蘇澳三仙 http://www.windguru.cz/int/index.php?sc=223966
東澳烏石鼻 http://www.windguru.cz/int/index.php?sc=92543
福隆 http://www.windguru.cz/int/index.php?sc=68403
各類使用 http proxy 的設定方法: pecl / pear / apt / rpm / yum
pear config-set http_proxy http://172.30.1.123:8080/ export http_proxy="http://172.30.1.123:8080"
amazon aws ami LAMP / NGINX / PHP / memcache steps
// —–
Using NGINX + PHP5-FPM sudo apt-get install nginx php5-fpm php5-mysql cd /etc/init.d/ sudo service apache2 stop sudo update-rc.d -f apache2 remove http://yoodey.com/how-install-configure-nginx-php-fpm-memcached-work-drupal-7-ubuntu-1010-maverick Install Memcached sudo apt-get install memcached libmemcached-dev php5-memcached php5-memcache
// ====================
Getting a new virtual machine up and running from the default AMI is easy. Here’s my cookbook: Install basic services yum install mysql mysql-server mysql-devel yum install httpd httpd-devel yum install php php-devel php-mysql php-gd php-dom php-pear php-json yum install svn Configure those services to start at boot chkconfig –level 345 httpd on chkconfig –level 345 mysqld on chkconfig –list Install APC I couldn’t find a package, and this bug report explains why we have to use the beta. yum install gcc pcre-devel pecl install apc-beta echo extension=apc.so > /etc/php.d/apc.ini Install memcached yum install libevent libevent-devel curl -O http://memcached.googlecode.com/files/memcached-1.4.5.tar.gz cd memcached-1.4.5 ./configure make ; make install /usr/local/bin/memcached -u nobody -d -m 30 -l 127.0.0.1 -p 11211 // ---- <pre> [root@ip-10-130-9-23 log]# cat /etc/fstab # LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=5,mode=620 0 0 sysfs /sys sysfs defaults 0 0 proc /proc proc defaults 0 0 [root@ip-10-130-9-23 log]# cat /etc/mtab /dev/xvda1 / ext4 rw,noatime 0 0 proc /proc proc rw 0 0 sysfs /sys sysfs rw 0 0 devpts /dev/pts devpts rw,gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs rw 0 0 none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0 </pre>
Garmin 310XT PK iPhone4 GPS location 精準度
這個是 5/12 跑運動場跑道外圈 15圈的結果, PK結論是 Garmin 310 XT 贏 iPhone 4 在 GPS location 精準度部分 (果然還是得讓專業的來 XD)