kungkk blog

Wednesday, November 2, 2011

php.ini

; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 2G


; Maximum execution time of each script, in seconds
; http://php.net/max-execution-time
; Note: This directive is hardcoded to 0 for the CLI SAPI
max_execution_time = 0 


; Maximum size of POST data that PHP will accept.
; http://php.net/post-max-size
post_max_size = 2G





Read more...

Saturday, October 22, 2011

Google Cloud Print




Read more...

Friday, October 7, 2011

Google oAuth Flow Diagram




A scope parameter is required by AuthSub and OAuth to identify which Google service(s) your application will have access to.
Google APIService name
Google Analytics Data APIhttps://www.google.com/analytics/feeds/
Google Sites Data APIhttp(s)://sites.google.com/feeds/
Blogger Data APIhttp://www.blogger.com/feeds/
Book Search Data APIhttp://www.google.com/books/feeds/
Calendar Data APIhttp(s)://www.google.com/calendar/feeds/
Contacts Data APIhttp(s)://www.google.com/m8/feeds/
Content API for Shoppinghttps://www.googleapis.com/auth/structuredcontent/
Documents List Data APIhttp(s)://docs.google.com/feeds/
Finance Data APIhttp://finance.google.com/finance/feeds/
Gmail Atom feedhttps://mail.google.com/mail/feed/atom/
Health Data APIhttps://www.google.com/health/feeds/
https://www.google.com/h9/feeds/ (H9 sandbox)
Maps Data APIhttp://maps.google.com/maps/feeds/
Picasa Web Albums Data APIhttp://picasaweb.google.com/data/
Portable Contacts APIhttp://www-opensocial.googleusercontent.com/api/people
Sidewiki Data APIhttp://www.google.com/sidewiki/feeds/
Spreadsheets Data APIhttp(s)://spreadsheets.google.com/feeds/
Webmaster Tools APIhttp://www.google.com/webmasters/tools/feeds/
YouTube Data APIhttp://gdata.youtube.com

Read more...

Wednesday, September 21, 2011

MySQL Data Type Storage Requirements

link

Storage Requirements for Numeric Types

Data Type Storage Required
TINYINT 1 byte
SMALLINT 2 bytes
MEDIUMINT 3 bytes
INT, INTEGER 4 bytes
BIGINT 8 bytes
FLOAT(p) 4 bytes if 0 <= p <= 24, 8 bytes if 25 <= p <= 53
FLOAT 4 bytes
DOUBLE [PRECISION], REAL 8 bytes
DECIMAL(M,D), NUMERIC(M,D) Varies; see following discussion
BIT(M) approximately (M+7)/8 bytes

Data Type Storage Required
DATE 3 bytes
TIME 3 bytes
DATETIME 8 bytes
TIMESTAMP 4 bytes
YEAR 1 byte

Storage Requirements for String Types

In the following table, M represents the declared column length in characters for nonbinary string types and bytes for binary string types. L represents the actual length in bytes of a given string value.

Data Type Storage Required
CHAR(M) M × w bytes, 0 <= M <= 255, where w is the number of bytes required for the maximum-length character in the character set
BINARY(M) M bytes, 0 <= M <= 255
VARCHAR(M), VARBINARY(M) L + 1 bytes if column values require 0 – 255 bytes, L + 2 bytes if values may require more than 255 bytes
TINYBLOB, TINYTEXT L + 1 bytes, where L < 28
BLOB, TEXT L + 2 bytes, where L < 216
MEDIUMBLOB, MEDIUMTEXT L + 3 bytes, where L < 224
LONGBLOB, LONGTEXT L + 4 bytes, where L < 232
ENUM('value1','value2',...) 1 or 2 bytes, depending on the number of enumeration values (65,535 values maximum)
SET('value1','value2',...) 1, 2, 3, 4, or 8 bytes, depending on the number of set members (64 members maximum)

Read more...

Thursday, September 8, 2011

Install sqlyog with wine in ubuntu

Open a Terminal window and change to the directory where you stored the EXE installation file.
xxx@xxx-ubuntu:~$ wine SQLyog###.exe
Read more...

Wednesday, September 7, 2011

Spider Storage Engine


Read more...

Tuesday, September 6, 2011

Physical backup vs Logical backup

Physical backup tools
mysqlbackup -> innodb
mysqlhotcopy -> MyISAM

Logical backup tools
mysqldump
Read more...

Friday, August 26, 2011

Federate Storage Engine Overview



Read more...

Wednesday, August 24, 2011

Saturday, August 6, 2011

Google Chart Tool Testing


Read more...

Thursday, July 14, 2011

list of all of views will use previous url concept!

views:
?
?

from jess
Read more...

last url Session vs last url Cookie

Session is better for easily to retrieve value without having to consider sequence of programming.
Cookie is better for keep track the value into particular devices.


[Objective]
sign in -> redirect -> last url

[Choice]
Cookie
Read more...

Thursday, June 2, 2011

facebook app

kungkk







Read more...

Thursday, May 27, 2010

Open ID Provider


Site URL Format Comments
Google[11]https://www.google.com/accounts/o8/id [12]Google does not require the username to be passed in the openID string.
Yahoo!openid.yahoo.comYahoo! began allowing their usernames to be used as openIDs beginning January 31, 2008.[13] Yahoo! does not require the username be passed in the openID string.
Microsoftaccountservices.passport.net/Windows Live ID
Facebookfacebook.com/username/Facebook
LiveJournalusername.livejournal.comLiveJournal supports OpenID as both a provider and a relying party.
MySpacemyspace.com/username
WordPressusername.wordpress.com
Bloggerusername.blogger.com
Verisignusername.pip.verisignlabs.comVerisign offers a secure OpenID service, with two-factor authentication, which they call "Personal Identity Provider"
Typepadblogname.typepad.com
MyOpenIDusername.myopenid.com
Google Profilegoogle.com/profiles/username
Orangeopenid.orange.fr/username or just orange.fr/Offers OpenIDs to their 40 million broadband subscribers, and accepts OpenID to allow non subscriber users to access a subset of services.
Launchpadlaunchpad.net/~usernameSee https://help.launchpad.net/YourAccount/OpenID for details.

Read more...

About Me

My photo
Georgetowm, Penang, Malaysia

My Blog List