2012年1月30日 星期一

[iOS] APP Distribution

Reference1

2012年1月29日 星期日

[iOS] Icons for App submission

iOS Human Interface Guidelines
Make iPhone & iPod Touch icons


3. 512x512: iTunesArtwork
4. 1024x1024: iTunesArtwork@2x
For Ad-hoc distribution.


For iPhone/iPod touch:
1. 57x57: Icon.png
2. 114x114: Icon@2x.png
3. 320x480: Default.png
4. 640x960: Default@2x.png
5. 29x29: Icon-small.png
6. 58x58: Icon-small@2x.png
7. 50x50: Icon-small-50.png
8. 640x1136: Default-568h@2x.png

For iPad:
1. 72x72: Icon-72.png
2. 144x144: Icon-72@2x.png
3. 1024x748: Default.png
4. 2048x1496: Default@2x.png
5. 50x50: Icon-small.png
6. 100x100: Icon-small@2x.png

Images:
[UIImage imageNamed:@"bg-name-ip5"];

1. bg-name-ip5@2x.png
2. bg-name-ip4@2x.png
3. bg-name-ip4.png
~ipad, ~iphone, ~2x

Free Icons:
1. Reference1
2. Reference2
3. Reference3
4. Reference4

icon companies:
1. icondesign
2. The Iconfactory
3. IconDrawer

2012年1月20日 星期五

[Samba] ReadySHARE

ReadySHARE:
To browser the file directories via Smaba.
file directory: \\readyshare\USB_Storage
Using WINS protocol to reverse NetBIOS name(readyshare) to IP address.

1. The WINS protocol is handled by nmbd, therefore nmbd has to be run in background.

2. smb.conf
[global]
domain master = yes
local master = yes
preferred master = yes
os level = 65

http://www2.meps.tp.edu.tw/documents/memo/samba/samba.htm
http://samlee.idv.tw/linux/samba/samba05/samba05.htm

2012年1月1日 星期日

[Linux] Samba support file > 2GB

The most important build option to support large file is with --enable-largefile=y.

./configure --host=x86_64 --build=mips-linux --target=mips-linux SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=1 --enable-largefile=y --prefix=$(TOOLCHAIN)/usr --disable-cups --disable-pie --disable-fam --enable-shared --disable-static --with-configdir=/etc/samba --with-logfilebase=/var/log/samba --with-winbind --without-quotas --without-ldap --without-ads --with-sendfile-support --without-krb5 --without-pam --without-pam_smbpass --disable-iprint --without-fhs --without-libsmbclient --without-python

[Linux] Proftpd

proftpd -c /var/proftpd.conf -S 192.168.0.100 &


proftpd-1.3.4a
./configure --host=mips --prefix=$(TOOLCHAIN)/usr --enable-nls --with-libraries=$(TOOLCHAIN)/usr/lib --with-includes=$(TOOLCHAIN)/usr/include ac_cv_lib_iconv_iconv_open=yes ac_cv_lib_intl_bindtextdomain=yes


libiconv-1.14
./configure --host=mips-linux --prefix=$(TOOLCHAIN)/usr --enable-nls --with-libraries=$(TOOLCHAIN)/usr/lib --enable-shared

gettext-0.18.1.1
./configure --host=mips --prefix=$(TOOLCHAIN) --includedir=$(TOOLCHAIN)/include --libdir=$(TOOLCHAIN_TOP)/lib --with-libraries=$(TOOLCHAIN)/lib --enable-nls HAVE_POSIX_SPAWN=1