在不用VPN的情況下,我想要進到公司內部網路,有兩個目地:
1. 存取內部系統
2. 出國頻寬過公司(台固)比家中ADSL(中華電信)較快,這樣我看YouTube就不會delay
SSH Tunnel
// -D bind 一個 "dynamic" 的port // -C 傳輸經過壓縮 # ssh -D 3128 -C beer@tunnel.host
在不用VPN的情況下,我想要進到公司內部網路,有兩個目地:
1. 存取內部系統
2. 出國頻寬過公司(台固)比家中ADSL(中華電信)較快,這樣我看YouTube就不會delay
// -D bind 一個 "dynamic" 的port // -C 傳輸經過壓縮 # ssh -D 3128 -C beer@tunnel.host
在freebsd 上裝rails實在很簡單。
# cd /usr/ports/www/rubygem-rails
# make install clean
// 裝完看一下裝了什麼
# ruby -v
ruby 1.8.7 (2009-04-08 patchlevel 160) [amd64-freebsd7]
# rails -v
Rails 2.3.3
# gem -v
1.3.4
# gem list
*** LOCAL GEMS ***
actionmailer (2.3.3)
actionpack (2.3.3)
activerecord (2.3.3)
activeresource (2.3.3)
activesupport (2.3.3)
hoe (2.3.2)
memcache-client (1.7.4)
rack (1.0.0)
rails (2.3.3)
rake (0.8.7)
rubyforge (1.0.3)
sources (0.0.2)
ZenTest (4.1.3)
但是我遇到下面的問題:
// 跑一支 testapp
# rails testapp
undefined method `camelize' for "app":String
我在這篇找到問題出在ruby-iconv:
// 裝ruby-iconv
# cd /usr/ports/converters/ruby-iconv
# sudo make install clean
有同樣問題可以試試

Open ID
OpenID Authentication 2.0 - Final
Read the Specifications
A Recipe for OpenID-Enabling Your Site
OpenID Simple Registration Extension 1.0
OpenID Enabled
Google moves towards single sign-on with OpenID
Federated Login for Google Account Users
Google Federated Login API
Yahoo! Supports OpenID 2.0!
Why Yahoo! says your OpenID site's identity is not confirmed
OAuth Getting Started
Google OAuth Authentication for Web Applications
Yahoo OAuth Authorization Flow
Google group OAuth
OAuth End-User Experience Demo
A typical example,詳細解說