20091027

[轉載]噗浪(plurk)共同創辦人雲維彬分享的創業心得

原出處:http://alvinwoon.com/dev/speech.html Alvin Woon, Plurk (plurk創辦人,雲維彬)
http://alvinwoon.com/dev/speech.html

* Don't worry about money. Make something that people want. And that is so much harder

真正需要關注的是如何讓使用者獲得更好的以及真正需要的,不能只是一味的想要"賺錢"

* Release early and iterate

快點放手去做,就可以快點發現錯誤,並即時修正錯誤,經歷這樣的過程是非常重要的

* Be pragmatic. Don't get too attached with your original idea

別一直執著於原本的計畫,因為也許在開始就走錯了方向

* The biggest risk is the risk of not doing anything at all. What's the worst can happen?

不願意改變現狀比嘗試新事物來的更為危險

* Be persistent. Ignore hype or baseless criticism (they are just jealous)

堅持自己,別理會那些耳語以及不實的評論(他們只是在忌妒你)

* Startup takes over your life. It's an emotional rollercoaster

創業一旦啟動將會佔據你所有的生命

* Co-founders are important

說服一個人一起合作,若連一起合作的夥伴都無法說服,更別說要打動其他人。此外,不要自己一個人悶頭做,因為很多想法是需要多方思考的

* Don't worry about clones or competition

別在意那些模仿、比較,別把時間放在關心別人在做些甚麼,把自己做好才是最重要的

* Hire someone who is smarter than you

別吝嗇花錢雇用一個優秀的人才,並好好照顧他

* Have fun!

一定要快樂!

from http://www.nciku.com.tw/space/space.php?uid=6&do=blog&id=2895&cid=13197

20091014

很有用但是常常忘記的指令(我會常常更新的)

幹~~~我真的是超健忘的
以下就是我常用卻又很重要的指令
#1 用mutt login 到localhost的imap
mutt -f imap://user@localhost
#2 用du show /home/* 的使用量不包含子目錄內
# -s, --summarize display only a total for each argument
du -s /home/*
du -s /home/*|sort -nr 這個就比較有威力了吧
du -s /home/*|sort -nr|awk -F\ '{ print $1}' #這個是萃取容量大小的欄位
#3 網路校時
ntpdate tock.stdtime.gov.tw && /sbin/hwclock -w
#4 DNS Query
dig
dig [@server] [FQDN] [type]
dig yahoo.com.tw MX #使用你預設的DNS查詢yahoo.com.tw的MX
dig 168.95.1.1 yahoo.com.tw NS #使用CHT的DNS查詢yahoo.com.tw的NS
#5 去除重複
uniq
cat afile.txt | sort | uniq >> bfile.txt
sort -u 也可以做到uniq
#6 壓縮/解壓縮
壓縮
tar -zcvf filename.tar.gz /path/target
解壓縮
tar -zxvf filename.tar.gz
檢視壓縮內的檔案內容
tar -ztvf filename.tar.gz
#7 數值運算
bash做數值運算
echo "(865999.1/1024000.2)*100"|bc -l
echo "$(echo "scale=3; 8900000/1000000"|bc -l)"
#8 ls 按照時間排序
ls -alr --time-style=long-iso --sort time|less
#9 dig 反解
dig -x x.x.x.x
#10 Query目錄內檔案或目錄絕對路徑
檔案的絕對路徑
find /home/10946/ -type f
目錄的絕對路徑
#11 顯示encodeing Base64的中文字
perl -MMIME::Base64 -MEncode=decode -n -00 -e 's/\n //g;s/(?<=:: )(\S+)/decode("UTF-8",decode_base64($1))/eg;print'
使用方式是加在pipe後面
from perlmonks.org
#12 加總來自非公司內部的信件容量
awk '/: from=</ && !/taiyi/ { print $8}' /var/log/mail.log|awk -F"size=" '/[0-9]/ { sum+=$2} END {print sum/1024/1024}'
#13 LVM
lvcreate -L 9G -n root vgpoollvcreate -l 100%FREE -n swap vgpoollvextend -l +100%FREE /dev/vgpool/root