20111207

UNetbootin

Introduction
UNetbootin allows you to create bootable Live USB drives for Ubuntu, Fedora, and other Linux distributions without burning a CD. It runs on Windows, Linux, and Mac OS X. You can either let UNetbootin download one of the many distributions supported out-of-the-box for you, or supply your own Linux .iso file if you've already downloaded one or your preferred distribution isn't on the list.
UNetbootin

20110927

懲罰

把Radhat發給我的信印出來貼在自己家裏電腦桌及電視旁
時時刻刻提醒自己

RHCE沒有過,沒有任何娛樂,最多就只能運動而已。

失敗的人沒有權利享受娛樂。

20110923

RHCSA Fail

玩Linux很多年了,直到今天考完RHCSA才發現自己過去是多麼的自大
會架Mail Server會跟AD整合又怎樣,會用SAMBA架OS Recover Server又怎樣
還不是考不過
為什麼考不過,就是對自己太有信心了,太自滿,太自大
基本功沒練好還是沒屁用的

該結束老是對自己妥協的日子了
再這樣下去遲早變廢物、沒競爭力

我能記得多久勒,哪得要看我是不是又會去當廢人了。

陳裕益,別忘記20110922這天你有多廢。

20110624

有些事情不方便在Social上講

這二週火氣似乎非常的大
一股腦的火氣就直接的燒到妳
妳只是默默承受
真是抱歉

20110408

改HTC Hero的agps 下載位置

先修改好gps.conf 『charset=ANSI』存成UNIX的文字檔案格式
NTP_SERVER=tw.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin
SUPL_HOST=supl.google.com
SUPL_PORT=7276
然後放到sdcard
c:\android\adb shell
#su - root
#mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
重新mount /system 成可以寫入的磁區,至於-t yaffs2應該就是Android的FileSystem的Type了
#cp /mnt/sdcard/gps.conf /system/etc/gps.conf
抓sdcard的來覆蓋掉/system/etc/gps.conf
#sync
#sync
#reboot

這樣一來可以加快GPS定位的時間,讚~~~

參考資料:http://www.mobile01.com/topicdetail.php?f=566&t=1924972&p=1

用javascript來Readonly某個文字欄位

HTML
<input type="text" name="foo" value="bar" disabled>

javascript
document.formName.elementName.disabled=true

20110120

如何Unlock Oracle 中的User

Oracle 中的User被Lock住了可以這麼解

#sqlplus / as sysdba

SQL> conn sys as sysdba
Enter password:
Connected.
SQL>
SQL> select USERNAME,ACCOUNT_STATUS,LOCK_DATE from dba_users where USERNAME=’$USERNAME’;
#query 你要的user出來確認該username的狀態

SQL> alter user $USERNAME account unlock; # unlock!!!


參考來源
http://monishsb.wordpress.com/2008/10/10/lock-unlock-users/