顯示具有 IT - Programming 標籤的文章。 顯示所有文章
顯示具有 IT - Programming 標籤的文章。 顯示所有文章

2010年1月12日 星期二

PHP Framework - CodeIgniter

http://codeigniter.com/

2009年8月18日 星期二

Google AJAX API

http://code.google.com/intl/zh-TW/apis/ajax/documentation/

HTML elements and their attributes : SitePoint

HTML : http://reference.sitepoint.com/html

CSS : http://reference.sitepoint.com/css

JavaScript : http://reference.sitepoint.com/javascript

SWFObject

http://code.google.com/p/swfobject/

http://www.adobe.com/devnet/flashplayer/articles/swfobject.html

http://www.adobe.com/devnet/flashplayer/articles/alternative_content.html

Traditional publishing mechanisms for rich media content created for Adobe Flash Player often rely on the twice-cooked method to embed SWF files into HTML pages. One major drawback of this method is that it is based on old-fashioned, vendor-specific markup that doesn't comply with modern web standards and also doesn't allow you to nest fallback content inside of it.

To solve this problem, we created SWFObject 2, which offers multiple standards-friendly methods to embed rich media content into web pages. It supports the use of alternative (substitute) content to display content to people who browse the web without plug-ins, to help search engines index your content, and to point visitors to the Adobe Flash Player download page.

2009年8月8日 星期六

Perl : A perl script to execute another perl

system("2.pl");

Perl : To compare two files and print differences between them

#!/usr/bin/perl -W

open F1, "< FileA.txt";
open F2, "< FileB.txt";

my %hash1;
my %hash2;

while () { $hash1{$_} = 1; }
while () { $hash2{$_} = 1; }

print "words are in FileA but not in FileB are:\n";
foreach (keys %hash1) { print if !defined($hash2{$_}); }

print "words are in FileB but not in FileA are:\n";
foreach (keys %hash2) { print if !defined($hash1{$_}); }

close F1;
close F2;

2009年7月12日 星期日