Posts tagged ‘google’

[open source] iPhone , UIImage and PhotosAlbum 上傳一個圖到 simulator 的相簿 PhotosAlbum sample code

有時候想寫一個從相簿挑選照片的程式, 但 xcode 的 simulator 並不支援照相功能 ,

那個 simulator 相簿總是空空的 , 無法從那邊挑選照片, 於是寫了這個小程式 ,

program 功能是從一個 圖片網址 把那張圖抓下來並且存進 simulator 的相簿中, 這個 code 有實作存成功跟存失敗時的 method.

今天並且練習把這個 open source code hosting 在 google code , 可以 download 下來參考.

URL = https://code.google.com/p/monster-oasis-opensource-iphone/downloads/list

google code 也提供 svn checkout 機制 , 怎麼 check out

參考 URL = https://code.google.com/p/monster-oasis-opensource-iphone/source/checkout

不過發現 google code 雖然提供熟悉的 svn 機制 , 但是有兩大缺點:

  1. project 必須為 open source , public 的
  2. 介面很麻煩

不如, 來看一下 git 怎麼用: https://github.com/plans

以下是 這個 code 的截圖:

Question: google chart api

PChome 超越 雅虎奇摩 , 成為臺灣第一大入口網站 – Google公布全球網站Top1000,台灣9站入榜

URL : http://www.bnext.com.tw/article/view/cid/103/id/14966

擷取d

PS: 雅虎奇摩應該不能算臺灣的網站, 因為是外商.

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

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.

換了 XMAS 版型 , 忘記加 google analytics 的偵測碼 …. merry christmas!!

結果就是…..

6cb696b2bf1a8bf459927964d2e9c454

我的 merry christmas 版

c6a1ae0dfd2c8c6e88f9b17491a627e2

公司的 merry christmas 版

faeb8676a5d3b5e0855797b68607ca54

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

DYNDNS URL :

DynDNS Update Clients : https://www.dyndns.com/support/clients/

command liek this :

/bin/inadyn -u userid -p userpassword -a xxx.blogdns.net --update_period_sec 30 --log_file /tmp/dyn.log --background &

先到 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

Protected: [摘] 垂直搜尋引擎

This post is password protected. To view it please enter your password below:


Protected: [摘] Google 的十大信條 — 有時我會忘記東西, 也怕有用的資訊不見, 所以看到就順手留下來了(不公開).

This post is password protected. To view it please enter your password below:


Protected: [不公開] 神秘的 google server 照片

This post is password protected. To view it please enter your password below:


Google 的 server 照片 , data center ,

來源 :
http://news.cnet.com/8301-1001_3-10209580-92.html

http://www.datacenterknowledge.com/archives/2009/04/01/googles-custom-web-server-revealed/

不過發表日是 April fool :P , 這是玩笑嗎?

誰可以估算一下 Google 一台 server 多少錢呢?

MB : GIGABYTE , GA-9IVDP , 這張主板很小/精簡 , 甚至顯示卡/晶片都沒用, 側面有看到 USB port.
CPU : 2 * ? , CPU 也應該很小, 風扇/散熱片都那麼小
RAM : 8 * 1GB (我猜的, RAM太少不好用)
HD : SATA * 2 ( 目前 300G – 500G , CP值較高, 兩顆可能做 RAID 1 , mirror)
電源 : 可能要 300W 吧, 不過是特殊規格, 放大照片看是 MIC , AC 220伏特 , DC 13.65V , 20.5A
電池 : 不知

特別的是, 他們的 HD 等元件都是用魔鬼氈綁住的.

北橫獨騎 , 板橋 –> 三民 –> 羅浮 –> 巴陵 –> 明池 –> 員山 –> 宜蘭

因為聽說週末鋒面要到, 那肯定兩天都是下雨(PS: 週末兩天, 黃同學要一雪去年的恥, 去騎NeverStop 洄瀾極限挑戰300K), 我從家裡出發後就臨時決定騎個北橫來看看. . . . 今天北橫這段獨騎完全是沒有任何準備下的結果, 備胎, 修車工具, 甚至水都沒在巴陵補好, 一路渴得半死, 回來後看了別人的 blog 才知大家都有在台7的77公里 “Lucky 777” 照張相 , 看來下次有機會再來補這張了.

這是今天的軌跡圖 :
df204d554da0686f5e53e0358f5ab415

P002P003P008 P017 P018 P025 P035P040P044

巴陵 ( 80 ) 到 四陵 ( 40 ) 之間的路是整段北橫中最有挑戰的一段, 連地名也都很好笑

P049 P050 P051 P054

明池之後累翻了就都沒照了

網站贊助廣告版位出租 – Pagerank 5 / 10 , SEO

廣告特色 : 本站 www.monster.com.tw 目前在 Google pagerank 是 5/10, 本位置廣告可以增加您的網站 SEO.

廣告版位 : 固定每頁都有(參考附圖), 不輪播, 大小為 720px × 90px , 可放一則 banner 或 flash 加上網頁聯結.

廣告價格 : 請看我的賣場!

請參考本站在 Google 排名 2009.0331

關鍵字 oracle :
繁體中文網頁 – 排名第 12
台灣的網頁 – 排名第 7

關鍵字 vmware :
繁體中文網頁 – 排名第 7
台灣的網頁 – 排名第 5

關鍵字 javascript  :
繁體中文網頁 – 排名第 33
台灣的網頁 – 排名第 20

關鍵字 codeigniter  :
繁體中文網頁 – 排名第 3
台灣的網頁 – 排名第 3

15d0ecaf788b8cd0b7d97e87fa7d19c1

Google checkout screen snap

這算是個資外洩嗎

剛好在研究 mysqldump 的東西然後我對於 mysqldump 出來的前面有一些
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

這些感到好奇, 不曉得有沒有用處 , 那我就去 google 了一下
竟然被我找到這個 image

這真的有點恐怖哩
image

客串 “狗仔隊” – 拍 Google Street View 360度環景拍攝車

今天我被 Google Street View 的 360度環景拍攝車拍到了, 然後我就驅車趕緊追上, 拍了兩張那台車, 看看車頂上的環景相機, 如下圖!

告訴大家 … Google 大大帶著 Street View 來囉! 搞不好下次用 Google Map 看台北地區的話, 就可以看到實景的街道景觀了.

看看別人寫的 Google Street View:

P028 P029

裝 Google Chrome

我寫了一個小工具 kml2csv 上線測試

主要是要為了編輯我騎車時所留下的 Google Earth 路徑而寫的小程式 , 大家用看看
有問題或想法再告訴我…

http://www.monster.com.tw/kml2csv

使用流程:
Logger –> Google KML –> KML2CSV –> Edit with Excel –> ExcelToKML –> Google Earth