- 沒有發現內建ufw,導致對外連線鬼擋牆,只知道vps提供的firewall
2025年5月5日 星期一
2017年11月6日 星期一
Linux Debian 8 installation note
- change password : passwd root
- change port of ssh
- vi /etc/ssh/sshd_config
- Port
- /etc/init.d/ssh restart
- apt-get update, apt-get upgrade
- htop : apt-get install htop
- iftop : apt-get install iftop
- tmux : apt-get install tmux
- vi ~/.tmux.conf
- https://goo.gl/yrloua
- set -g default-terminal "screen-256color"
- aliase tmux = 'tmux -2'
- vim :
- vim ~/.vimrc
- set nocompatible
- set backspace=2
- Apache2
- apt-get -y install apache2
- remove default index.html under /var/www/html
- restart : /etc/init.d/apache2 restart
- show enabled site : apache2ctl -S
- enable site : a2ensite
- disable site : a2dissite
- reload : /etc/init.d/apache2 reload
- PHP5
- apt-get -y install php5 libapache2-mod-php5
- MySQL MariaDB support : apt-get -y install php5-mysqlnd php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
- Wordpress
- Rsync : apt-get -y install rsync
- Rclone : https://rclone.org/install/
- for google drive
2017年10月26日 星期四
Memory for CPU
- 我的CPU使用歷程
- Intel 486DX 33
- 第一台電腦
- Intel 486DX2 66
- 第一台電腦升級CPU
- Intel Pentium 166
- 第二台電腦,聯強套裝
- AMD K6 200
- AMD K6 2 266 oc 300
- SOYO 5EHM
- AMD Duron 600 oc 900
- 第一台組裝電腦
- A7V A7V133
- AMD Athlon XP 1800+ ver a
- 不太能超,短時間使用
- AMD Athlon XP 1800+ ver b @ 1533 oc 2200
- B板很能超,不過實際超到多少有點忘了
- 配上陞技的NF7S再用,同時也有配過水冷
- AMD K8 3000
- 降價跟便宜的MSI板子一起買,但是驅動容易跳掉,原因不明,短期使用賣掉
- Intel Core2 duo 6300 oc 3g to 2014
- 因為有便宜的865 AGP的板子可以用,所以買的,應該是目前最貴用最久超最多的CPU,最終有換上P35的板子再用
2010年11月22日 星期一
2010年11月12日 星期五
Flex XML 心得
- XML 內容的物件(Object) 與 XML物件(XML) 間使用的差別
- 注意XML 物件起始位置的問題 , root 為物件本身!
- XML 內容的物件(Object) 物件起始位置不然 root本身!
- XML物件轉型必須用parseInt...之類的,不可是用Object常用的as Int
- 注意一下免的鬼檔牆到死
2010年11月5日 星期五
Flex Custom Component How to
有兩種建立自定元件的方向
- 延伸現有元件 - 繼承某個元件,但不修改本身的原有的功能
組合,新增某些功能 - 修改現有元件- 繼承某個元件,但修改本身的原有的功能
修改,強化某些功能
- Official Doc from livedocs - read first
http://livedocs.adobe.com/flex/3/html/help.html?content=ascomponents_advanced_3.html
2010年9月3日 星期五
Flex development - no server app change to j2ee app - RemoteObject faultDetail=null
If you created a flex app with no server technology and you want to change that to j2ee app.
or your RemoteObject always fault and faultDetail=null
Add -services "somewhere on your computer/WEB-INF/flex/services-config.xml"
serverContextRoot="/????"
serverRoot="????"
serverRootURL="http://????"
???? depend on your j2ee server settings
or your RemoteObject always fault and faultDetail=null
- Try to modify your flex compiler arguments .
Add -services "somewhere on your computer/WEB-INF/flex/services-config.xml"
- Find .flexProperties file and add
serverContextRoot="/????"
serverRoot="????"
serverRootURL="http://????"
???? depend on your j2ee server settings
訂閱:
文章 (Atom)