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

2010/08/25

Protected: [收藏] 圖: 日本/佐島/Sajima

Filed under: Copy_N_Paste,PHOTO — 10:55 am

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


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/07/30

Programming in Objective-C , sample code

Filed under: Copy_N_Paste,Programming/iPhone — Tags: — 11:03 am

這邊有一些 objective-c 的基本認識 , 參考 URL : http://www.otierney.net/objective-c.html.zh-tw.big5

(more…)

Related URL:
  1. [memo] iphone dev / table view sample code
  2. iPhone class / method / instance naming convention
  3. [書上沒教的] iphone / xcode 出現這種 error : Check dependencies …error: There is no SDK with the name or path ‘iphoneosx.x’
  4. Protected: iPhone dev misc…. 授權憑證重建的方式
  5. 推薦 iPhone & iPad App 開發參考書 / dev books
  6. 我的第一隻 iPhone 程式 – HelloMap !
  7. [URL] iPhone programming bookmarks / reference
  8. A simple Objective-C Method Declaration and Definition
  9. iphone / hello world 2 / single rows in the table view
  10. [導覽] 有趣的 iPad iPhone development video 教學

2010/07/22

[URL] iPhone programming bookmarks / reference

Filed under: Copy_N_Paste,JOB,Programming/misc — Tags: , — 3:26 pm

★ Your First iOS Application
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone101/Articles/00_Introduction.html

中文 :  http://icodeblog.com/category/iphone-programming-tutorials/

★★ iOS Reference Library : http://developer.apple.com/iphone/library/navigation/index.html

iPhone Dev Center : http://developer.apple.com/iphone/index.action

Using iPhone Simulator

iPhone Human Interface Guidelines :  http://developer.apple.com/iphone/library/documentation/UserExperience/Conceptual/MobileHIG/Introduction/Introduction.html

objective-c 的基本認識 , 參考 URL :  http://www.otierney.net/objective-c.html.zh-tw.big5

有趣的 iPad iPhone development video 教學 : http://www.rorylewis.com/docs/02_iPad_iPhone/05_iPhoneTutorials.htm

給初接觸 objective-c 的介紹 : http://maciku.blogspot.com/2009/12/iphone-objective-c.html

包裝好給 iPhone 用的 http 元件/framework – ASIHTTPRequest
http://allseeing-i.com/ASIHTTPRequest/

—-

7/31 iPhone dev 課程 outline :

iPhone spec. / Objective-c intro.

intro. xcode / iPhone 開發限制 / 應用軟體架構 / 記憶體管理

first App. – HelloWorld

程式語法 – simple

Interface Builder基本操作

字串與資料結構 / UI Catalog

second App. – Location base App.

upload to real iPhone – use Apple

★ init , copy , retain 要記得 release memory

★ didReceiveMemoryWarning , viewDidUnload 暫時釋放 memmory

★ IBOutlet 引用到的 InterfaceBuilder 元件建議作 release , 但要注意到不要重覆 release

★ InterfaceBuilder : 事件與程式碼配合 – IBAction , 物件關聯 – IBOutlet , Delegate 指定.

2010/07/13

A simple Objective-C Method Declaration and Definition

Filed under: Copy_N_Paste,Programming/misc — Tags: , — 10:25 am

定義

- (void) sayHello: (NSString*) name;

implementation :

- (void) sayHello: (NSString*) name {
  NSMutableString *message = [[NSMutableString alloc] initWithString:@"Hello there "];
  [message appendString:name];
  NSLog(message);
  [message release];
}
//

simple.m 宣告 sayHello method:

#import "Simple.h"
@implementation Simple
- (void) sayHello: (NSString *) name {
  NSMutableString *message = [[NSMutableString alloc] initWithString:@"Hello there "];
  [message appendString:name];
  NSLog(message);
  [message release];
}
@end
//

simple.h

#import 
@interface Simple : NSObject {
}
-(void) sayHello: (NSString *) name;
@end
//

main 呼叫 sayHello method:

#import 
#import "Simple.h"
int main(int argc, char *argv[]) {
  NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
  Simple * mySimple = [[Simple alloc] init];
  [mySimple sayHello:@"James"];
  [mySimple release];
  int retVal = UIApplicationMain(argc, argv, nil, nil);
  [pool release];
  return retVal;
}
//

objective-c-intreface

Related URL:
  1. [memo] iphone dev / table view sample code
  2. iPhone class / method / instance naming convention
  3. [書上沒教的] iphone / xcode 出現這種 error : Check dependencies …error: There is no SDK with the name or path ‘iphoneosx.x’
  4. Protected: iPhone dev misc…. 授權憑證重建的方式
  5. 推薦 iPhone & iPad App 開發參考書 / dev books
  6. 我的第一隻 iPhone 程式 – HelloMap !
  7. Programming in Objective-C , sample code
  8. [URL] iPhone programming bookmarks / reference
  9. iphone / hello world 2 / single rows in the table view
  10. [導覽] 有趣的 iPad iPhone development video 教學

2010/07/09

iphone / hello world 2 / single rows in the table view

Filed under: Copy_N_Paste,Programming/C,Programming/misc — Tags: — 5:21 pm
// --
// Customize the number of rows in the table view.
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 1;
}

// Customize the appearance of table view cells.
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {

    static NSString *CellIdentifier = @"Cell";

    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier] autorelease];
    }

    [cell.textLabel setText:@"Hello World!"];
    return cell;
}
// --
// --
Related URL:
  1. [memo] iphone dev / table view sample code
  2. iPhone class / method / instance naming convention
  3. [書上沒教的] iphone / xcode 出現這種 error : Check dependencies …error: There is no SDK with the name or path ‘iphoneosx.x’
  4. Protected: iPhone dev misc…. 授權憑證重建的方式
  5. 推薦 iPhone & iPad App 開發參考書 / dev books
  6. 我的第一隻 iPhone 程式 – HelloMap !
  7. Programming in Objective-C , sample code
  8. [URL] iPhone programming bookmarks / reference
  9. A simple Objective-C Method Declaration and Definition
  10. [導覽] 有趣的 iPad iPhone development video 教學

