分开使用,开发两部分来
2010年10月24日星期日
2010年9月27日星期一
webos database
这应该并不局限于pre的webos,应该说是html5的sql教程。因为webkit比较好的支持html5,所以基于webkit浏览器的iphone,palm的pre,都应该能很好地应用sqlite数据库。下面以pre的为主。
2010年9月12日星期日
2010年8月23日星期一
ssh tunnel proxy under your plam pre plus
脑残方法:
first you should create a proxy like this
then,edit your hosts like that
now,open your browser in your pre,vist www.youtube.com.
进阶方法:
无错。我终于搞好了。
apt-get install privoxy
vi /etc/privoxy/config
vi /etc/sysctl.conf
/etc/init.d/privoxy restart
ssh -D 7070 -N user@remotehost
用完记得:
iptables -t nat -F
/etc/init.d/privoxy stop
有图有真相

后续.....
考虑移植到webos下,脱离ubuntu
default.filter
user.action
default.action
match-all.action
config
privoxy
privoxy依赖apt-get install libpcre3
first you should create a proxy like this
ssh -L 80:www.youtube.com:80 -N user@proxyhost
then,edit your hosts like that
127.0.0.1 www.youtube.com
now,open your browser in your pre,vist www.youtube.com.
进阶方法:
无错。我终于搞好了。
apt-get install privoxy
vi /etc/privoxy/config
forward-socks5 / 127.0.0.1:7070 .
listen-address 127.0.0.1:8118
accept-intercepted-requests 1
vi /etc/sysctl.conf
net.ipv6.conf.all.disable_ipv6 = 1
/etc/init.d/privoxy restart
ssh -D 7070 -N user@remotehost
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-ports 8118
用完记得:
iptables -t nat -F
/etc/init.d/privoxy stop
有图有真相

后续.....
考虑移植到webos下,脱离ubuntu
default.filter
user.action
default.action
match-all.action
config
privoxy
privoxy依赖apt-get install libpcre3
订阅:
博文 (Atom)