I'm CaLendarW Blog

Really Good Picture for Google Wave~~

by calendarw on Nov.26, 2009, under Uncategorized

今日係 Google Reader 個 Popular 度見到呢張相, 真係形容得好正. 雖然有左 Wave 幾日, 同埋不段地 invite 人, 但有 wave 既朋友實在太少了……

Google Wave

Google Wave

Original Post

Leave a Comment :, more...

Google Wave

by calendarw on Nov.24, 2009, under Uncategorized

係一連三個黑色星期既過去, 今日好似轉運, 今朝十點幾係 Gmail 度發現左 Google Wave Invite 既 email, 等左好耐既野終於都試到, 不過因為身邊有 wave 既人唔多, 而且又係返工時間, invite 完其他人就算, 所以都未做到應有既用途.

今日試既野其實同 barcamp 度由 Aaron present 既野都差唔多, 都係 multiple editing 等等既野, 睇左幾個 when to use wave 後, 都係要等適當既時後先再用.

Leave a Comment : more...

Ninite

by calendarw on Nov.15, 2009, under web

Ninite, 係一個 one-click installer site, 因為呢排 win7 出左, 所以呢個 website 都試用左幾次, 一個 installer 裝晒唔同既 component 十分好, 而且包括晒日常所需:

  • Web Browsers (Firefox, Chrome, etc)
  • Messaging (Messenger, Skype, etc)
  • Media (iTunes, KMPlayer, etc)
  • Imaging (GIMP, Picasa, etc)
  • Documents (Office – trial version, Adobe Reader, etc)
  • Security (AVG, etc)
  • Runtimes (Java, Flash, .net framework, sliverlight, etc)
  • File Sharing (uTorrent, eMule, etc)
  • Other (Google Earth, etc)
  • Utilities (RealVNC, CCleaner, etc)
  • Compression (WinRAR, 7-Zip)
  • Developer Tools (JDK, Eclipse, PuTTY, FileZilla (?), etc)
Leave a Comment more...

yield keyword

by calendarw on Oct.29, 2009, under coding snippet

近期因為睇 ASP.net MVC 既 example, 中途見到 yield keyword 既 usage, 感覺上幾好用, 以學多個 keyword 既原則黎講, 我當然會在 project 中試用, 當中既 validation 用法我覺得幾好.

public partial class Dinner {

    public bool IsHostedBy(string userName) {
        return HostedBy.Equals(userName, StringComparison.InvariantCultureIgnoreCase);
    }

    public bool IsValid {
        get { return (GetRuleViolations().Count() == 0); }
    }

    public IEnumerable<RuleViolation> GetRuleViolations() {

        if (String.IsNullOrEmpty(Title))
            yield return new RuleViolation("Title is required", "Title");

        if (String.IsNullOrEmpty(Description))
            yield return new RuleViolation("Description is required", "Description");

        if (String.IsNullOrEmpty(HostedBy))
            yield return new RuleViolation("HostedBy is required", "HostedBy");

        if (String.IsNullOrEmpty(Address))
            yield return new RuleViolation("Address is required", "Address");

        if (String.IsNullOrEmpty(Country))
            yield return new RuleViolation("Country is required", "Address");

        if (String.IsNullOrEmpty(ContactPhone))
            yield return new RuleViolation("Phone# is required", "ContactPhone");

        if (!PhoneValidator.IsValidNumber(ContactPhone, Country))
            yield return new RuleViolation("Phone# does not match country", "ContactPhone");

        yield break;
    }
}

但當我想在 project 度用果時, 開始感覺到麻煩, 因為本身個 project 係要在 .net 2.0 既環境下運作, 而 IEnumerable.Count 係未有支援, 而且無 extension methods 既支援, 所以要另外寫個 class 黎 handle 呢樣野都幾麻煩, 因此我都無乜 idea 在其他方面可以實際上使用得適當……

Leave a Comment : more...

Lenovo Repair Center

by calendarw on Oct.17, 2009, under diary

差不多三年前係 CityU 買果部 X60, 近期個硬碟突然好慢, 好有問題, 見部機保養十月尾到期, 所以想拎去整, 而單上既維修中心地址係鰂魚涌既華懋交易廣場 14 樓, 而因為呢排唔係鰂魚涌 office 返工, 所以叫左我太太幫我拎過去.

經過維修員檢查後, 發現問題係硬碟 bad sector, 所以會幫我換硬碟, 而因為佢已經無 60GB 既硬碟, 所以換左個 80 GB 比我, 而 Lenovo 方面既人員話旺角都有維修中心, 可以係果度整機同還機, 不過經過係 google 既 research 後, 個維修中心地址係幾難搵到, 不過最後都比我係 epc 度搵到個 post 講.

以下係維修中心地址:
香港鰂魚涌海灣街1號華懋交易廣場14樓1403-05室
旺角彌敦道585號富時中心2503室

Leave a Comment :, more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!