Monster Oasis
覺得累就是進步的開始!

2010/08/19

ebay token usage

Filed under: Network service,Programming/misc — Tags: , , — 12:17 pm

這邊有個圖, 跟 ebay API 串接時的 token / session id 等動作說明得很清楚

(more…)

2010/08/05

Online 畫草圖工具 / Online draft editing tools

Filed under: Copy_N_Paste,Network service,Software — Tags: , — 3:45 pm

http://amos-lee.blogspot.com/2010/05/10.html

http://www.mockflow.com/

http://www.balsamiq.com/builds/mockups-web-demo/?q=demos/mockups/Mockups.html

2010/03/17

tracking system 新點子

Filed under: JOB,Network service,Programming/C — 2:55 pm

上週聽了 ora 公司的產品說明, 覺得不錯.

它是 tracking system 產品, 可是更 friendly / 非侵入式的作法, 它利用 switch 或 SLB設備的 mirror port 把流經的 traffic 導進這個 program , 由這個 program 來進行 traffic 分析.

架構簡圖:

420dbc62a3d3bc44984d3a927888b7fe

 

若要自行作的話可能會需要看懂這個

Programming with pcap
http://www.tcpdump.org/pcap.htm

The Sniffer’s Guide to Raw Traffic (a libpcap tutorial)
http://yuba.stanford.edu/~casado/pcap/section1.html

2010/03/10

不錯的配色網站 – design your own palette / pattern / color

URL : http://www.colourlovers.com/

b33d5cb1d82d4fc2793ea474265f284a

2009/12/21

CodeIgniter MVC CRUD + memcache = Secret Message http://msg.monster.com.tw

這個 idea 是來自這個網站 : https://privnote.com/ , 簡單的說它是一個經由 https 保護傳送內容的網路服務 , user 用這個服務把臨時要給朋友的機密/私人資料譬如 password / URL 之類的 data 存放在這網站上, 然後此系統會給 user 一個唯一網址, 再把這網址給朋友, 開啟這個唯一網址後, 就可以看到這個訊息, 系統同時會把這訊息從系統中刪除… 哈哈! 看懂了嗎?

我的改進是用 memcache 的 expire 機制, 設定 10分鐘後, 若 user 沒讀過此訊息, 訊息會 ‘自動’ 銷毀… 我的站若再去申請 ssl 加密的話就跟那個站功能是類似的了.

codeigniter 的 MVC 架構, 讓我很快的把這個 idea implement 出來了 , 基本上就是一個簡單版的 CRUD

我的 Secret Message 服務長像非常的陽春 :P , 僅用簡單的 HTML , 若有空再加上 style 美化一下版面, 不過基本功能是有的了, 大家用看看, 有 idea 或意見請再告訴我.

目前 message 不提供 HTML / VBB , 但是有簡單的 skype 版表情符號 ( icon 正在慢慢搜集中 ) ….

Secret Message 網址是: http://msg.monster.com.tw/

 

dc34889242b1d25e1f4c4d477e85c96c

4185a388c19629704edc284514c6cfe5

CI 表情符號改寫例:

0fe1a40bfd47887c51ed60fc2af4a3a0

3a21610697fc7f7b5983a1358a9f7713d5617ad16b86596c9c44642a08193875

Related URL:
  1. 用 pecl inclued 產生關聯圖
  2. oci / compile php with oracle instant client
  3. codeigniter / ci / oracle database.php 的設定方式 / utf8 / big5 粉難搞
  4. another high performance PHP framework – Yii
  5. codeigniter CRUD sample
  6. Protected: 一些 codeigniter 的 link
  7. codeigniter 已經很方便了 , 還有 based on 它的 “套件”
  8. 這段 code 可以抓出 php / codeigniter 定義過的 class
  9. Codeigniter 聯接 Oracle database 要改的地方
  10. 設定 .htaccess 讓 網址比較短

2009/12/16

[monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting

Filed under: Network service,Software,System/Linux/Unix* — Tags: , , — 9:10 am

昨天晚上去一位朋友公司幫忙用他們的 server , 回來就想要做幾件事:

1. 記錄一下自己的 server 某些重要檔案, 也可供其他人參考

2. 備份重要 file

3. 隨時準備好最新版的救援CD/Live CD/Live USB , 最新版的 Monster LAMP pack 也要燒好收著.

4. 準備一個 “萬用” 含各類 driver 的 linux kernel , 以供救援使用.

5. 搞懂 booting steps / GRUB setting


a93c35eaf5a0019c7f7a42f461dae3de

root@park:~# cat /etc/fstab

# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#              

proc            /proc           proc    defaults        0       0
# / was on /dev/sda1 during installation
UUID=46312252-8925-4e60-ab5f-af240b4b440f /               ext3    relatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=bf9a64f1-3eb8-433c-8311-8d971be82dc2 none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0

service / daemon 管理工具

sysv-rc-conf text based utility :

sudo apt-get install sysv-rc-conf

另一套 GUI

sudo apt-get install gnome-system-tools

monster.tw 是裝這個 apt-get install rcconf

列出 runlevels 的 program : chkconfig

裝 圖形介面 / GUI / gnome desktop

sudo apt-get install ubuntu-desktop --no-install-recommends

啟動 desktop manager :

/etc/init.d/gdm start

stop x server / 關掉 x window: /etc/init.d/gdm stop

改 IP address

cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
        address 172.30.0.42
        netmask 255.255.255.0
        network 172.30.0.0
        broadcast 172.30.0.255
        gateway 172.30.0.1
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 8.8.8.8
        dns-search monster.tw

重新啟動 networking
/etc/init.d/networking restart

若要使用 DHCP 的話

auto eth0
iface eth0 inet dhcp

加上 default route

gateway 1.2.3.4

或另一個 static route

up route add -net 1.2.3.0 netmask 255.255.255.0 gw 1.2.3.4

change host name:

改 /etc/hostname
改 /etc/hosts

若是用 vmware 之類的軟體導致 clone 出來的 ubuntu 網路 interface 跑掉, 可以砍掉
/etc/udev/rules.d/70-persistent-net.rules
後 reboot , 就可以解決了.
Related URL:
  1. Protected: emerge 不見的救法
  2. gentoo emerge command
  3. [gentoo] 排除舊的 lib 相容問題
  4. Protected: 兩個版本的 Linux ( CENTOS vs GENTOO ) 作 mysql + senna small compare
  5. gentoo linux ifconfig
  6. 查主機溫度
  7. 裝新的 www.monster.com.tw 過程記錄
  8. 在 gentoo 裝 oracle sqlplus package
  9. gentoo NFS
  10. Protected: sqlrelay server install / setup / SOP / 設定 / 啟動

2009/12/10

Google 提供 Public 的 DNS , IP 是 8.8.8.8 帥氣又好記!

Filed under: Network service,System/Linux/Unix* — Tags: — 9:18 am

URL: http://code.google.com/speed/public-dns/

有 unix server 的人 /etc/resolv.conf 可以設它
nameserver 8.8.8.8
windows 使用者也可看這篇說明來設定
http://code.google.com/speed/public-dns/docs/using.html
好處是
Why should you try Google Public DNS?

By using Google Public DNS you can:

    * Speed up your browsing experience.
    * Improve your security.
    * Get the results you expect with absolutely no redirection.

Related URL:
  1. Question: google chart api
  2. PChome 超越 雅虎奇摩 , 成為臺灣第一大入口網站 – Google公布全球網站Top1000,台灣9站入榜
  3. 換了 XMAS 版型 , 忘記加 google analytics 的偵測碼 …. merry christmas!!
  4. ADSL / DDWRT 動態 IP 用 DynDNS 設定 DNS 及 Google Apps
  5. Protected: [摘] 垂直搜尋引擎
  6. Protected: [摘] Google 的十大信條 — 有時我會忘記東西, 也怕有用的資訊不見, 所以看到就順手留下來了(不公開).
  7. Protected: [不公開] 神秘的 google server 照片
  8. Google 的 server 照片 , data center ,
  9. 北橫獨騎 , 板橋 –> 三民 –> 羅浮 –> 巴陵 –> 明池 –> 員山 –> 宜蘭
  10. 網站贊助廣告版位出租 – Pagerank 5 / 10 , SEO

2009/11/29

ADSL / DDWRT 動態 IP 用 DynDNS 設定 DNS 及 Google Apps

Filed under: Network service — Tags: , , , — 6:32 pm

先到 https://www.dyndns.com/ 申請 “Custom DNS Service” (每年USD$29元)

9a0f558b84a2fc2fc37bc48cac6bc8cc

69a4e8e3d3a4b2e669d7a1cebe8c3099

  • The domain is registered elsewhere: You will need to log into your account with the domain’s current registrar, and change the nameserver list to the following:

Custom DNS Nameservers

Server IP Address
ns1.mydyndns.org   (Required) 204.13.248.76
ns2.mydyndns.org   (Required) 204.13.249.76
ns3.mydyndns.org 208.78.69.76
ns4.mydyndns.org 91.198.22.76
ns5.mydyndns.org 203.62.195.76

328bb1a335f9c817287b5d8c2a4790e7

在 router (我的是ddwrt) 設定 DDNS – ADSL 每次換 IP 時 ddwrt 就會通知 dyndns 改 DNS 的 IP address , 其他的 DN 也可以用 CNAME 設成跟這個 host name 一樣.

f277b6d220032cfb73de9035297d66ad

去 google apps 申請一個

361a485a50b729989390eb79680c6764

除了 mail 要設 MX record 比較複雜, 其他的只要設 CNAME record 就可以了, 很簡單!

34dc58a397d612b8f7c90915cc305bb9

mail.monster.tw 是 web mail 界面的網址 跟 收信的 domain 是不同的

ee0ae7e24f93714f64fa2338133b211e

2009/11/23

[Great idea!] 10 Minute Mail / 十分鐘電郵

Filed under: Copy_N_Paste,FUN,JOB,Network service — Tags: — 10:18 pm

URL : http://www.10minutemail.com/10MinuteMail/

很多網站要申請加入會員都需要一個 email address , 這個十分鐘電郵就是可以用來作這件事, 收到會員的啟用連結後, 就可以跟這個 email 說再見了!

60f1ce7cabdd8ce41f573a9b25405a1b

2009/11/19

programmer … 超好用的 online tools – URL Encode/URL Decode/base64 encode/base64 decode/UUencode/UUdecode

URL Encode/Decode : http://netzreport.googlepages.com/online_tool_for_url_en_decoding.html

base64 encode/decode : http://www.rbl.jp/base64.php

base64 encode/decode : http://www.motobit.com/util/base64-decoder-encoder.asp

UUencode/decode : http://www.webutils.pl/UUencode

下頁»

www.monster.com.tw , © Copyright 2008