<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Doing &#38; Done &#187; command</title>
	<atom:link href="http://doing.liduan.com/tag/command/feed/" rel="self" type="application/rss+xml" />
	<link>http://doing.liduan.com</link>
	<description>Record and Store</description>
	<lastBuildDate>Thu, 11 Feb 2010 11:19:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>add php gd (graphics directly) support i&#8230;</title>
		<link>http://doing.liduan.com/2009/09/01/add-php-gd-graphics-directly-support-i/</link>
		<comments>http://doing.liduan.com/2009/09/01/add-php-gd-graphics-directly-support-i/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 15:26:44 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[php5-gd]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/09/01/add-php-gd-graphics-directly-support-i/</guid>
		<description><![CDATA[add php gd (graphics directly) support in ubuntu

#sudo apt-get install php5-gd

then, restart web service

#sudo service lighttpd restart //or
#sudo service apache2 restart
]]></description>
			<content:encoded><![CDATA[<p>add php gd (graphics directly) support in ubuntu</p>
<pre class="brush: php">
#sudo apt-get install php5-gd
</pre>
<p>then, restart web service</p>
<pre class="brush: php">
#sudo service lighttpd restart //or
#sudo service apache2 restart
</pre>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/09/01/add-php-gd-graphics-directly-support-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clean kernel temp files</title>
		<link>http://doing.liduan.com/2009/08/12/397/</link>
		<comments>http://doing.liduan.com/2009/08/12/397/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:02:16 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/397/</guid>
		<description><![CDATA[clean kernel temp files

#make clean
]]></description>
			<content:encoded><![CDATA[<p>clean kernel temp files</p>
<pre class="brush: bash">
#make clean
</pre>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/397/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>next, install modules of new kernel:</title>
		<link>http://doing.liduan.com/2009/08/12/396/</link>
		<comments>http://doing.liduan.com/2009/08/12/396/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 14:00:41 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/396/</guid>
		<description><![CDATA[next, install modules of new kernel:

#make modules_install

then, generate a image for new kernel.

#cd /lib/modules
#mkinitramfs -o initrd.img-2.6.30.4 2.6.30.4
#mv initrd.img-2.6.30.4 /boot

edit menu.lst file for grub booter, add following:

title		Ubuntu 8.04.3 LTS, kernel 2.6.30.4
root		(hd0,2)
kernel		/boot/vmlinuz root=UUID=98f69044-be12-4dde-95df-358dca35c632 ro quiet splash
initrd		/boot/initrd.img-2.6.30.4
quiet
]]></description>
			<content:encoded><![CDATA[<p>next, install modules of new kernel:</p>
<pre class="brush: bash">
#make modules_install
</pre>
<p>then, generate a image for new kernel.</p>
<pre class="brush: bash">
#cd /lib/modules
#mkinitramfs -o initrd.img-2.6.30.4 2.6.30.4
#mv initrd.img-2.6.30.4 /boot
</pre>
<p>edit menu.lst file for grub booter, add following:</p>
<pre class="brush: bash">
title		Ubuntu 8.04.3 LTS, kernel 2.6.30.4
root		(hd0,2)
kernel		/boot/vmlinuz root=UUID=98f69044-be12-4dde-95df-358dca35c632 ro quiet splash
initrd		/boot/initrd.img-2.6.30.4
quiet
</pre>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/396/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install new linux kernel 2.6.30.4 using &#8220;make install&#8221;,</title>
		<link>http://doing.liduan.com/2009/08/12/395/</link>
		<comments>http://doing.liduan.com/2009/08/12/395/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 13:45:32 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/395/</guid>
		<description><![CDATA[install new linux kernel 2.6.30.4 using &#8220;make install&#8221;, system should show following detail:
root@ibm-laptop:/usr/src/linux-2.6.30.4# make install
sh /usr/src/linux-2.6.30.4/arch/x86/boot/install.sh 2.6.30.4 arch/x86/boot/bzImage \
                System.map &#8220;/boot&#8221;
In order to use the new kernel image you have just installed, you
will need to reboot the machine.  First, [...]]]></description>
			<content:encoded><![CDATA[<p>install new linux kernel 2.6.30.4 using &#8220;make install&#8221;, system should show following detail:<br />
root@ibm-laptop:/usr/src/linux-2.6.30.4# make install<br />
sh /usr/src/linux-2.6.30.4/arch/x86/boot/install.sh 2.6.30.4 arch/x86/boot/bzImage \<br />
                System.map &#8220;/boot&#8221;<br />
In order to use the new kernel image you have just installed, you<br />
will need to reboot the machine.  First, however, you will need to<br />
either make a bootable floppy diskette, re-run LILO, or have GRUB<br />
installed.</p>
<p>Checking for ELILO&#8230;No</p>
<p>GRUB is installed. To automatically switch to new kernels, point your<br />
default entry in menu.lst to /boot/vmlinuz-2.6.30.4</p>
<p>====================<br />
GRUB menu configuration file menu.lst should be update.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/395/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configuration and update to linux kernel&#8230;</title>
		<link>http://doing.liduan.com/2009/08/12/configuration-and-update-to-linux-kernel/</link>
		<comments>http://doing.liduan.com/2009/08/12/configuration-and-update-to-linux-kernel/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 11:28:35 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/configuration-and-update-to-linux-kernel/</guid>
		<description><![CDATA[configuration and update to linux kernel 2.6.30.4
using root account do following.

#make mrproper #check kernel .o and .config files

next configuration kernel. there are three kinds of configuration UI.

#make config #Text UI


#make menuconfig #Text graph UI


#make xconfig

before using menuconfig mode, ncurses should be installed. 

#apt-get install libncurses*

and before using xconfig mode, following package should be installed. 

#apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>configuration and update to linux kernel 2.6.30.4</p>
<p>using root account do following.</p>
<pre class="brush: bash">
#make mrproper #check kernel .o and .config files
</pre>
<p>next configuration kernel. there are three kinds of configuration UI.</p>
<pre class="brush: bash">
#make config #Text UI
</pre>
<pre class="brush: bash">
#make menuconfig #Text graph UI
</pre>
<pre class="brush: bash">
#make xconfig
</pre>
<p>before using menuconfig mode, ncurses should be installed. </p>
<pre class="brush: bash">
#apt-get install libncurses*
</pre>
<p>and before using xconfig mode, following package should be installed. </p>
<pre class="brush: bash">
#apt-get install libqt3-headers libqt3-mt-dev
</pre>
<p>after all configuration work done. using make command to compile kernel.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/configuration-and-update-to-linux-kernel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>get recent linux kernel (2.6.30.4) [code&#8230;</title>
		<link>http://doing.liduan.com/2009/08/12/get-recent-linux-kernel-2-6-30-4-code/</link>
		<comments>http://doing.liduan.com/2009/08/12/get-recent-linux-kernel-2-6-30-4-code/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 11:04:12 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/get-recent-linux-kernel-2-6-30-4-code/</guid>
		<description><![CDATA[get recent linux kernel (2.6.30.4)

$sudo wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.gz /usr/src
$sudo tar xvf /usr/src/linux-2.6.30.4.tar.gz

if linux-2.6.30.4.tar.bz2 package, using command:

$sudo tar jxvf /usr/src/linux-2.6.30.4.tar.bz2
]]></description>
			<content:encoded><![CDATA[<p>get recent linux kernel (2.6.30.4)</p>
<pre class="brush: bash">
$sudo wget <a href="http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.gz" rel="nofollow">http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.30.4.tar.gz</a> /usr/src
$sudo tar xvf /usr/src/linux-2.6.30.4.tar.gz
</pre>
<p>if linux-2.6.30.4.tar.bz2 package, using command:</p>
<pre class="brush: bash">
$sudo tar jxvf /usr/src/linux-2.6.30.4.tar.bz2
</pre>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/get-recent-linux-kernel-2-6-30-4-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>open root account in ubuntu: [code lang=&#8230;</title>
		<link>http://doing.liduan.com/2009/08/12/open-root-account-in-ubuntu-code-lang/</link>
		<comments>http://doing.liduan.com/2009/08/12/open-root-account-in-ubuntu-code-lang/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 10:49:30 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux kernel 2.6.30.4]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/08/12/open-root-account-in-ubuntu-code-lang/</guid>
		<description><![CDATA[open root account in ubuntu:

$sudo passwd root

then, set new password for root.]]></description>
			<content:encoded><![CDATA[<p>open root account in ubuntu:</p>
<pre class="brush: bash">
$sudo passwd root
</pre>
<p>then, set new password for root.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/08/12/open-root-account-in-ubuntu-code-lang/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>/usr/bin/mysqladmin -u root password &#8216;n &#8230;</title>
		<link>http://doing.liduan.com/2009/05/27/usrbinmysqladmin-u-root-password-n/</link>
		<comments>http://doing.liduan.com/2009/05/27/usrbinmysqladmin-u-root-password-n/#comments</comments>
		<pubDate>Wed, 27 May 2009 22:06:49 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/27/usrbinmysqladmin-u-root-password-n/</guid>
		<description><![CDATA[/usr/bin/mysqladmin -u root password &#8216;new-password&#8217;
/usr/bin/mysqladmin -u root -h myhost password &#8216;new-password&#8217;
mysql -p -u root]]></description>
			<content:encoded><![CDATA[<p>/usr/bin/mysqladmin -u root password &#8216;new-password&#8217;<br />
/usr/bin/mysqladmin -u root -h myhost password &#8216;new-password&#8217;</p>
<p>mysql -p -u root</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/27/usrbinmysqladmin-u-root-password-n/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install samba in arch linux:  pacman &#8211; &#8230;</title>
		<link>http://doing.liduan.com/2009/05/27/install-samba-in-arch-linuxpacman/</link>
		<comments>http://doing.liduan.com/2009/05/27/install-samba-in-arch-linuxpacman/#comments</comments>
		<pubDate>Wed, 27 May 2009 21:11:19 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/27/install-samba-in-arch-linuxpacman/</guid>
		<description><![CDATA[install samba in arch linux:
$pacman -S samba
$cp /etc/samba/smb.conf.default /etc/samba/smb.conf
$adduser -d /home/&#60;user dir&#62; -m &#60;user name&#62;
$passwd &#60;user name&#62;
$smbpasswd -a &#60;user name&#62;
add two lines in to /etc/samba/smb.conf
netbios name = archsmb
encrypt passwords = yes
[homes]
browseable = yes
writable = yes
then:
$/etc/rc.d/samba start
$smbclient -L localhost -U &#60;user name&#62;]]></description>
			<content:encoded><![CDATA[<p>install samba in arch linux:</p>
<p>$pacman -S samba</p>
<p>$cp /etc/samba/smb.conf.default /etc/samba/smb.conf</p>
<p>$adduser -d /home/&lt;user dir&gt; -m &lt;user name&gt;</p>
<p>$passwd &lt;user name&gt;</p>
<p>$smbpasswd -a &lt;user name&gt;</p>
<p>add two lines in to /etc/samba/smb.conf</p>
<p>netbios name = archsmb</p>
<p>encrypt passwords = yes</p>
<p>[homes]</p>
<p>browseable = yes</p>
<p>writable = yes</p>
<p>then:</p>
<p>$/etc/rc.d/samba start</p>
<p>$smbclient -L localhost -U &lt;user name&gt;</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/27/install-samba-in-arch-linuxpacman/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>for start each service in arch linux, se &#8230;</title>
		<link>http://doing.liduan.com/2009/05/27/for-start-each-service-in-arch-linux-se/</link>
		<comments>http://doing.liduan.com/2009/05/27/for-start-each-service-in-arch-linux-se/#comments</comments>
		<pubDate>Wed, 27 May 2009 20:38:13 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[deamon]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/27/for-start-each-service-in-arch-linux-se/</guid>
		<description><![CDATA[for start each service in arch linux, set deamon in /etc/rc.conf.  using sshd for example:
deamons(&#8230; sshd lighttpd &#8230; &#8230;)]]></description>
			<content:encoded><![CDATA[<p>for start each service in arch linux, set deamon in /etc/rc.conf.  using sshd for example:</p>
<p>deamons(&#8230; sshd lighttpd &#8230; &#8230;)</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/27/for-start-each-service-in-arch-linux-se/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>open ssh service. change /etc/hosts.allo &#8230;</title>
		<link>http://doing.liduan.com/2009/05/16/open-ssh-service-change-etchostsallo/</link>
		<comments>http://doing.liduan.com/2009/05/16/open-ssh-service-change-etchostsallo/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:51:14 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/16/open-ssh-service-change-etchostsallo/</guid>
		<description><![CDATA[open ssh service. change /etc/hosts.allow add one line
sshd: ALL]]></description>
			<content:encoded><![CDATA[<p>open ssh service. change /etc/hosts.allow add one line</p>
<p>sshd: ALL</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/16/open-ssh-service-change-etchostsallo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>install lighttpd php fcgi and mysql.   &#8230;</title>
		<link>http://doing.liduan.com/2009/05/16/install-lighttpd-php-fcgi-and-mysql/</link>
		<comments>http://doing.liduan.com/2009/05/16/install-lighttpd-php-fcgi-and-mysql/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:34:21 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/16/install-lighttpd-php-fcgi-and-mysql/</guid>
		<description><![CDATA[install lighttpd php fcgi and mysql.
pacman -Ss search
pacman -S lighttpd php fcgi mysql samba perl-cgi]]></description>
			<content:encoded><![CDATA[<p>install lighttpd php fcgi and mysql.</p>
<p>pacman -Ss search</p>
<p>pacman -S lighttpd php fcgi mysql samba perl-cgi</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/16/install-lighttpd-php-fcgi-and-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configuation arch linux network by dhcp: &#8230;</title>
		<link>http://doing.liduan.com/2009/05/16/configuation-arch-linux-network-by-dhcp/</link>
		<comments>http://doing.liduan.com/2009/05/16/configuation-arch-linux-network-by-dhcp/#comments</comments>
		<pubDate>Sat, 16 May 2009 22:10:37 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/16/configuation-arch-linux-network-by-dhcp/</guid>
		<description><![CDATA[configuation arch linux network by dhcp:
add following lines to /etc/rc.conf
eth0=&#8221;dhcp&#8221;
INTERFACES=(eth0)
ROUTES=(!gateway)
then try /etc/rc.d/network restart]]></description>
			<content:encoded><![CDATA[<p>configuation arch linux network by dhcp:</p>
<p>add following lines to <span style="font-family: Courier New;">/etc/rc.conf</span></p>
<p>eth0=&#8221;dhcp&#8221;<br />
INTERFACES=(eth0)<br />
ROUTES=(!gateway)</p>
<p>then try /etc/rc.d/network restart</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/16/configuation-arch-linux-network-by-dhcp/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>using python get current timestamp

&amp;g &#8230;</title>
		<link>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/</link>
		<comments>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/#comments</comments>
		<pubDate>Sat, 02 May 2009 13:41:22 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[time stamp]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/</guid>
		<description><![CDATA[using python get current timestamp
&#62;&#62;&#62;import time
&#62;&#62;&#62;time.time()
//currenting timestamp to int
&#62;&#62;&#62;int(time.time())
//converting to string
&#62;&#62;&#62;str(time.time())]]></description>
			<content:encoded><![CDATA[<p>using python get current timestamp</p>
<p>&gt;&gt;&gt;import time</p>
<p>&gt;&gt;&gt;time.time()</p>
<p>//currenting timestamp to int</p>
<p>&gt;&gt;&gt;int(time.time())</p>
<p>//converting to string</p>
<p>&gt;&gt;&gt;str(time.time())</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/02/using-python-get-current-timestampg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using python get friend timeline in twit &#8230;</title>
		<link>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</link>
		<comments>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/#comments</comments>
		<pubDate>Fri, 01 May 2009 20:53:37 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/</guid>
		<description><![CDATA[using python get friend timeline in twitter. following tools should be used:
python-twitter
python-simplejson
first install python-simplejson, if in ubuntu, just using command as follows
$apt-get install python-simplejson
then, downloading python-twitter , unpackage it. then using command
  $ python setup.py build
  $ python setup.py install
then, open python.
&#62;&#62;&#62; import twitter
&#62;&#62;&#62; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)
&#62;&#62;&#62; posts = api.GetFriendsTimeline(&#8216;username&#8217;)
&#62;&#62;&#62; print [post.text in post [...]]]></description>
			<content:encoded><![CDATA[<p>using python get friend timeline in twitter. following tools should be used:</p>
<p><a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a></p>
<p>python-simplejson</p>
<p>first install python-simplejson, if in ubuntu, just using command as follows</p>
<p>$apt-get install python-simplejson</p>
<p>then, downloading <a title="python-twitter" href="http://code.google.com/p/python-twitter/" target="_blank">python-twitter</a> , unpackage it. then using command</p>
<pre><span class="pln">  $ python setup</span><span class="pun">.</span><span class="pln">py build
  $ python setup</span><span class="pun">.</span><span class="pln">py install</span></pre>
<p>then, open python.</p>
<p>&gt;&gt;&gt; import twitter</p>
<p>&gt;&gt;&gt; api = twitter.Api(&#8220;username&#8221;, &#8220;passworld&#8221;)</p>
<p>&gt;&gt;&gt; posts = api.GetFriendsTimeline(&#8216;username&#8217;)</p>
<p>&gt;&gt;&gt; print [post.text in post as posts ];</p>
<p>for the file, the script should be liked:<br />
<code><br />
import twitter<br />
class mytwitter():</p>
<p>def __init__(self):<br />
  self._config = None</p>
<p>def main():<br />
  api = twitter.Api('username', 'passworld')<br />
  posts = api.GetFriendsTimeline('username')<br />
  for post in posts:<br />
    print post.text.encode('utf-8')</p>
<p>if __name__ == "__main__":<br />
  main()<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/05/01/using-python-get-friend-timeline-in-twit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>To mount the ISO image file.iso to the m &#8230;</title>
		<link>http://doing.liduan.com/2009/04/20/to-mount-the-iso-image-fileiso-to-the-m/</link>
		<comments>http://doing.liduan.com/2009/04/20/to-mount-the-iso-image-fileiso-to-the-m/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 16:56:23 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[ISO]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/20/to-mount-the-iso-image-fileiso-to-the-m/</guid>
		<description><![CDATA[To mount the ISO image file.iso to the mount point /mnt/test use this command:
mount -o loop -t iso9660 file.iso /mnt/test]]></description>
			<content:encoded><![CDATA[<p>To mount the ISO image file.iso to the mount point /mnt/test use this command:</p>
<p><code>mount -o loop -t iso9660 file.iso /mnt/test</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/20/to-mount-the-iso-image-fileiso-to-the-m/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>building a PXE boot server in the ubuntu &#8230;</title>
		<link>http://doing.liduan.com/2009/04/20/building-a-pxe-boot-server-in-the-ubuntu/</link>
		<comments>http://doing.liduan.com/2009/04/20/building-a-pxe-boot-server-in-the-ubuntu/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 16:36:03 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[dhcp]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/20/building-a-pxe-boot-server-in-the-ubuntu/</guid>
		<description><![CDATA[building a PXE boot server in the ubuntu.
1. install dhcp3 server in the ubuntu.
apt-get install dhcp3-server
2. edit /etc/default/dhcp3-server
INTERFACES=&#8221;eth0&#8243;
3. edit /etc/dhcp3/dhcpd.conf
default-lease-time 600;
max-lease-time 7200;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.254;
option domain-name-servers 192.168.1.1, 192.168.1.2;
option domain-name "mydomain.example";
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.10 192.168.1.100;
range 192.168.1.150 192.168.1.200;
}
4. edit /etc/network/interfaces
auto eth0:1
iface eth0:1 inet static
name DHCPserver
address 192.168.1.1
netmask 255.255.255.0
5. restart networking and dhcp3
service networking [...]]]></description>
			<content:encoded><![CDATA[<p>building a <a title="PXE boot server" href="http://myy.helia.fi/~karte/ubuntu_hardy_pxe_notes.html" target="_blank">PXE boot server </a>in the <a href="http://www.freelikegnu.org/?p=3" target="_blank">ubuntu</a>.</p>
<p><a title="install dhcp3 server in the ubuntu." href="https://help.ubuntu.com/8.04/serverguide/C/dhcp.html" target="_blank">1. install dhcp3 server in the ubuntu.</a></p>
<p>apt-get install dhcp3-server</p>
<p>2. edit /etc/default/dhcp3-server</p>
<p>INTERFACES=&#8221;eth0&#8243;<br />
3. edit /etc/dhcp3/dhcpd.conf<br />
<code>default-lease-time 600;<br />
max-lease-time 7200;<br />
option subnet-mask 255.255.255.0;<br />
option broadcast-address 192.168.1.255;<br />
option routers 192.168.1.254;<br />
option domain-name-servers 192.168.1.1, 192.168.1.2;<br />
option domain-name "mydomain.example";</code></p>
<p>subnet 192.168.1.0 netmask 255.255.255.0 {<br />
range 192.168.1.10 192.168.1.100;<br />
range 192.168.1.150 192.168.1.200;<br />
}</p>
<p>4. edit /etc/network/interfaces</p>
<p>auto eth0:1</p>
<p>iface eth0:1 inet static</p>
<p>name DHCPserver</p>
<p>address 192.168.1.1</p>
<p>netmask 255.255.255.0</p>
<p>5. restart networking and dhcp3</p>
<p>service networking restart</p>
<p>service dhcp3-server restart</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/20/building-a-pxe-boot-server-in-the-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>post twitter tweet by using PHP script. &#8230;</title>
		<link>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/</link>
		<comments>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 12:39:22 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/</guid>
		<description><![CDATA[post twitter tweet by using PHP script.
via curl command in linux, 1 and 2.
Using twitter php client.
official API tutorial.]]></description>
			<content:encoded><![CDATA[<p>post twitter tweet by using PHP script.</p>
<p>via curl command in linux, <a href="http://www.webmaster-source.com/2009/04/05/post-to-twitter-from-a-php-script/" target="_blank">1</a> and <a href="http://morethanseven.net/2007/01/20/posting-to-twitter-using-php/" target="_blank">2</a>.</p>
<p><a href="http://woork.blogspot.com/2007/10/twitter-send-message-from-php-page.html" target="_blank">Using twitter php client</a>.</p>
<p><a href="http://www.newwebplatform.com/tips-and-tutorials/Twitter" target="_blank">official API tutorial</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/17/post-twitter-tweet-by-using-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>work on the ruby on vista.

firstly, i &#8230;</title>
		<link>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/</link>
		<comments>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 18:25:03 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[ruby on rails]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/</guid>
		<description><![CDATA[work on the ruby on vista.
firstly, install ruby
next, install rails, by command &#8220;gem install rails&#8221;
then, create a new web app by rails by &#8220;rails project&#8221;.
if &#8220;project&#8221; has been create, it can be runned by command &#8220;ruby script/server webrick&#8221;.
lastly, open address &#8220;http://localhost:3000&#8243; web browser.]]></description>
			<content:encoded><![CDATA[<p>work on the ruby on vista.</p>
<p>firstly, install ruby</p>
<p>next, install rails, by command &#8220;gem install rails&#8221;</p>
<p>then, create a new web app by rails by &#8220;rails project&#8221;.</p>
<p>if &#8220;project&#8221; has been create, it can be runned by command &#8220;ruby script/server webrick&#8221;.</p>
<p>lastly, open address &#8220;http://localhost:3000&#8243; web browser.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/04/06/work-on-the-ruby-on-vistafirstly-i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Typical Java Commands. using command jav &#8230;</title>
		<link>http://doing.liduan.com/2009/03/10/typical-java-commands-using-command-jav/</link>
		<comments>http://doing.liduan.com/2009/03/10/typical-java-commands-using-command-jav/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 12:46:52 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/03/10/typical-java-commands-using-command-jav/</guid>
		<description><![CDATA[Typical Java Commands. using command java javac and jar to do java development work.]]></description>
			<content:encoded><![CDATA[<p><a title="Typical Java Commands. using command java javac and jar to do java development work." href="http://www.vipan.com/htdocs/javahelp.html" target="_blank">Typical Java Commands</a>. using command java javac and jar to do java development work.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/03/10/typical-java-commands-using-command-jav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using rdesktop can remote control window &#8230;</title>
		<link>http://doing.liduan.com/2009/03/06/using-rdesktop-can-remote-control-window/</link>
		<comments>http://doing.liduan.com/2009/03/06/using-rdesktop-can-remote-control-window/#comments</comments>
		<pubDate>Fri, 06 Mar 2009 14:55:28 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[rdesktop]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/03/06/using-rdesktop-can-remote-control-window/</guid>
		<description><![CDATA[using rdesktop can remote control windows computer by using unix.example:
$rdesktop -f &#60;ip address&#62;
-f is mean full screen.]]></description>
			<content:encoded><![CDATA[<p>using rdesktop can remote control windows computer by using unix.example:</p>
<p>$rdesktop -f &lt;ip address&gt;</p>
<p>-f is mean full screen.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/03/06/using-rdesktop-can-remote-control-window/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>improve your arch linux pacman speed.
 &#8230;</title>
		<link>http://doing.liduan.com/2009/02/22/improve-your-arch-linux-pacman-speed/</link>
		<comments>http://doing.liduan.com/2009/02/22/improve-your-arch-linux-pacman-speed/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 15:21:53 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[arch linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[pacman]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/02/22/improve-your-arch-linux-pacman-speed/</guid>
		<description><![CDATA[improve your arch linux pacman speed.
pacman using wget for download task. but wget is not for multiple thread download. if using &#8220;aria2&#8243;, the download speed can sharply increase.
firstly, install aria2 by:
$pacman -Sy
$pacman -S aria2
then, edit /etc/pacman.conf, add a line:
XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u
ok, try pacman again, you can [...]]]></description>
			<content:encoded><![CDATA[<p>improve your arch linux pacman speed.</p>
<p>pacman using wget for download task. but wget is not for multiple thread download. if using &#8220;aria2&#8243;, the download speed can sharply increase.</p>
<p>firstly, install aria2 by:</p>
<p>$pacman -Sy</p>
<p>$pacman -S aria2</p>
<p>then, edit /etc/pacman.conf, add a line:</p>
<p>XferCommand = /usr/bin/aria2c -s 2 -m 2 -d / -o %o %u</p>
<p>ok, try pacman again, you can see big change for download speed.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/02/22/improve-your-arch-linux-pacman-speed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>disable linux kde auto login:

open /e &#8230;</title>
		<link>http://doing.liduan.com/2009/02/08/disable-linux-kde-auto-loginopen-e/</link>
		<comments>http://doing.liduan.com/2009/02/08/disable-linux-kde-auto-loginopen-e/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 23:46:27 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/02/08/disable-linux-kde-auto-loginopen-e/</guid>
		<description><![CDATA[disable linux kde auto login:
open /etc/kde3/kdm/kdmrc
change &#8220;AutoLoginEnable&#8221; to false]]></description>
			<content:encoded><![CDATA[<p>disable linux kde auto login:</p>
<p>open /etc/kde3/kdm/kdmrc</p>
<p>change &#8220;AutoLoginEnable&#8221; to false</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/02/08/disable-linux-kde-auto-loginopen-e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>a shell script for quick uploading one f &#8230;</title>
		<link>http://doing.liduan.com/2009/02/03/a-shell-script-for-quick-uploading-one-f/</link>
		<comments>http://doing.liduan.com/2009/02/03/a-shell-script-for-quick-uploading-one-f/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 13:21:37 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/02/03/a-shell-script-for-quick-uploading-one-f/</guid>
		<description><![CDATA[a shell script for quick uploading one file via ftp:

#!/bin/bash
ftp -v -n http://ftp.server.com ]]></description>
			<content:encoded><![CDATA[<p>a shell script for quick uploading one file via ftp:<br />
<code><br />
#!/bin/bash<br />
ftp -v -n <a href="http://ftp.server.com" rel="nofollow">http://ftp.server.com</a> <<END<br />
user yourUserName yourPassword<br />
mput $1<br />
bye<br />
END<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/02/03/a-shell-script-for-quick-uploading-one-f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using command &#8216;badbloocks&#8217; check bad b &#8230;</title>
		<link>http://doing.liduan.com/2009/02/01/using-command-badbloocks-check-bad-b/</link>
		<comments>http://doing.liduan.com/2009/02/01/using-command-badbloocks-check-bad-b/#comments</comments>
		<pubDate>Sun, 01 Feb 2009 00:12:47 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/02/01/using-command-badbloocks-check-bad-b/</guid>
		<description><![CDATA[using command &#8216;badbloocks&#8217; check bad block on the device.
$badblocks -c -v /dev/sda1
-c blocks at once
-v verbose mode
in the freebsd system, smart montools can be used:

$cd /usr/ports/sysutils/smartmontools
$make config install clean
$smartctl -a /dev/ad0    // quick checking and check all
$smartctl -t long /dev/ad0  // check and test
]]></description>
			<content:encoded><![CDATA[<p>using command &#8216;badbloocks&#8217; check bad block on the device.</p>
<p><code>$badblocks -c -v /dev/sda1</code></p>
<p>-c blocks at once<br />
-v verbose mode</p>
<p>in the freebsd system, smart montools can be used:<br />
<code><br />
$cd /usr/ports/sysutils/smartmontools<br />
$make config install clean<br />
$smartctl -a /dev/ad0    // quick checking and check all<br />
$smartctl -t long /dev/ad0  // check and test<br />
</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/02/01/using-command-badbloocks-check-bad-b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>swc file is an archive for flex or actio &#8230;</title>
		<link>http://doing.liduan.com/2009/01/23/swc-file-is-an-archive-for-flex-or-actio/</link>
		<comments>http://doing.liduan.com/2009/01/23/swc-file-is-an-archive-for-flex-or-actio/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 19:44:18 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/01/23/swc-file-is-an-archive-for-flex-or-actio/</guid>
		<description><![CDATA[swc file is an archive for flex or actionscript components and other assets. using one or more swc files in the flex project can by following command:
mxmlc -library-path+=path\SwcFileName_1.swc,path\SwcFileName_2.swc FlexAppName.mxml]]></description>
			<content:encoded><![CDATA[<p>swc file is an archive for flex or actionscript components and other assets. using one or more swc files in the flex project can by following command:<br />
<code>mxmlc -library-path+=path\SwcFileName_1.swc,path\SwcFileName_2.swc FlexAppName.mxml</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/01/23/swc-file-is-an-archive-for-flex-or-actio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>using SpringGraph for any flex project:  &#8230;</title>
		<link>http://doing.liduan.com/2009/01/23/using-springgraph-for-any-flex-project/</link>
		<comments>http://doing.liduan.com/2009/01/23/using-springgraph-for-any-flex-project/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 19:39:56 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flex]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[spring graph]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/01/23/using-springgraph-for-any-flex-project/</guid>
		<description><![CDATA[using SpringGraph for any flex project:
SpringGraph is a 2D data visualization API based on the flex 2. I have used flex 3 sdk to demo the example of spring graph.
first of all, a package should be downloaded for using SpringGraph at developer blog. Extracting the package, copy ./SpringGraph/bin/SpringGraph.swc to the directory named simple.
The package provides [...]]]></description>
			<content:encoded><![CDATA[<p>using SpringGraph for any flex project:</p>
<p>SpringGraph is a 2D data visualization API based on the flex 2. I have used flex 3 sdk to demo the example of spring graph.</p>
<p>first of all, a <a title="springgraph packare" href="http://mark-shepherd.com/SpringGraph/download/springgraph.zip" target="_blank">package</a> should be downloaded for using SpringGraph at <a title="spring graph developer blog" href="http://flexed.wordpress.com/2006/11/20/mark-shepard-a-flex-component-for-graph-visualization/" target="_blank">developer blog</a>. Extracting the package, copy <code>./SpringGraph/bin/SpringGraph.swc</code> to the directory named simple.</p>
<p>The package provides five examples for testing SpringGraph. going into simple <strong>SpringGraphDemo</strong>. using command to compile the mxml file, like:<br />
<code>mxmlc -library-path+=../SpringGraph.swc SpringGraphDemo.mxml</code></p>
<p>than using a flash player open SpringGraphDemo.swf. the interface should like <a title="Spring Graph Component Tester" href="http://mark-shepherd.com/SpringGraph/SpringGraphDemo/bin/SpringGraphDemo.html" target="_blank">this example</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/01/23/using-springgraph-for-any-flex-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>export and import mysql database in comm &#8230;</title>
		<link>http://doing.liduan.com/2009/01/22/export-and-import-mysql-database-in-comm/</link>
		<comments>http://doing.liduan.com/2009/01/22/export-and-import-mysql-database-in-comm/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 10:46:38 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2009/01/22/export-and-import-mysql-database-in-comm/</guid>
		<description><![CDATA[export and import mysql database in command line
export
mysqldump -u admin_user -p database_name &#62; file.sql
import
mysql -u admin_user -p database_name &#60; file.sql]]></description>
			<content:encoded><![CDATA[<p>export and import mysql database in command line</p>
<p>export<br />
<code>mysqldump -u admin_user -p database_name &gt; file.sql</code><br />
import<br />
<code>mysql -u admin_user -p database_name &lt; file.sql</code></p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2009/01/22/export-and-import-mysql-database-in-comm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clean ubuntu package cache:sudo apt-ge &#8230;</title>
		<link>http://doing.liduan.com/2008/11/20/clean-ubuntu-package-cachesudo-apt-ge/</link>
		<comments>http://doing.liduan.com/2008/11/20/clean-ubuntu-package-cachesudo-apt-ge/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 10:23:44 +0000</pubDate>
		<dc:creator>liduan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[package]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[summary]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[web server]]></category>

		<guid isPermaLink="false">http://doing.liduan.com/2008/11/20/clean-ubuntu-package-cachesudo-apt-ge/</guid>
		<description><![CDATA[clean ubuntu package cache:
sudo apt-get autoclean
sudo apt-get clean
sudo apt-get autoremove
clean isolated package
sudo apt-get install deborphan -y]]></description>
			<content:encoded><![CDATA[<p>clean ubuntu package cache:<br />
sudo apt-get autoclean<br />
sudo apt-get clean<br />
sudo apt-get autoremove</p>
<p>clean isolated package<br />
sudo apt-get install deborphan -y</p>]]></content:encoded>
			<wfw:commentRss>http://doing.liduan.com/2008/11/20/clean-ubuntu-package-cachesudo-apt-ge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