2010/07/08

[導覽] 有趣的 iPad iPhone development video 教學

Filed under: Copy_N_Paste,Programming/C,Programming/misc — Tags: , — 6:15 pm

From : Rory Lewis, PhD, JD

URL : http://www.rorylewis.com/docs/02_iPad_iPhone/05_iPhoneTutorials.htm

另外給初接觸 objective-c 的介紹:

URL : http://maciku.blogspot.com/2009/12/iphone-objective-c.html

中文開發網站 : http://www.cocoachina.com/iphonedev/

// ——————

obj->method(argv);

[obj method: argv];

// ——————

@implementation HelloController
- (IBAction)sayHello:(id)sender {
  [destinationTextField setStringValue:[sourceTextField stringValue]];
}
@end
(id)sender 是一個可以選擇性的用法,
若您有需要取得發出 IBAction的元件時,可以用這個 sender變數來取得.
但記得可能需要 cast一下.
UIButton *senderButton=(UIbutton*) sender;
[senderButton setHidden: YES];
這樣就會把該button隱藏起來.

(id)sender 是一個可以選擇性的用法,若您有需要取得發出 IBAction的元件時,可以用這個 sender變數來取得.但記得可能需要 cast一下.

UIButton *senderButton=(UIbutton*) sender;[senderButton setHidden: YES];

這樣就會把該button隱藏起來.

// ——————

[2010/7/9 下午 04:48:25] Rimmon 2.0: jason 有 mac os 的 sftp GUI 的 tools 嗎?

[2010/7/9 下午 04:48:40] Rimmon 2.0: 想要用 tools 傳 code 比較方便

[2010/7/9 下午 04:51:05] _RTN Jason Chen: http://www.versiontracker.com/dyn/moreinfo/macosx/15693

[2010/7/9 下午 04:51:08] _RTN Jason Chen: Fugu

[2010/7/9 下午 04:51:35] _RTN Jason Chen: www.versiontracker.com 有非常多的 OSX 軟體可下載

[2010/7/9 下午 04:53:59] _RTN Jason Chen: 還有 Microsoft Remote Desktop Connection 可遠端遙控 Windows

[2010/7/9 下午 04:55:13] _RTN Jason Chen: smb://172.30.0.29/Install   這樣 OSX 才看得懂網路分享目錄

[2010/7/9 下午 05:00:10] _RTN Jason Chen: Finder, 用 apple鍵 + K 再輸入 cifs://172.30.0.19/Install 即可連 server shared

Related URL:
  1. 推薦 iPhone & iPad App 開發參考書 / dev books
  2. 我的第一隻 iPhone 程式 – HelloMap !

2010/07/01

linux mount windows share directory / cifs / samba

Filed under: Copy_N_Paste,System/Linux/Unix* — 10:45 pm

在 /etc/fstab 加一行:

//192.168.100.1/ruten /rutenlog cifs user,rw,suid,username=XXX,password=YYY 0 0

2010/06/25

Protected: emerge 不見的救法

Filed under: Copy_N_Paste — Tags: — 9:53 pm

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


Related URL:
  1. gentoo emerge command
  2. [gentoo] 排除舊的 lib 相容問題
  3. [monster] monster.tw 記錄 / memo / ubuntu / 裝 圖形介面 / GUI / gnome desktop / ip address / setting
  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 / 設定 / 啟動

INTEL vs Transcend SSD little PK (LAB )

Filed under: Copy_N_Paste,JOB,hardware — Tags: , , , — 10:04 am

J神對於 SSD 的讀取速度特別著迷, 於是重金採購了兩款 performance 都不錯的 SSD 來 lab 一下, 以下就這次的 Result :

Jason Chen: 早上再做一次二顆 SSD 的 Xbench Disk Test , 這次是 Intel 勝出

Transcend 2.5" 32G SSD SLC
Disk Test 73.82
 Sequential 84.27
  Uncached Write 104.16 63.95 MB/sec [4K blocks]
  Uncached Write 83.54 47.26 MB/sec [256K blocks]
  Uncached Read  48.92 14.32 MB/sec [4K blocks]
  Uncached Read  183.43 92.19 MB/sec [256K blocks]
 Random 65.67
  Uncached Write 20.31 2.15 MB/sec [4K blocks]
  Uncached Write 107.89 34.54 MB/sec [256K blocks]
  Uncached Read  1982.02 14.05 MB/sec [4K blocks]
  Uncached Read  523.91 97.21 MB/sec [256K blocks]

Intel X25-V 40G SSD MLC
Disk Test 150.38
 Sequential 97.48
  Uncached Write 72.91 44.76 MB/sec [4K blocks]
  Uncached Write 72.35 40.94 MB/sec [256K blocks]
  Uncached Read  105.10 30.76 MB/sec [4K blocks]
  Uncached Read  251.19 126.25 MB/sec [256K blocks]
 Random 328.80
  Uncached Write 389.34 41.22 MB/sec [4K blocks]
  Uncached Write 132.67 42.47 MB/sec [256K blocks]
  Uncached Read  2099.11 14.88 MB/sec [4K blocks]
  Uncached Read  631.72 117.22 MB/sec [256K blocks]

 

R0015118 R0015122

下頁»

www.monster.com.tw , © Copyright 2008