Phalcon framework testing
luosteve@SteveMac [10:55:51] [~/tmp]
-> % git clone --depth=1 git://github.com/phalcon/cphalcon.git
Cloning into 'cphalcon'...
remote: Counting objects: 1437, done.
remote: Compressing objects: 100% (971/971), done.
remote: Total 1437 (delta 593), reused 799 (delta 352)
Receiving objects: 100% (1437/1437), 2.08 MiB | 792.00 KiB/s, done.
Resolving deltas: 100% (593/593), done.
Checking connectivity... done.
luosteve@SteveMac [10:56:01] [~/tmp]
-> % cd cphalcon/build
root@SteveMac [10:56:35] [~/tmp/cphalcon/build] [master]
-> # ./install
.
.
.
.
.
.
une=native -O2 -finline-functions -fomit-frame-pointer -fvisibility=hidden -o phalcon.la -export-dynamic -avoid-version -prefer-pic -module -rpath /Users/luosteve/tmp/cphalcon/build/64bits/modules phalcon.lo
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o .libs/phalcon.so -bundle .libs/phalcon.o -march=native -mtune=native
dsymutil .libs/phalcon.so || :
warning: no debug symbols in executable (-arch x86_64)
creating phalcon.la
(cd .libs && rm -f phalcon.la && ln -s ../phalcon.la phalcon.la)
/bin/sh /Users/luosteve/tmp/cphalcon/build/64bits/libtool --mode=install cp ./phalcon.la /Users/luosteve/tmp/cphalcon/build/64bits/modules
cp ./.libs/phalcon.so /Users/luosteve/tmp/cphalcon/build/64bits/modules/phalcon.so
cp ./.libs/phalcon.lai /Users/luosteve/tmp/cphalcon/build/64bits/modules/phalcon.la
----------------------------------------------------------------------
Libraries have been installed in:
/Users/luosteve/tmp/cphalcon/build/64bits/modules
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
Build complete.
Don't forget to run 'make test'.
Installing shared extensions: /Users/luosteve/.phpbrew/php/php-5.5.10/lib/php/extensions/no-debug-non-zts-20121212/
Thanks for compiling Phalcon!
Build succeed: Please restart your web server to complete the installation
./install 27.78s user 3.81s system 99% cpu 31.690 total
Phabricator 安裝
][1]
Phabricator 是 FasceBook 所開發出來的開源軟體 web applications,包含各種專案程式碼控管需要的功能 Review Code,Track Bugs,Browse Source…
接下來開始安裝,本文範例接來自官網使用手冊.
FreeBSD 安裝使用RVM
FreeBSD 安裝使用RVM
$ wget --no-check-certificate https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer
$ chmod +x rvm-installer
$ ./rvm-installer --version latest
Go 語言~ 初學筆記
主要學習文件依照下面的連結閱讀
https://github.com/astaxie/build-web-application-with-golang
首先安裝Go,Go也有第三方套件做版本切換gvm.
https://github.com/moovweb/gvm
依照只是裝好後.
$ gvm install go1
Downloading Go source...
Installing go1...
* Compiling...
$ gvm use go1
Now using version go1
$
接下來可以開始試用Go !!
Ruby Version Manager
Ruby Version Manager
介紹
最近同事都在看Ruby,想說跟進一下神人們的腳步.看看是不是可以開竅點@@
Ruby 依照以前安裝套件經驗,版本是最難搞的.
慶幸有很多開發人員先鋒,做的很多貢獻.
如今才有RVM Ruby Version Manager 誕生!!解決很多初學者很多困擾障礙.
RVM是一套Ruby版本控管可以在各版號切換.甚至自定版號與安裝套件之間切換.
FreeBSD 安裝Gitlab 4.1
GitLab
GitLab 是一套webbase的管理系統,與有名的github 非常類似.
特性 快速, 安全與穩定的方案使用 Rails & Gitolite開發,並且使用MIT License授權.
如果這樣還沒有概念那就看看官網的 screenshots.
再來看怎摸安裝…
FreeBSD官網不支援,觀玩建議安裝使用Debian/Ubuntu 其他如RedHat linux bases都有人安裝成功過.
就是沒有FreeBSD!!!!!!!!!阿阿阿阿阿阿阿阿阿阿
再來只好花費週末8個小時撞牆來安裝.
FreeBsd 9.1 安裝遇到 Python not found!
如果你安裝遇到:
Checking for Python support:
** Python not found!
error: Python.h: No such file or directory
解決方式 就執行下列:
cd /usr/ports/lang/python ; make install clean
cp /usr/local/include/pth/* /usr/local/include/python2.7/
Embeda UNO.Net新手測試!! 接 熱釋紅外線感應 BISS0001
之前介紹過Embeda 現在來實際玩玩.
逛了網拍 找到 人體紅外線感應模組 熱釋紅外線感應 BISS0001來試試.[
Embeda(mbed) 介紹 & Mac 10.8 開發使用
Embeda 是由國內廠商,於知名mbed所開發而來的.相容原有mbed系統(目前我測試是這樣的)資源豐富.
而mbed(MCU微控制器)類似於Arduino 都屬於簡單易用可快速架構開發.
各位可以前往官網查詢購買方式.
http://www.embeda.com.tw/tw/
接下來直接開箱:[
][1]
(收到的樣子,大家可以看到實際大小實在夠迷你!!)[
][3]
(整個控制版)[
(接上usb即可使用)
Open Source TextMate 2
TextMate
Mac上老牌編輯器功能強大.
最近被
Sublime Text
給超越了.
並於2012/08/09 開源了.發佈於 https://github.com/textmate/textmate
安裝使用方式:
brew install ragel boost pgrep multimarkdown hg
brew install --HEAD https://raw.github.com/adamv/homebrew-alt/master/head-only/ninja.rb
git clone https://github.com/textmate/textmate.git
cd textmate
./configure && ninja
PS.(自太小自己調整)