<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Andy's Blog</title>
	
	<link>http://www.21andy.com/blog</link>
	<description>PHP,WordPress,SEO,网赚,站长</description>
	<lastBuildDate>Sat, 26 May 2012 21:07:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/21andycom" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="21andycom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">21andycom</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Adobe Dreamweaver CS6 新功能视频教程下载</title>
		<link>http://www.21andy.com/blog/20120527/2038.html</link>
		<comments>http://www.21andy.com/blog/20120527/2038.html#comments</comments>
		<pubDate>Sat, 26 May 2012 21:05:54 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[收藏]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Dreamweaver CS6]]></category>
		<category><![CDATA[视频教程]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2038</guid>
		<description><![CDATA[Adobe Dreamweaver CS6 新功能视频教程下载（拖到迅雷） [Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.bin 390MB [Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.cue 120B [Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.nfo 8.5KB 390MB 中文名: Adobe Dreamweaver CS6 新功能视频教程 英文名: Lynda.com Dreamweaver CS6 New Features 资源格式: 光盘镜像 主讲人: James Williamson 发行日期: 2012年4月23日 地区: 美国 对白语言: 英语 文字语言: 英文 简介: 语言：英语 网址：http://www.lynda.com/Dreamweaver-tutorials/Dreamweaver-CS-New-Features/97612-2.html 类别：教程 Lynda.com 出品的时长1小时22分钟的Adobe Dreamweaver CS6 新功能视频教程。由James Williamson展示了改进后的FTP功能;流体网格功能，为设计师提供了一个可视化的方式来控制多个屏幕尺寸的页面布局，同时自动整合通过使用 HTML5的跨浏览器的一致性;和CSS过渡面板，这使得它很容易通过一个对话框添加令人印象深刻的CSS驱动过渡到页面上的任何元素。 Adobe® Dreamweaver® CS6 网页设计软件拥有直观的可视界面，可制作并编辑网站和移动应用程序。使用专为跨平台兼容性设计的自适应网格版面创建页面。在发布前使用多屏幕预览审阅设计。利用 Adobe® Dreamweaver® CS6 软件中改善的 FTP [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Adobe Dreamweaver CS6 新功能视频教程下载（拖到迅雷）</strong></p>
<table cellspacing="1" cellpadding="2">
<tbody>
<tr>
<td><a href="ed2k://%7Cfile%7C%5BAdobe.Dreamweaver.CS6.%E6%96%B0%E5%8A%9F%E8%83%BD%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B%5D.TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.bin%7C408930480%7C2500c940ee3999b967ba79ad18312bcb%7Ch=lfahrm3axhfedackl2hcyfx2kccf6hph%7C/" rel="nofollow" target="_blank">[Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.bin</a></td>
<td align="center">390MB</td>
</tr>
<tr>
<td><a href="ed2k://%7Cfile%7C%5BAdobe.Dreamweaver.CS6.%E6%96%B0%E5%8A%9F%E8%83%BD%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B%5D.TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.cue%7C120%7C3fa97531c67f3af4c469da803ef07c36%7Ch=gm5igr3k6cmnyebmjjlrlmiocuayssd7%7C/" rel="nofollow" target="_blank">[Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.cue</a></td>
<td align="center">120B</td>
</tr>
<tr>
<td><a href="ed2k://%7Cfile%7C%5BAdobe.Dreamweaver.CS6.%E6%96%B0%E5%8A%9F%E8%83%BD%E8%A7%86%E9%A2%91%E6%95%99%E7%A8%8B%5D.TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.nfo%7C8742%7C9a4bf4dc13a50a6e6a7413a31b708677%7Ch=5xafd22xiphjcpu3l4z3ziwqep746btm%7C/" rel="nofollow" target="_blank">[Adobe.Dreamweaver.CS6.新功能视频教程].TLF-SOFT-Lynda.com.Dreamweaver.CS6.New.Features-iNKiSO.nfo</a></td>
<td align="center">8.5KB</td>
</tr>
<tr>
<td align="left"></td>
<td align="center">390MB</td>
</tr>
</tbody>
</table>
<p>中文名: Adobe Dreamweaver CS6 新功能视频教程<br />
英文名: Lynda.com Dreamweaver CS6 New Features</p>
<p><a href="http://www.21andy.com/blog/uploads/2012/05/dreamweaver_cs6_new.jpg" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/dreamweaver_cs6_new.jpg" alt="Adobe Dreamweaver CS6 新功能视频教程下载 dreamweaver cs6 new" title="dreamweaver_cs6_new" width="400" height="224" class="alignnone size-full wp-image-2039" /></a></p>
<p>资源格式: 光盘镜像<br />
主讲人: James Williamson<br />
发行日期: 2012年4月23日<br />
地区: 美国<br />
对白语言: 英语<br />
文字语言: 英文</p>
<p>简介:<br />
语言：英语<br />
网址：http://www.lynda.com/Dreamweaver-tutorials/Dreamweaver-CS-New-Features/97612-2.html<br />
类别：教程<br />
Lynda.com 出品的时长1小时22分钟的Adobe Dreamweaver CS6 新功能视频教程。由James Williamson展示了改进后的FTP功能;流体网格功能，为设计师提供了一个可视化的方式来控制多个屏幕尺寸的页面布局，同时自动整合通过使用 HTML5的跨浏览器的一致性;和CSS过渡面板，这使得它很容易通过一个对话框添加令人印象深刻的CSS驱动过渡到页面上的任何元素。<br />
Adobe® Dreamweaver® CS6 网页设计软件拥有直观的可视界面，可制作并编辑网站和移动应用程序。使用专为跨平台兼容性设计的自适应网格版面创建页面。在发布前使用多屏幕预览审阅设计。利用 Adobe® Dreamweaver® CS6 软件中改善的 FTP 性能，更高效地传输大型文件。更新的“实时视图”和“多屏幕预览”面板可呈现 HTML5 代码，使您能检查自己的工作。</p>
<p>Topics include:</p>
<blockquote><p>Exploring the interface changes<br />
Reviewing the FTP enhancements<br />
Using the new image optimization workflows<br />
Applying multiple classes<br />
Applying CSS transitions<br />
Taking advantage of the jQuery Mobile theme support</p></blockquote>
<p>目录: Introduction</p>
<blockquote><p>Welcome 01m 07s<br />
Using the exercise files 02m 09s<br />
01h 18m<br />
1. New Features Exploring changes to the interface 08m 08s<br />
Reviewing FTP enhancements 06m 24s<br />
Exploring image-optimization workflows 11m 00s<br />
Applying multiple classes 05m 51s<br />
Reviewing support for web fonts 11m 59s<br />
Working with CSS3 transitions 08m 39s<br />
Exploring jQuery Mobile theme support 09m 14s<br />
Working with fluid grids 16m 59s<br />
01m 08s<br />
Conclusion Where to go from here 01m 08s</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120527/2038.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SwitchHosts 快速切换 hosts 的小工具</title>
		<link>http://www.21andy.com/blog/20120524/2037.html</link>
		<comments>http://www.21andy.com/blog/20120524/2037.html#comments</comments>
		<pubDate>Wed, 23 May 2012 17:38:16 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[软件收藏]]></category>
		<category><![CDATA[hosts]]></category>
		<category><![CDATA[SwitchHosts]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2037</guid>
		<description><![CDATA[SwitchHosts 在 Windows 下的运行截图如下： SwitchHosts 还可以最小化到系统托盘，在托盘图标的右键菜单上也可以快速切换各 hosts 方案： SwitchHosts 绿色版下载地址：https://github.com/oldj/SwitchHosts/downloads]]></description>
			<content:encoded><![CDATA[<p>SwitchHosts 在 Windows 下的运行截图如下：</p>
<p><a href="http://www.21andy.com/blog/upload/2012/0523/9f250547111149be.png" class="lightbox"><img src="http://www.21andy.com/blog/upload/2012/0523/9f250547111149be_thumb.png" title="SwitchHosts 快速切换 hosts 的小工具" alt="SwitchHosts 快速切换 hosts 的小工具 9f250547111149be thumb" /></a></p>
<p>SwitchHosts 还可以最小化到系统托盘，在托盘图标的右键菜单上也可以快速切换各 hosts 方案：</p>
<p><a href="http://www.21andy.com/blog/upload/2012/0523/f963799cd32e4c82.png" class="lightbox"><img src="http://www.21andy.com/blog/upload/2012/0523/f963799cd32e4c82.png" title="SwitchHosts 快速切换 hosts 的小工具" alt="SwitchHosts 快速切换 hosts 的小工具 f963799cd32e4c82" /></a></p>
<p>SwitchHosts 绿色版下载地址：<a href="https://github.com/oldj/SwitchHosts/downloads" rel="nofollow" target="_blank">https://github.com/oldj/SwitchHosts/downloads</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120524/2037.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMWare 添加虚拟硬盘到 CentOS</title>
		<link>http://www.21andy.com/blog/20120523/2031.html</link>
		<comments>http://www.21andy.com/blog/20120523/2031.html#comments</comments>
		<pubDate>Wed, 23 May 2012 11:18:22 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[虚拟硬盘]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2031</guid>
		<description><![CDATA[下面，我实例讲解一下添加一个50G的硬盘到 VMWare 的 CentOS 里 转载请注明原文出处：http://www.21andy.com/blog/20120523/2031.html 1. 先查看一下分区 # fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 13 104391 83 Linux /dev/sda2 14 2610 20860402+ 8e Linux LVM Disk [...]]]></description>
			<content:encoded><![CDATA[<p>下面，我实例讲解一下添加一个50G的硬盘到 VMWare 的 CentOS 里</p>
<p><a href="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd-500x438.png" alt="VMWare 添加虚拟硬盘到 CentOS vmware add hdd 500x438" title="vmware_add_hdd" width="500" height="438" class="alignnone size-medium wp-image-2033" /></a></p>
<p><a href="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd2.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd2-100x100.png" alt="VMWare 添加虚拟硬盘到 CentOS vmware add hdd2 100x100" title="vmware_add_hdd2" width="100" height="100" class="alignnone size-thumbnail wp-image-2034" /></a> <a href="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd3.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd3-100x100.png" alt="VMWare 添加虚拟硬盘到 CentOS vmware add hdd3 100x100" title="vmware_add_hdd3" width="100" height="100" class="alignnone size-thumbnail wp-image-2035" /></a> <a href="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd4.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd4-100x100.png" alt="VMWare 添加虚拟硬盘到 CentOS vmware add hdd4 100x100" title="vmware_add_hdd4" width="100" height="100" class="alignnone size-thumbnail wp-image-2036" /></a> <a href="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd5.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/vmware_add_hdd5-100x100.png" alt="VMWare 添加虚拟硬盘到 CentOS vmware add hdd5 100x100" title="vmware_add_hdd5" width="100" height="100" class="alignnone size-thumbnail wp-image-2032" /></a></p>
<p>转载请注明原文出处：<a title="VMWare 添加虚拟硬盘到 CentOS" href="http://www.21andy.com/blog/20120523/2031.html">http://www.21andy.com/blog/20120523/2031.html</a></p>
<p>1. 先查看一下分区<br />
<strong># fdisk -l</strong></p>
<blockquote><p>Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />
255 heads, 63 sectors/track, 2610 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14        2610    20860402+  8e  Linux LVM</p>
<p><strong>Disk /dev/sdb: 53.6 GB, 53687091200 bytes<br />
这个是刚才添加的硬盘，找到了!</strong><br />
255 heads, 63 sectors/track, 6527 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Disk /dev/sdb doesn't contain a valid partition table</p></blockquote>
<p>2. 给新加的硬盘 /dev/sdb 分区<br />
<strong># fdisk /dev/sdb</strong></p>
<blockquote><p>Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel<br />
Building a new DOS disklabel. Changes will remain in memory only,<br />
until you decide to write them. After that, of course, the previous<br />
content won't be recoverable.</p>
<p>The number of cylinders for this disk is set to 6527.<br />
There is nothing wrong with that, but this is larger than 1024,<br />
and could in certain setups cause problems with:<br />
1) software that runs at boot time (e.g., old versions of LILO)<br />
2) booting and partitioning software from other OSs<br />
   (e.g., DOS FDISK, OS/2 FDISK)<br />
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)</p></blockquote>
<blockquote><p>Command (m for help): <strong>m</strong><br />
Command action<br />
   a   toggle a bootable flag<br />
   b   edit bsd disklabel<br />
   c   toggle the dos compatibility flag<br />
   d   delete a partition<br />
   l   list known partition types<br />
   m   print this menu<br />
   n   add a new partition<br />
   o   create a new empty DOS partition table<br />
   p   print the partition table<br />
   q   quit without saving changes<br />
   s   create a new empty Sun disklabel<br />
   t   change a partition's system id<br />
   u   change display/entry units<br />
   v   verify the partition table<br />
   w   write table to disk and exit<br />
   x   extra functionality (experts only)</p></blockquote>
<blockquote><p>Command (m for help): <strong>p</strong></p>
<p>Disk /dev/sdb: 53.6 GB, 53687091200 bytes<br />
255 heads, 63 sectors/track, 6527 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System</p>
</blockquote>
<blockquote><p>Command (m for help): <strong>n</strong><br />
Command action<br />
   e   extended<br />
   p   primary partition (1-4)<br />
p<br />
Partition number (1-4): <strong>1</strong><br />
First cylinder (1-6527, default 1): 53687091200<br />
Value out of range.<br />
First cylinder (1-6527, default 1):<br />
Using default value 1<br />
Last cylinder or +size or +sizeM or +sizeK (1-6527, default 6527):<br />
Using default value 6527</p></blockquote>
<blockquote><p>Command (m for help): <strong>p</strong></p>
<p>Disk /dev/sdb: 53.6 GB, 53687091200 bytes<br />
255 heads, 63 sectors/track, 6527 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1        6527    52428096   83  Linux</p></blockquote>
<blockquote><p>Command (m for help): <strong>w</strong><br />
The partition table has been altered!</p>
<p>Calling ioctl() to re-read partition table.<br />
Syncing disks.</p></blockquote>
<p>原文：<a href="http://www.21andy.com/blog/20120523/2031.html">VMWare 添加虚拟硬盘到 CentOS</a></p>
<p>3. 格式化它<br />
<strong># mkfs -t ext3 /dev/sdb1</strong></p>
<blockquote><p>mke2fs 1.39 (29-May-2006)<br />
Filesystem label=<br />
OS type: Linux<br />
Block size=4096 (log=2)<br />
Fragment size=4096 (log=2)<br />
6553600 inodes, 13107024 blocks<br />
655351 blocks (5.00%) reserved for the super user<br />
First data block=0<br />
Maximum filesystem blocks=0<br />
400 block groups<br />
32768 blocks per group, 32768 fragments per group<br />
16384 inodes per group<br />
Superblock backups stored on blocks:<br />
	32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,<br />
	4096000, 7962624, 11239424</p>
<p>Writing inode tables: done<br />
Creating journal (32768 blocks): done<br />
Writing superblocks and filesystem accounting information: done</p>
<p>This filesystem will be automatically checked every 38 mounts or<br />
180 days, whichever comes first.  Use tune2fs -c or -i to override.</p></blockquote>
<p>4. 再来看一下分区<br />
<strong># fdisk -l</strong></p>
<blockquote><p>Disk /dev/sda: 21.4 GB, 21474836480 bytes<br />
255 heads, 63 sectors/track, 2610 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sda1   *           1          13      104391   83  Linux<br />
/dev/sda2              14        2610    20860402+  8e  Linux LVM</p>
<p>Disk /dev/sdb: 53.6 GB, 53687091200 bytes<br />
255 heads, 63 sectors/track, 6527 cylinders<br />
Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>   Device Boot      Start         End      Blocks   Id  System<br />
/dev/sdb1               1        6527    52428096   83  Linux<br />
[root@localhost ~]# /dev/<br />
bus/        fd/         input/      mapper/     pts/        snd/        VolGroup00/<br />
disk/       gpmctl      MAKEDEV     net/        shm/        .udev/<br />
[root@localhost ~]# /dev/<br />
bus/        fd/         input/      mapper/     pts/        snd/        VolGroup00/<br />
disk/       gpmctl      MAKEDEV     net/        shm/        .udev/      </p></blockquote>
<p>5. mount 挂载到 CentOS 里<br />
<strong># mkdir /andy<br />
# mount -t ext3 /dev/sdb1 /andy<br />
# df -k</strong></p>
<blockquote><p>Filesystem           1K-blocks      Used Available Use% Mounted on<br />
/dev/mapper/VolGroup00-LogVol00<br />
                      18156292   1392940  15826188   9% /<br />
/dev/sda1               101086     18904     76963  20% /boot<br />
tmpfs                   517288         0    517288   0% /dev/shm<br />
<strong>/dev/sdb1             51605436    184272  48799760   1% /andy</strong></p></blockquote>
<p>搞定！<br />
转载请注明原文出处：<a title="VMWare 添加虚拟硬盘到 CentOS" href="http://www.21andy.com/blog/20120523/2031.html">http://www.21andy.com/blog/20120523/2031.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120523/2031.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决 yum fastestmirror引起的错误</title>
		<link>http://www.21andy.com/blog/20120523/2030.html</link>
		<comments>http://www.21andy.com/blog/20120523/2030.html#comments</comments>
		<pubDate>Wed, 23 May 2012 04:11:32 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[fastestmirror]]></category>
		<category><![CDATA[yum]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2030</guid>
		<description><![CDATA[今天运行 yum 的时候出错，原因是fastestmirror引起的 # yum -y updateLoaded plugins: fastestmirrorDetermining fastest mirrorsTraceback (most recent call last):&#160; File &#34;/usr/bin/yum&#34;, line 29, in ?&#160;&#160; &#160;yummain.user_main(sys.argv[1:], exit_code=True)&#160; File &#34;/usr/share/yum-cli/yummain.py&#34;, line 309, in user_main&#160;&#160; &#160;errcode = main(args)&#160; File &#34;/usr/share/yum-cli/yummain.py&#34;, line 178, in main&#160;&#160; &#160;result, resultmsgs = base.doCommands()&#160; File &#34;/usr/share/yum-cli/cli.py&#34;, line 345, in doCommands&#160;&#160; &#160;self._getTs(needTsRemove)&#160; File &#34;/usr/lib/python2.4/site-packages/yum/depsolve.py&#34;, line 101, in _getTs&#160;&#160; [...]]]></description>
			<content:encoded><![CDATA[<p>今天运行 yum 的时候出错，原因是fastestmirror引起的</p>
<div class="hl-surround"><div class="hl-main"># yum -y update<br />Loaded plugins: fastestmirror<br />Determining fastest mirrors<br />Traceback (most recent call last):<br />&nbsp; File &quot;/usr/bin/yum&quot;, line 29, in ?<br />&nbsp;&nbsp; &nbsp;yummain.user_main(sys.argv[1:], exit_code=True)<br />&nbsp; File &quot;/usr/share/yum-cli/yummain.py&quot;, line 309, in user_main<br />&nbsp;&nbsp; &nbsp;errcode = main(args)<br />&nbsp; File &quot;/usr/share/yum-cli/yummain.py&quot;, line 178, in main<br />&nbsp;&nbsp; &nbsp;result, resultmsgs = base.doCommands()<br />&nbsp; File &quot;/usr/share/yum-cli/cli.py&quot;, line 345, in doCommands<br />&nbsp;&nbsp; &nbsp;self._getTs(needTsRemove)<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/depsolve.py&quot;, line 101, in _getTs<br />&nbsp;&nbsp; &nbsp;self._getTsInfo(remove_only)<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/depsolve.py&quot;, line 112, in _getTsInfo<br />&nbsp;&nbsp; &nbsp;pkgSack = self.pkgSack<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/__init__.py&quot;, line 662, in &lt;lambda&gt;<br />&nbsp;&nbsp; &nbsp;pkgSack = property(fget=lambda self: self._getSacks(),<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/__init__.py&quot;, line 502, in _getSacks<br />&nbsp;&nbsp; &nbsp;self.repos.populateSack(which=repos)<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/repos.py&quot;, line 232, in populateSack<br />&nbsp;&nbsp; &nbsp;self.doSetup()<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/repos.py&quot;, line 79, in doSetup<br />&nbsp;&nbsp; &nbsp;self.ayum.plugins.run('postreposetup')<br />&nbsp; File &quot;/usr/lib/python2.4/site-packages/yum/plugins.py&quot;, line 179, in run<br />&nbsp;&nbsp; &nbsp;func(conduitcls(self, self.base, conf, **kwargs))<br />&nbsp; File &quot;/usr/lib/yum-plugins/fastestmirror.py&quot;, line 181, in postreposetup_hook<br />&nbsp;&nbsp; &nbsp;all_urls = FastestMirror(all_urls).get_mirrorlist()<br />&nbsp; File &quot;/usr/lib/yum-plugins/fastestmirror.py&quot;, line 333, in get_mirrorlist<br />&nbsp;&nbsp; &nbsp;self._poll_mirrors()<br />&nbsp; File &quot;/usr/lib/yum-plugins/fastestmirror.py&quot;, line 376, in _poll_mirrors<br />&nbsp;&nbsp; &nbsp;pollThread.start()<br />&nbsp; File &quot;/usr/lib/python2.4/threading.py&quot;, line 416, in start<br />&nbsp;&nbsp; &nbsp;_start_new_thread(self.__bootstrap, ())<br />thread.error: can't start new thread</div></div>
<p>解决办法：</p>
<div class="hl-surround"><div class="hl-main">echo &quot;alias yum='yum --disableplugin=fastestmirror'&quot; &gt;&gt; /root/.bashrc</div></div>
<p>退出重新登录</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120523/2030.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>curl_multi_exec() &amp; curl_multi_getcontent()</title>
		<link>http://www.21andy.com/blog/20120523/2029.html</link>
		<comments>http://www.21andy.com/blog/20120523/2029.html#comments</comments>
		<pubDate>Tue, 22 May 2012 18:48:19 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[curl_multi_exec]]></category>
		<category><![CDATA[curl_multi_getcontent]]></category>
		<category><![CDATA[curl_setopt]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2029</guid>
		<description><![CDATA[/*** Perform parallel cURL request.** @param array $urls Array of URLs to make request.* @param array $options (Optional) Array of additional cURL options.* @return mixed Results from the request (if any).*/function curlMultiRequest($urls, $options = array()) {&#160;&#160; &#160;$ch = array();&#160;&#160; &#160;$results = array();&#160;&#160; &#160;$mh = curl_multi_init(); &#160;&#160; &#160;foreach($urls as $key =&#62; $val) {&#160;&#160; &#160; &#160; &#160;$ch[$key] [...]]]></description>
			<content:encoded><![CDATA[<div class="hl-surround"><div class="hl-main"><span style="color: #ffa500;">/**<br />* Perform parallel cURL request.<br />*<br />*</span><span style="color: Blue;"> @param </span><span style="color: #ffa500;">array $urls Array of URLs to make request.<br />*</span><span style="color: Blue;"> @param </span><span style="color: #ffa500;">array $options (Optional) Array of additional cURL options.<br />*</span><span style="color: Blue;"> @return </span><span style="color: #ffa500;">mixed Results from the request (if any).<br />*/</span><span style="color: Gray;"><br /></span><span style="color: Green;">function</span><span style="color: Gray;"> </span><span style="color: Blue;">curlMultiRequest</span><span style="color: Olive;">(</span><span style="color: #00008b;">$urls</span><span style="color: Gray;">, </span><span style="color: #00008b;">$options</span><span style="color: Gray;"> = </span><span style="color: Green;">array</span><span style="color: Olive;">())</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #00008b;">$ch</span><span style="color: Gray;"> = </span><span style="color: Green;">array</span><span style="color: Olive;">()</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #00008b;">$results</span><span style="color: Gray;"> = </span><span style="color: Green;">array</span><span style="color: Olive;">()</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #00008b;">$mh</span><span style="color: Gray;"> = </span><span style="color: Blue;">curl_multi_init</span><span style="color: Olive;">()</span><span style="color: Gray;">; <br />&nbsp;&nbsp; &nbsp;</span><span style="color: Green;">foreach</span><span style="color: Olive;">(</span><span style="color: #00008b;">$urls</span><span style="color: Gray;"> </span><span style="color: Green;">as</span><span style="color: Gray;"> </span><span style="color: #00008b;">$key</span><span style="color: Gray;"> =&gt; </span><span style="color: #00008b;">$val</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #00008b;">$ch</span><span style="color: Olive;">[</span><span style="color: #00008b;">$key</span><span style="color: Olive;">]</span><span style="color: Gray;"> = </span><span style="color: Blue;">curl_init</span><span style="color: Olive;">()</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Green;">if</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: #00008b;">$options</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Blue;">curl_setopt_array</span><span style="color: Olive;">(</span><span style="color: #00008b;">$ch</span><span style="color: Olive;">[</span><span style="color: #00008b;">$key</span><span style="color: Olive;">]</span><span style="color: Gray;">, </span><span style="color: #00008b;">$options</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Blue;">curl_setopt</span><span style="color: Olive;">(</span><span style="color: #00008b;">$ch</span><span style="color: Olive;">[</span><span style="color: #00008b;">$key</span><span style="color: Olive;">]</span><span style="color: Gray;">, </span><span style="color: Blue;">CURLOPT_URL</span><span style="color: Gray;">, </span><span style="color: #00008b;">$val</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Blue;">curl_multi_add_handle</span><span style="color: Olive;">(</span><span style="color: #00008b;">$mh</span><span style="color: Gray;">, </span><span style="color: #00008b;">$ch</span><span style="color: Olive;">[</span><span style="color: #00008b;">$key</span><span style="color: Olive;">])</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #00008b;">$running</span><span style="color: Gray;"> = </span><span style="color: Green;">null</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Green;">do</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Blue;">curl_multi_exec</span><span style="color: Olive;">(</span><span style="color: #00008b;">$mh</span><span style="color: Gray;">, </span><span style="color: #00008b;">$running</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Green;">while</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: #00008b;">$running</span><span style="color: Gray;"> &gt; </span><span style="color: Maroon;">0</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">// Get content and remove handles.</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Green;">foreach</span><span style="color: Gray;"> </span><span style="color: Olive;">(</span><span style="color: #00008b;">$ch</span><span style="color: Gray;"> </span><span style="color: Green;">as</span><span style="color: Gray;"> </span><span style="color: #00008b;">$key</span><span style="color: Gray;"> =&gt; </span><span style="color: #00008b;">$val</span><span style="color: Olive;">)</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #00008b;">$results</span><span style="color: Olive;">[</span><span style="color: #00008b;">$key</span><span style="color: Olive;">]</span><span style="color: Gray;"> = </span><span style="color: Blue;">curl_multi_getcontent</span><span style="color: Olive;">(</span><span style="color: #00008b;">$val</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Blue;">curl_multi_remove_handle</span><span style="color: Olive;">(</span><span style="color: #00008b;">$mh</span><span style="color: Gray;">, </span><span style="color: #00008b;">$val</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">}</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Blue;">curl_multi_close</span><span style="color: Olive;">(</span><span style="color: #00008b;">$mh</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Green;">return</span><span style="color: Gray;"> </span><span style="color: #00008b;">$results</span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span><span style="color: Gray;"></span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120523/2029.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 使用 SQLite 3正确安装方法</title>
		<link>http://www.21andy.com/blog/20120522/2028.html</link>
		<comments>http://www.21andy.com/blog/20120522/2028.html#comments</comments>
		<pubDate>Tue, 22 May 2012 13:22:14 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[PDO]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2028</guid>
		<description><![CDATA[有些小内存的VPS，不想装MySQL，于是就想让WordPress 使用 SQLite3 PDO (SQLite) For WordPress 这个插件很早就有了，可一直是个鸡肋，以前错误一堆堆的 今天我又尝试了一下，用最新版的WordPress 3.3 来使用 SQLite3 数据库 我在本机装的VMware虚拟机CentOS中完成，这里我用的一点小技巧分享给大家 原文出处：http://www.21andy.com/blog/20120522/2028.html 1. 向 hosts 添加 192.168.134.133 21andy.com 2. 在虚拟机 nginx 中添加 21andy.com 配置 这样都搞好以后，打包到服务器解压就行了 回到本文主题，WordPress 使用 SQLite 3正确安装方法 WordPress 使用 SQLite 3正确安装方法 正确安装方法如下： 1. 先正常用 MySQL 安装 WordPress 2. 用 mysqldump 导出数据库 mysqldump -hlocalhost -uroot -p --compatible=ansi --skip-opt --default-character-set=utf8 wordpress &#62; [...]]]></description>
			<content:encoded><![CDATA[<p>有些小内存的VPS，不想装MySQL，于是就想让WordPress 使用 SQLite3</p>
<p>PDO (SQLite) For WordPress 这个插件很早就有了，可一直是个鸡肋，以前错误一堆堆的</p>
<p>今天我又尝试了一下，用最新版的WordPress 3.3 来使用 SQLite3 数据库</p>
<p>我在本机装的VMware虚拟机CentOS中完成，这里我用的一点小技巧分享给大家</p>
<p>原文出处：<a href="http://www.21andy.com/blog/20120522/2028.html">http://www.21andy.com/blog/20120522/2028.html</a> </p>
<p>1. 向 hosts 添加 192.168.134.133  21andy.com<br />
2. 在虚拟机 nginx 中添加 21andy.com 配置</p>
<p>这样都搞好以后，打包到服务器解压就行了</p>
<p>回到本文主题，WordPress 使用 SQLite 3正确安装方法</p>
<p><a href="http://www.21andy.com/blog/20120522/2028.html">WordPress 使用 SQLite 3正确安装方法</a> </p>
<p>正确安装方法如下：<br />
1. 先正常用 MySQL 安装 WordPress<br />
2. 用 mysqldump 导出数据库</p>
<div class="hl-surround"><div class="hl-main">mysqldump -hlocalhost -uroot -p --compatible=ansi --skip-opt --default-character-set=utf8 wordpress &gt; wordpress.sql</div></div>
<p>3. 转换 MySQL 成 SQLite3</p>
<div class="hl-title">&#19979;&#36733;: <a href="http://www.21andy.com/blog/wp-content/plugins/coolcode/coolcode.php?p=2028&amp;download=mysql_to_sqlite.sh">mysql_to_sqlite.sh</a></div><div class="hl-surround"><div class="hl-main">#!/bin/bash<br />if [ &quot;x$1&quot; == &quot;x&quot; ]; then<br />&nbsp; echo &quot;Usage: $0 &lt;dumpname&gt;&quot;<br />&nbsp; exit<br />fi<br /><br />cat $1 |<br />grep -v ' KEY &quot;' |<br />grep -v ' UNIQUE KEY &quot;' |<br />grep -v ' PRIMARY KEY ' |<br />sed '/^SET/d' |<br />sed 's/ unsigned / /g' |<br />sed 's/ auto_increment/ primary key autoincrement/g' |<br />sed 's/ smallint([0-9]*) / integer /g' |<br />sed 's/ tinyint([0-9]*) / integer /g' |<br />sed 's/ int([0-9]*) / integer /g' |<br />sed 's/ character set [^ ]* / /g' |<br />sed 's/ enum([^)]*) / varchar(255) /g' |<br />sed 's/ on update [^,]*//g' |<br />sed 's/\\r\\n/\\n/g' |<br />sed 's/\\&quot;/&quot;/g' |<br />sed 's/ &quot;id&quot; bigint(20) NOT NULL/ &quot;id&quot; integer primary key autoincrement/g' |<br />perl -e 'local $/;$_=&lt;&gt;;s/,\n\)/\n\)/gs;print &quot;begin;\n&quot;;print;print &quot;commit;\n&quot;' |<br />perl -pe '<br />if (/^(INSERT.+?)\(/) {<br />&nbsp; $a=$1;<br />&nbsp; s/\\'\''/'\'\''/g;<br />&nbsp; s/\\n/\n/g;<br />&nbsp; s/\),\(/\);\n$a\(/g;<br />}<br />' &gt; $1.sql<br />cat $1.sql | sqlite3 $1.sqlite &gt; $1.err<br />ERRORS=`cat $1.err | wc -l`<br />if [ $ERRORS == 0 ]; then<br />&nbsp; echo &quot;Conversion completed ! Output file: $1.sqlite&quot;<br />&nbsp; rm $1.sql<br />&nbsp; rm $1.err<br />else<br />&nbsp; echo &quot;There were errors during conversion.&nbsp; Please review $1.err and $1.sql for details.&quot;<br />fi</div></div>
<p>然后</p>
<div class="hl-surround"><div class="hl-main">chmod +x mysql_to_sqlihte.sh<br />./mysql_to_sqlite.sh wordpress.sql</div></div>
<p>这样会生成一个 <strong>wordpress.sql.sqlite</strong> 的文件了，就是 SQLite3 数据库</p>
<p>4. 安装 PDO (SQLite) For WordPress 插件</p>
<div class="hl-surround"><div class="hl-main">wget http://downloads.wordpress.org/plugin/pdo-for-wordpress.2.7.0.zip<br />unzip pdo-for-wordpress.2.7.0.zip<br />mv pdo-for-wordpress/* wordpress/wp-content/<br />cd wordpress/wp-content/<br />mkdir database</div></div>
<p>然后把刚才生成的 <strong>wordpress.sql.sqlite</strong> 放到 database 目录下<br />
改名为 <strong>wordpress.sqlite</strong></p>
<p>5. 编辑配置文件<br />
打开 <strong>wp-config.php</strong> 添加</p>
<div class="hl-surround"><div class="hl-main">define('DB_TYPE', 'sqlite');</div></div>
<p>其他的 DB_NAME, DB_PASSWORD 等可以设置成空了</p>
<p>打开 <strong>wp-content/db.php</strong> 查找</p>
<div class="hl-surround"><div class="hl-main">define ('FQDB', FQDBDIR .'MyBlog.sqlite');</div></div>
<p>修改成</p>
<div class="hl-surround"><div class="hl-main">define ('FQDB', FQDBDIR .'wordpress.sqlite');</div></div>
<p>好了，大功告成。</p>
<p><a href="http://www.21andy.com/blog/20120522/2028.html">WordPress 使用 SQLite 3正确安装方法</a> </p>
<p>最后，这个插件还不是很完美，有错误的话，会记录在 <strong>wp-content/database/debug.txt</strong> 中<br />
有些插件用到 mysql 的话，如果使用有问题，看下插件代码是不是用了 mysql 函数，自己改<br />
但基本可以正常使用了</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120522/2028.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>163 QQ Gmail Live 免费企业邮箱对比</title>
		<link>http://www.21andy.com/blog/20120522/2027.html</link>
		<comments>http://www.21andy.com/blog/20120522/2027.html#comments</comments>
		<pubDate>Tue, 22 May 2012 06:29:54 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[收藏]]></category>
		<category><![CDATA[163]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[Live]]></category>
		<category><![CDATA[QQ]]></category>
		<category><![CDATA[免费企业邮箱]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2027</guid>
		<description><![CDATA[帐号支持： 默认支持200个帐户，如需更多可单独申请 附件支持： 单封邮件最大附件50MB 空间大小： 默认3G容量 MX记录： mx.ym.163.com 优先级10 POP设置： pop.ym.163.com 默认端口为：110 SMTP设置： smtp.ym.163.com 默认端口为：25 备注说明： 支持分组管理、支持系统日志查询、支持群发邮件 不支持独立登录页面、目前已经开放注册 帐号支持： 可分配200个帐户 附件支持： 最大附件50MB，支持最大1G文件临时存储 空间大小： 无限量 MX记录： mxbiz1.qq.com 优先级5 和 mxbiz2.qq.com 优先级10 POP设置： pop.exmail.qq.com SMTP设置： smtp.exmail.qq.com IMAP设置： imap.exmail.qq.com 备注说明： 全程SSL加密,安全高.国内外10多个城市架设服务器 帐号支持： 可分配50个帐户 附件支持： 单封邮件最大附件支持20MB 空间大小： 7GB邮箱容量 MX记录： ASPMX.L.GOOGLE.COM 优先级10 SMTP设置： smtp.gmail.com 端口：465 或 587 IMAP设置： imap.gmail.com 端口：993 [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://ym.163.com/" rel="nofollow" target="_blank"><img title="163 QQ Gmail Live 免费企业邮箱对比" src="http://www.21andy.com/blog/upload/small/cce6443608af576b.jpg" alt="163 QQ Gmail Live 免费企业邮箱对比 cce6443608af576b" width="137" height="36" border="0" /></a></p>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td width="80">帐号支持：</td>
<td>默认支持200个帐户，如需更多可单独申请</td>
</tr>
<tr>
<td width="80">附件支持：</td>
<td>单封邮件最大附件50MB</td>
</tr>
<tr>
<td width="80">空间大小：</td>
<td>默认3G容量</td>
</tr>
<tr>
<td width="80">MX记录：</td>
<td>mx.ym.163.com 优先级10</td>
</tr>
<tr>
<td width="80">POP设置：</td>
<td>pop.ym.163.com 默认端口为：110</td>
</tr>
<tr>
<td width="80">SMTP设置：</td>
<td>smtp.ym.163.com 默认端口为：25</td>
</tr>
<tr>
<td rowspan="2" width="80">备注说明：</td>
<td>支持分组管理、支持系统日志查询、支持群发邮件</td>
</tr>
<tr>
<td>不支持独立登录页面、目前已经开放注册</td>
</tr>
</tbody>
</table>
<p><a href="https://exmail.qq.com/" rel="nofollow" target="_blank"><img title="163 QQ Gmail Live 免费企业邮箱对比" src="http://www.21andy.com/blog/upload/small/78f21e36684064d0.jpg" alt="163 QQ Gmail Live 免费企业邮箱对比 78f21e36684064d0" width="208" height="37" border="0" /></a></p>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td width="80">帐号支持：</td>
<td>可分配200个帐户</td>
</tr>
<tr>
<td width="80">附件支持：</td>
<td>最大附件50MB，支持最大1G文件临时存储</td>
</tr>
<tr>
<td width="80">空间大小：</td>
<td>无限量</td>
</tr>
<tr>
<td width="80">MX记录：</td>
<td>mxbiz1.qq.com 优先级5 和 mxbiz2.qq.com 优先级10</td>
</tr>
<tr>
<td width="80">POP设置：</td>
<td>pop.exmail.qq.com</td>
</tr>
<tr>
<td width="80">SMTP设置：</td>
<td>smtp.exmail.qq.com</td>
</tr>
<tr>
<td width="80">IMAP设置：</td>
<td>imap.exmail.qq.com</td>
</tr>
<tr>
<td width="80">备注说明：</td>
<td>全程SSL加密,安全高.国内外10多个城市架设服务器</td>
</tr>
</tbody>
</table>
<p><a href="http://www.google.com/apps/intl/zh-CN/group/index.html" rel="nofollow" target="_blank"><img title="163 QQ Gmail Live 免费企业邮箱对比" src="http://www.21andy.com/blog/upload/small/a8b619556f7ca554.jpg" alt="163 QQ Gmail Live 免费企业邮箱对比 a8b619556f7ca554" width="137" height="58" border="0" /></a></p>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td width="80">帐号支持：</td>
<td>可分配50个帐户</td>
</tr>
<tr>
<td width="80">附件支持：</td>
<td>单封邮件最大附件支持20MB</td>
</tr>
<tr>
<td width="80">空间大小：</td>
<td>7GB邮箱容量</td>
</tr>
<tr>
<td width="80">MX记录：</td>
<td>ASPMX.L.GOOGLE.COM 优先级10</td>
</tr>
<tr>
<td width="80">SMTP设置：</td>
<td>smtp.gmail.com 端口：465 或 587</td>
</tr>
<tr>
<td width="80">IMAP设置：</td>
<td>imap.gmail.com 端口：993</td>
</tr>
<tr>
<td rowspan="2" width="80">备注说明：</td>
<td>支持即时通讯（google talk）、支持在线文档</td>
</tr>
<tr>
<td>标准版为免费版本，暂时不支持.CN域名</td>
</tr>
</tbody>
</table>
<p><a href="http://domains.live.com/" rel="nofollow" target="_blank"><img title="163 QQ Gmail Live 免费企业邮箱对比" src="http://www.21andy.com/blog/upload/small/717066390c9860e1.jpg" alt="163 QQ Gmail Live 免费企业邮箱对比 717066390c9860e1" width="130" height="58" border="0" /></a></p>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td width="80" height="28">帐号支持：</td>
<td height="28">可添加500个帐户</td>
</tr>
<tr>
<td width="80" height="28">附件支持：</td>
<td height="28">单封邮件50MB</td>
</tr>
<tr>
<td width="80" height="28">空间大小：</td>
<td height="28">单个邮箱容量5G</td>
</tr>
<tr>
<td width="80" height="28">MX记录：</td>
<td height="28">*****.pamx1.hotmail.com(每个企业的MX记录不一样)</td>
</tr>
<tr>
<td width="80" height="28">POP设置：</td>
<td height="28">pop3.live.com 端口：995</td>
</tr>
<tr>
<td width="80" height="28">SMTP设置：</td>
<td height="28">smtp.live.com</td>
</tr>
<tr>
<td width="80" height="28">备注说明：</td>
<td height="28">支持定义登录页面、支持共享空间等</td>
</tr>
</tbody>
</table>
<p><a href="http://mail.sohu.net/free/" rel="nofollow" target="_blank"><img title="163 QQ Gmail Live 免费企业邮箱对比" src="http://www.21andy.com/blog/upload/small/8188e51a1efb2dbf.jpg" alt="163 QQ Gmail Live 免费企业邮箱对比 8188e51a1efb2dbf" width="146" height="38" border="0" /></a></p>
<table width="500" border="0" cellspacing="1" cellpadding="0">
<tbody>
<tr>
<td width="80">帐号支持：</td>
<td>支持邮箱个数不限制</td>
</tr>
<tr>
<td width="80">附件支持：</td>
<td>单封邮件10MB</td>
</tr>
<tr>
<td width="80">空间大小：</td>
<td>单个邮箱容量1G</td>
</tr>
<tr>
<td width="80">MX记录：</td>
<td>mx.mail.sogou.com</td>
</tr>
<tr>
<td width="80">POP设置：</td>
<td>pop3.mail.sogou.com</td>
</tr>
<tr>
<td width="80">SMTP设置：</td>
<td>smtp.mail.sogou.com</td>
</tr>
<tr>
<td rowspan="2" width="80">备注说明：</td>
<td>支持自由分组、支持自定义Logo、支持邮件列表管理</td>
</tr>
<tr>
<td>不支持独立登录页面、目前已经不能注册</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120522/2027.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[原创] 不怕丢数据！VPS定时自动备份终极指南</title>
		<link>http://www.21andy.com/blog/20120520/2026.html</link>
		<comments>http://www.21andy.com/blog/20120520/2026.html#comments</comments>
		<pubDate>Sun, 20 May 2012 07:06:09 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[备份]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2026</guid>
		<description><![CDATA[[原创] 不怕丢数据！VPS定时自动备份终极指南 近半年，先后丢失5个网站数据，大多都是由于VPS硬盘损坏造成，RAID10为了速度是很不保险的 最近的2次分别是DirectSpace和BuyVM 所以，必需备份，作好VPS随时准备丢失数据的准备 昨天花了一整天，把目前所有的站做了每日同步，以下分享给大家实际操作方法。 转载请注明原文出处 http://www.21andy.com/blog/20120520/2026.html 网上关于rsync的资料也不少，但多数我想会把你看晕的，以下我用实例来讲解，重点的地方我会详细说明，希望让大家都会用。 以下，假设网站所在的VPS为A，存储备份的VPS为B，系统均为 CentOS 备份方法为 B 定时向 A 拉数据来备份 一、VPS A 上面的具体部署 1. 安装 rsync yum -y install rsync 把rsync加入开机启动 echo 'rsync --daemon' &#62;&#62; /etc/rc.d/rc.local 2. 设置rsync密码 echo '你的用户名:你的密码' &#62; /etc/rsyncd.scrtchmod 600 /etc/rsyncd.scrt 这里的用户名和密码，在VPS B上将会用到 3. 配置rsync vim /etc/rsyncd.conf 放入以下内容, #后面是我的注释 &#19979;&#36733;: rsyncd.confuid = rootgid = rootuse chroot [...]]]></description>
			<content:encoded><![CDATA[<p><strong>[原创] 不怕丢数据！VPS定时自动备份终极指南</strong></p>
<p>近半年，先后丢失5个网站数据，大多都是由于VPS硬盘损坏造成，RAID10为了速度是很不保险的<br />
最近的2次分别是DirectSpace和BuyVM<br />
所以，必需备份，作好VPS随时准备丢失数据的准备<br />
昨天花了一整天，把目前所有的站做了每日同步，以下分享给大家实际操作方法。<br />
转载请注明原文出处 <a title="[原创] 不怕丢数据！VPS定时自动备份终极指南" href="http://www.21andy.com/blog/20120520/2026.html">http://www.21andy.com/blog/20120520/2026.html</a><br />
网上关于rsync的资料也不少，但多数我想会把你看晕的，以下我用实例来讲解，重点的地方我会详细说明，希望让大家都会用。</p>
<blockquote><p>以下，假设网站所在的VPS为<strong>A</strong>，存储备份的VPS为<strong>B</strong>，系统均为 CentOS<br />
备份方法为 B 定时向 A 拉数据来备份</p></blockquote>
<h2>一、VPS A 上面的具体部署</h2>
<p><strong>1. 安装 rsync</strong></p>
<div class="hl-surround"><div class="hl-main">yum -y install rsync</div></div>
<p>把rsync加入开机启动</p>
<div class="hl-surround"><div class="hl-main">echo 'rsync --daemon' &gt;&gt; /etc/rc.d/rc.local</div></div>
<p><strong>2. 设置rsync密码</strong></p>
<div class="hl-surround"><div class="hl-main">echo '你的用户名:你的密码' &gt; /etc/rsyncd.scrt<br />chmod 600 /etc/rsyncd.scrt</div></div>
<p>这里的用户名和密码，在VPS B上将会用到</p>
<p><strong>3. 配置rsync</strong><br />
vim /etc/rsyncd.conf<br />
放入以下内容, #后面是我的注释</p>
<div class="hl-title">&#19979;&#36733;: <a href="http://www.21andy.com/blog/wp-content/plugins/coolcode/coolcode.php?p=2026&amp;download=rsyncd.conf">rsyncd.conf</a></div><div class="hl-surround"><div class="hl-main">uid = root<br />gid = root<br />use chroot = no<br />read only = yes<br />max connections = 10<br /><br />port = 873<br />pid file = /var/run/rsyncd.pid<br />lock file = /var/run/rsync.lock<br />#log file = /var/log/rsync.log # 偶不想记录log<br />log format = %t %a %m %f %b<br />syslog facility = local3<br />timeout = 300<br /><br />[www]<br />path = /var/www/<br />comment = 21andy.com<br />ignore errors<br />read only = yes<br />list = no<br />auth users = andy<br />secrets file = /etc/rsyncd.scrt<br />#exclude = 21andy.com/blog/cache/ #不需要备份的目录，我使用exclude from方法来排除<br />exclude from = /etc/rsync_exclude.txt<br />hosts allow = 备份服务器的IP<br />hosts deny = *</div></div>
<p><strong>4. 排除不备份的目录</strong><br />
vim /etc/rsync_exclude.txt<br />
输入不备份的目录，每行一个，不可以用绝对路径，而必须用上面配置文件中path的相对路径，如</p>
<div class="hl-surround"><div class="hl-main">21andy.com/blog/cache/<br />21andy.com/manual/</div></div>
<p>这个排除文件有更高级的+-写法，我们不需要，简单够用就好，用 exclude from 方法，好处在于随时要添加不需要备份的内容时，方便添加，且不需要重启rsync进程</p>
<p><strong>5. 制作一个重启rsync的脚本</strong><br />
vim /root/rsyncd_restart.sh<br />
放入以下内容</p>
<div class="hl-surround"><div class="hl-main">kill -9 `cat /var/run/rsyncd.pid`<br />rm -f /var/run/rsyncd.pid<br />rm -f /var/run/rsyncd.lock<br />rsync --daemon</div></div>
<p>chmod 600 /root/rsyncd_restart.sh<br />
chmod +x /root/rsyncd_restart.sh<br />
现在直接用 /root/rsyncd_restart.sh 来重新启动 rsync 进程</p>
<p><strong>6. 备份 MySQL 的脚本</strong><br />
此脚本可同时备份多个数据库，并进行gzip压缩，按日期目录保存，3天之前的备份将被自动删除<br />
vim /root/mysql_backup.sh</p>
<div class="hl-title">&#19979;&#36733;: <a href="http://www.21andy.com/blog/wp-content/plugins/coolcode/coolcode.php?p=2026&amp;download=mysql_backup.sh">mysql_backup.sh</a></div><div class="hl-surround"><div class="hl-main">#!/bin/bash<br /><br /># 以下配置信息请自己修改<br />mysql_user=&quot;USER&quot; #MySQL备份用户<br />mysql_password=&quot;PASSWORD&quot; #MySQL备份用户的密码<br />mysql_host=&quot;localhost&quot;<br />mysql_port=&quot;3306&quot;<br />mysql_charset=&quot;utf8&quot; #MySQL编码<br />backup_db_arr=(&quot;db1&quot; &quot;db2&quot;) #要备份的数据库名称，多个用空格分开隔开 如(&quot;db1&quot; &quot;db2&quot; &quot;db3&quot;)<br />backup_location=/var/www/mysql&nbsp; #备份数据存放位置，末尾请不要带&quot;/&quot;,此项可以保持默认，程序会自动创建文件夹<br />expire_backup_delete=&quot;ON&quot; #是否开启过期备份删除 ON为开启 OFF为关闭<br />expire_days=3 #过期时间天数 默认为三天，此项只有在expire_backup_delete开启时有效<br /><br /># 本行开始以下不需要修改<br />backup_time=`date +%Y%m%d%H%M`&nbsp; #定义备份详细时间<br />backup_Ymd=`date +%Y-%m-%d` #定义备份目录中的年月日时间<br />backup_3ago=`date -d '3 days ago' +%Y-%m-%d` #3天之前的日期<br />backup_dir=$backup_location/$backup_Ymd&nbsp; #备份文件夹全路径<br />welcome_msg=&quot;Welcome to use MySQL backup tools!&quot; #欢迎语<br /><br /># 判断MYSQL是否启动,mysql没有启动则备份退出<br />mysql_ps=`ps -ef |grep mysql |wc -l`<br />mysql_listen=`netstat -an |grep LISTEN |grep $mysql_port|wc -l`<br />if [ [$mysql_ps == 0] -o [$mysql_listen == 0] ]; then<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;echo &quot;ERROR:MySQL is not running! backup stop!&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;exit<br />else<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;echo $welcome_msg<br />fi<br /><br /># 连接到mysql数据库，无法连接则备份退出<br />mysql -h$mysql_host -P$mysql_port -u$mysql_user -p$mysql_password &lt;&lt;end<br />use mysql;<br />select host,user from user where user='root' and host='localhost';<br />exit<br />end<br /><br />flag=`echo $?`<br />if [ $flag != &quot;0&quot; ]; then<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;echo &quot;ERROR:Can't connect mysql server! backup stop!&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;exit<br />else<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;echo &quot;MySQL connect ok! Please wait......&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;# 判断有没有定义备份的数据库，如果定义则开始备份，否则退出备份<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if [ &quot;$backup_db_arr&quot; != &quot;&quot; ];then<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#dbnames=$(cut -d ',' -f1-5 $backup_database)<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;#echo &quot;arr is (${backup_db_arr[@]})&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;for dbname in ${backup_db_arr[@]}<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;do<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;database $dbname backup start...&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;`mkdir -p $backup_dir`<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;`mysqldump -h$mysql_host -P$mysql_port -u$mysql_user -p$mysql_password $dbname --default-character-set=$mysql_charset | gzip &gt; $backup_dir/$dbname-$backup_time.sql.gz`<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;flag=`echo $?`<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if [ $flag == &quot;0&quot; ];then<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;database $dbname success backup to $backup_dir/$dbname-$backup_time.sql.gz&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;database $dbname backup fail!&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fi<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;done<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;else<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;ERROR:No database to backup! backup stop&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;exit<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fi<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;# 如果开启了删除过期备份，则进行删除操作<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;if [ &quot;$expire_backup_delete&quot; == &quot;ON&quot; -a&nbsp; &quot;$backup_location&quot; != &quot;&quot; ];then<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; #`find $backup_location/ -type d -o -type f -ctime +$expire_days -exec rm -rf {} \;`<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; `find $backup_location/ -type d -mtime +$expire_days | xargs rm -rf`<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; echo &quot;Expired backup data delete complete!&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;fi<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;echo &quot;All database backup success! Think you!&quot;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;exit<br />fi</div></div>
<p>chmod 600 /root/mysql_backup.sh<br />
chmod +x /root/mysql_backup.sh</p>
<p>好了，加入 crontab 每天00:00定时自动备份</p>
<div class="hl-surround"><div class="hl-main">00 00 * * * /root/mysql_backup.sh</div></div>
<p>至此，网站所在VPS A上的部署已经都完成了！接下来在备份VPS B上进行设置来拉备份。</p>
<p>转载请注明原文出处 <a title="[原创] 不怕丢数据！VPS定时自动备份终极指南" href="http://www.21andy.com/blog/20120520/2026.html">http://www.21andy.com/blog/20120520/2026.html</a></p>
<h2>二、VPS B 上面的具体部署</h2>
<p><strong>1. 安装 rsync</strong></p>
<div class="hl-surround"><div class="hl-main">yum -y install rsync</div></div>
<p>这里不需要加入开机启动了，因为是客户端，不是服务端</p>
<p><strong>2. 设置rsync密码</strong></p>
<div class="hl-surround"><div class="hl-main">echo '你在A上设置的密码' &gt; /etc/rsync.pass<br />chmod 400 /etc/rsync.pass</div></div>
<p><strong>3. 测试一下同步</strong><br />
先建个存储备份的地方</p>
<div class="hl-surround"><div class="hl-main">mkdir -p /var/rsync/</div></div>
<p>测试一下同步</p>
<div class="hl-surround"><div class="hl-main">rsync -avzP --delete --password-file=/etc/rsync.pass 用户名@192.168.0.100::www /var/rsync/21andy.com/</div></div>
<p>这条命令，我说明一下几个要点</p>
<blockquote><p>-avzP是啥，自己搜索我站内介绍<br />
--delete 是为了比如A上删除了一个文件，同步的时候，B会自动删除那个文件<br />
--password-file 刚才VPS B中 <strong>/etc/rsync.pass</strong> 设置那个密码，要和VPS A的 <strong>/etc/rsyncd.scrt</strong> 中的密码一样，这样cron运行的时候，就不需要密码了<br />
这条命令中的"<strong>用户名</strong>"为VPS A的 <strong>/etc/rsyncd.scrt</strong> 中的用户名<br />
这条命令中的 192.168.0.100 为VPS A的IP地址<br />
::www，注意是2个 <strong>:</strong> 号，www为VPS A的配置文件 <strong>/etc/rsyncd.conf</strong> 中的<strong>[www]</strong>，意思是根据A上的/etc/rsyncd.conf来同步其中的[www]段内容，一个 : 号的时候，用于不根据配置文件，直接同步指定目录</p></blockquote>
<p><strong>4. 加入crontab每天00:30同步</strong></p>
<div class="hl-surround"><div class="hl-main">30 00 * * * rsync -avzP --delete --password-file=/etc/rsync.pass 用户名@192.168.0.100::www /var/rsync/21andy.com/ &gt; /dev/null 2&gt;&amp;1</div></div>
<p>OK！至此大功告成！不怕丢数据了，天天自动备份！<br />
如果还要再保险一点，再加个VPS C<br />
C来同步B，双重备份，哪个挂了都不怕！</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120520/2026.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sublime Text 2 破解</title>
		<link>http://www.21andy.com/blog/20120519/2024.html</link>
		<comments>http://www.21andy.com/blog/20120519/2024.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:34:55 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[软件收藏]]></category>
		<category><![CDATA[Sublime Text]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2024</guid>
		<description><![CDATA[Sublime Text 2 破解 Sublime Text 有多好用，我很早很早以前就有过介绍推荐，目前最新版的注册方法如下。 适用于最新版官网下载 http://www.sublimetext.com/2 1. sublime_text.exe 复制一份改名为 sublime_text_cracked.exe 2. 用sublime text2 打开这个文件，搜索 3342，改为 3242 保存 3. 打开 sublime_text_cracked.exe 在help菜单里enter license，把下面注册码贴进去，包括begin和end那两行 —–BEGIN LICENSE—–hiwanzUnlimited User LicenseEA7E-268385B320641E6E11F5C6E16553C438A683972BA70FE439203367920D70E7DEB0E92436D756177BBE49EFC9FBBB3420DB9D36AA8307E845B6AB8AF99D81734EEA96102402C853F1FFF9854D94799D1317F371DAB52730F6CADDE701BF3BE03C34EF285E053D2B5E16502F4B009DE413591DE0840D6E2CBF0A3049E2FAD940A53FF67—–END LICENSE—–]]></description>
			<content:encoded><![CDATA[<p>Sublime Text 2 破解</p>
<p>Sublime Text 有多好用，我很早很早以前就有过介绍推荐，目前最新版的注册方法如下。</p>
<p>适用于最新版官网下载<br />
<a href="http://www.sublimetext.com/2" target="_blank">http://www.sublimetext.com/2</a></p>
<p>1. sublime_text.exe 复制一份改名为 sublime_text_cracked.exe<br />
2. 用sublime text2 打开这个文件，搜索 <strong>3342</strong>，改为 <strong>3242</strong> 保存<br />
<a href="http://www.21andy.com/blog/uploads/2012/05/sublime_text2.png" class="lightbox"><img src="http://www.21andy.com/blog/uploads/2012/05/sublime_text2-500x410.png" alt="Sublime Text 2 破解 sublime text2 500x410" title="sublime_text2" width="500" height="410" class="alignnone size-medium wp-image-2025" /></a><br />
3. 打开 sublime_text_cracked.exe 在help菜单里enter license，把下面注册码贴进去，包括begin和end那两行</p>
<div class="hl-surround"><div class="hl-main">—–BEGIN LICENSE—–<br />hiwanz<br />Unlimited User License<br />EA7E-26838<br />5B320641E6E11F5C6E16553C438A6839<br />72BA70FE439203367920D70E7DEB0E92<br />436D756177BBE49EFC9FBBB3420DB9D3<br />6AA8307E845B6AB8AF99D81734EEA961<br />02402C853F1FFF9854D94799D1317F37<br />1DAB52730F6CADDE701BF3BE03C34EF2<br />85E053D2B5E16502F4B009DE413591DE<br />0840D6E2CBF0A3049E2FAD940A53FF67<br />—–END LICENSE—–</div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2024.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>rsync 参数详解</title>
		<link>http://www.21andy.com/blog/20120519/2022.html</link>
		<comments>http://www.21andy.com/blog/20120519/2022.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:19:40 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[rsync]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2022</guid>
		<description><![CDATA[Rsync 常用组合 rsync -avzSHP -e 'ssh -p 22' root@21andy.com:/www/21andy.com /21andy.com/*rsync -avzSHP root@21andy.com::21andy ./rsync -avzP --ignore-existing --exclude='cache/*' root@21andy.com::21andy ./ Rsync 参数选项说明 -v, --verbose 详细模式输出 -q, --quiet 精简输出模式 -c, --checksum 打开校验开关，强制对文件传输进行校验 -a, --archive 归档模式，表示以递归方式传输文件，并保持所有文件属性，等于-rlptgoD -r, --recursive 对子目录以递归模式处理 -R, --relative 使用相对路径信息 rsync foo/bar/foo.c remote:/tmp/ Rsync 参数在/tmp目录下创建foo.c文件，而如果使用-R参数： rsync -R foo/bar/foo.c remote:/tmp/ Rsync 参数会创建文件/tmp/foo/bar/foo.c，也就是会保持完全路径信息。 -b, --backup 创建备份，也就是对于目的已经存在有同样的文件名时，将老的文件重新命名为~filename。可以使用--suffix选项来指定不同的备份文件前缀。 --backup-dir 将备份文件(如~filename)存放在在目录下。 -suffix=SUFFIX [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Rsync 常用组合</strong></p>
<div class="hl-surround"><div class="hl-main">rsync -avzSHP -e 'ssh -p 22' root@21andy.com:/www/21andy.com /21andy.com/*<br />rsync -avzSHP root@21andy.com::21andy ./<br />rsync -avzP --ignore-existing --exclude='cache/*' root@21andy.com::21andy ./</div></div>
<p><strong>Rsync 参数选项说明</strong></p>
<p>-v, --verbose 详细模式输出<br />
-q, --quiet 精简输出模式<br />
-c, --checksum 打开校验开关，强制对文件传输进行校验<br />
-a, --archive 归档模式，表示以递归方式传输文件，并保持所有文件属性，等于-rlptgoD<br />
-r, --recursive 对子目录以递归模式处理<br />
-R, --relative 使用相对路径信息</p>
<p>    rsync foo/bar/foo.c remote:/tmp/<br />
    Rsync 参数在/tmp目录下创建foo.c文件，而如果使用-R参数：<br />
    rsync -R foo/bar/foo.c remote:/tmp/<br />
    Rsync 参数会创建文件/tmp/foo/bar/foo.c，也就是会保持完全路径信息。</p>
<p>-b, --backup 创建备份，也就是对于目的已经存在有同样的文件名时，将老的文件重新命名为~filename。可以使用--suffix选项来指定不同的备份文件前缀。<br />
--backup-dir 将备份文件(如~filename)存放在在目录下。<br />
-suffix=SUFFIX 定义备份文件前缀<br />
-u, --update 仅仅进行更新，也就是跳过所有已经存在于DST，并且文件时间晚于要备份的文件。(不覆盖更新的文件)<br />
-l, --links 保留软链结<br />
-L, --copy-links 想对待常规文件一样处理软链结<br />
--copy-unsafe-links 仅仅拷贝指向SRC路径目录树以外的链结<br />
--safe-links 忽略指向SRC路径目录树以外的链结<br />
-H, --hard-links 保留硬链结<br />
-p, --perms 保持文件权限<br />
-o, --owner 保持文件属主信息<br />
-g, --group 保持文件属组信息<br />
-D, --devices 保持设备文件信息<br />
-t, --times 保持文件时间信息<br />
-S, --sparse 对稀疏文件进行特殊处理以节省DST的空间<br />
-n, --dry-run现实哪些文件将被传输<br />
-W, --whole-file 拷贝文件，不进行增量检测<br />
-x, --one-file-system 不要跨越文件系统边界<br />
-B, --block-size=SIZE 检验算法使用的块尺寸，默认是700字节<br />
-e, --rsh=COMMAND 指定替代rsh的shell程序<br />
--rsync-path=PATH 指定远程服务器上的rsync命令所在路径信息<br />
-C, --cvs-exclude 使用和CVS一样的方法自动忽略文件，用来排除那些不希望传输的文件<br />
--existing 仅仅更新那些已经存在于DST的文件，而不备份那些新创建的文件<br />
--delete 删除那些DST中SRC没有的文件<br />
--delete-excluded 同样删除接收端那些被该选项指定排除的文件<br />
--delete-after 传输结束以后再删除<br />
--ignore-errors 及时出现IO错误也进行删除<br />
--max-delete=NUM 最多删除NUM个文件<br />
--partial 保留那些因故没有完全传输的文件，以是加快随后的再次传输<br />
--force 强制删除目录，即使不为空<br />
--numeric-ids 不将数字的用户和组ID匹配为用户名和组名<br />
--timeout=TIME IP超时时间，单位为秒<br />
-I, --ignore-times 不跳过那些有同样的时间和长度的文件<br />
--size-only 当决定是否要备份文件时，仅仅察看文件大小而不考虑文件时间<br />
--modify-window=NUM 决定文件是否时间相同时使用的时间戳窗口，默认为0<br />
-T --temp-dir=DIR 在DIR中创建临时文件<br />
--compare-dest=DIR 同样比较DIR中的文件来决定是否需要备份<br />
-P 等同于 --partial<br />
--progress 显示备份过程<br />
-z, --compress 对备份的文件在传输时进行压缩处理<br />
--exclude=PATTERN 指定排除不需要传输的文件模式<br />
--include=PATTERN 指定不排除而需要传输的文件模式<br />
--exclude-from=FILE 排除FILE中指定模式的文件<br />
--include-from=FILE 不排除FILE指定模式匹配的文件<br />
--version 打印版本信息<br />
--address 绑定到特定的地址<br />
--config=FILE 指定其他的配置文件，不使用默认的rsyncd.conf文件<br />
--port=PORT 指定其他的rsync服务端口<br />
--blocking-io 对远程shell使用阻塞IO<br />
-stats 给出某些文件的传输状态<br />
--progress 在传输时现实传输过程<br />
--log-format=FORMAT 指定日志文件格式<br />
--password-file=FILE 从FILE中得到密码<br />
--bwlimit=KBPS 限制I/O带宽，KBytes per second<br />
-h, --help 显示帮助信息</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2022.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CentOS x86_64 version i386 packages</title>
		<link>http://www.21andy.com/blog/20120519/2021.html</link>
		<comments>http://www.21andy.com/blog/20120519/2021.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:18:41 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2021</guid>
		<description><![CDATA[installed the x86_64 version, so why do I have i386 packages, and can I get rid of them? CentOS follows the upstream source in this respect, as it does in general, and the x86_64 installation by default will install iX86 32-bit packages on a 64-bit installation for compatibility purposes. Many server system administrators (and some [...]]]></description>
			<content:encoded><![CDATA[<p>installed the x86_64 version, so why do I have i386 packages, and can I get rid of them?</p>
<p>CentOS follows the upstream source in this respect, as it does in general, and the x86_64 installation by default will install iX86 32-bit packages on a 64-bit installation for compatibility purposes. Many server system administrators (and some desktop users) want a pure 64-bit system and so remove all 32-bit packages. This can be accomplished as follows:</p>
<div class="hl-surround"><div class="hl-main">yum remove \*.i\?86</div></div>
<p>To keep any 32-bit packages from being installed in future updates, edit your /etc/yum.conf and add the line:</p>
<div class="hl-surround"><div class="hl-main">exclude = *.i?86</div></div>
<p>Be aware that 32-bit applications, including some browser plugins that may only be available in 32-bit versions, will no longer work after this procedure.</p>
<p>You may also want to do this:</p>
<div class="hl-surround"><div class="hl-main">yum reinstall \*</div></div>
<p>The reason is that sometimes the /usr/share/ items (shared between BOTH packages) get removed when removing the 32-bit RPM packages. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2021.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nginx proxy gzip</title>
		<link>http://www.21andy.com/blog/20120519/2020.html</link>
		<comments>http://www.21andy.com/blog/20120519/2020.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:17:51 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2020</guid>
		<description><![CDATA[nginx 向后端请求 gzip 内容 proxy_set_header Accept-Encoding 'gzip'; nginx 向后端请求未 gzip 内容 proxy_set_header Accept-Encoding ''; substitutions4nginx 只能处理未压缩的内容]]></description>
			<content:encoded><![CDATA[<p>nginx 向后端请求 gzip 内容</p>
<div class="hl-surround"><div class="hl-main">proxy_set_header Accept-Encoding 'gzip';</div></div>
<p>nginx 向后端请求未 gzip 内容</p>
<div class="hl-surround"><div class="hl-main">proxy_set_header Accept-Encoding '';</div></div>
<p>substitutions4nginx 只能处理未压缩的内容</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2020.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nginx 缓存解决方案</title>
		<link>http://www.21andy.com/blog/20120519/2019.html</link>
		<comments>http://www.21andy.com/blog/20120519/2019.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:16:49 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[ngx_cache_purge]]></category>
		<category><![CDATA[缓存]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2019</guid>
		<description><![CDATA[试验了用128MB的小机Nginx反代+缓存跑了个3万ip的站，负载一直在0.01-0.02，没感觉 目前，Nginx的缓存控制机制是软肋，特别是清理过期缓存方面，有2种方法来清理过期的缓存，当然，nginx自身也会清理的，但清理的机制不好。所以，只能do it yourself. 1. Cron 定时删除 下面是每2小时删除修改时间超过2天的文件 #clear cache pic01 */2 * * * root find /path/to/your/site/ -type f -mtime +2 -print0 &#124; xargs -0 -r rm &#62;/dev/null 2&#62;&#38;1 2. Purge 方式触发删除 location / {&#160;&#160; &#160;if ($request_method ~ &#34;PURGE&#34;){&#160;&#160; &#160; &#160; &#160;rewrite (.*) /purge.php last;&#160;&#160; &#160;}&#160;&#160; &#160;add_header&#160; &#160; &#160; X-Cache&#160; &#160;HIT;&#160;&#160; &#160;error_page&#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>试验了用128MB的小机Nginx反代+缓存跑了个3万ip的站，负载一直在0.01-0.02，没感觉</p>
<p>目前，Nginx的缓存控制机制是软肋，特别是清理过期缓存方面，有2种方法来清理过期的缓存，当然，nginx自身也会清理的，但清理的机制不好。所以，只能do it yourself.</p>
<p><strong>1. Cron 定时删除</strong><br />
下面是每2小时删除修改时间超过2天的文件</p>
<div class="hl-surround"><div class="hl-main">#clear cache pic<br />01 */2 * * * root find /path/to/your/site/ -type f -mtime +2 -print0 | xargs -0 -r rm &gt;/dev/null 2&gt;&amp;1</div></div>
<p><strong>2. Purge 方式触发删除</strong></p>
<div class="hl-surround"><div class="hl-main">location / {<br />&nbsp;&nbsp; &nbsp;if ($request_method ~ &quot;PURGE&quot;){<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;rewrite (.*) /purge.php last;<br />&nbsp;&nbsp; &nbsp;}<br />&nbsp;&nbsp; &nbsp;add_header&nbsp; &nbsp; &nbsp; X-Cache&nbsp; &nbsp;HIT;<br />&nbsp;&nbsp; &nbsp;error_page&nbsp; &nbsp; &nbsp; 404 = @fetch;<br />}<br /><br />location /purge.php {<br />&nbsp;&nbsp; &nbsp;internal;<br />&nbsp;&nbsp; &nbsp;fastcgi_pass&nbsp; &nbsp;127.0.0.1:9000;<br />&nbsp;&nbsp; &nbsp;include&nbsp; &nbsp; &nbsp; &nbsp; fastcgi_params;<br />&nbsp;&nbsp; &nbsp;fastcgi_param&nbsp; SCRIPT_FILENAME&nbsp; &nbsp; /www/21andy.com/fastcgi$fastcgi_script_name;<br />}</div></div>
<div class="hl-surround"><div class="hl-main"><span style="color: Blue;">&lt;?php</span><span style="color: Gray;"><br /></span><span style="color: Blue;">header</span><span style="color: Olive;">(</span><span style="color: #8b0000;">'</span><span style="color: Red;">Cache-Control: max-age=0</span><span style="color: #8b0000;">'</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br /></span><span style="color: #00008b;">$uri</span><span style="color: Gray;"> = </span><span style="color: #00008b;">$_SERVER</span><span style="color: Olive;">[</span><span style="color: #8b0000;">'</span><span style="color: Red;">REQUEST_URI</span><span style="color: #8b0000;">'</span><span style="color: Olive;">]</span><span style="color: Gray;">;<br /></span><span style="color: #00008b;">$doc_root</span><span style="color: Gray;"> = </span><span style="color: #00008b;">$_SERVER</span><span style="color: Olive;">[</span><span style="color: #8b0000;">'</span><span style="color: Red;">DOCUMENT_ROOT</span><span style="color: #8b0000;">'</span><span style="color: Olive;">]</span><span style="color: Gray;">;<br />&nbsp;<br /></span><span style="color: #00008b;">$file</span><span style="color: Gray;"> = </span><span style="color: #00008b;">$doc_root</span><span style="color: Gray;">.</span><span style="color: #00008b;">$uri</span><span style="color: Gray;">;<br /></span><span style="color: Green;">echo</span><span style="color: Gray;"> </span><span style="color: #00008b;">$file</span><span style="color: Gray;">.</span><span style="color: #8b0000;">&quot;</span><span style="color: Navy;">\n</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;<br /></span><span style="color: Green;">if</span><span style="color: Olive;">(</span><span style="color: Blue;">is_file</span><span style="color: Olive;">(</span><span style="color: #00008b;">$file</span><span style="color: Olive;">))</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">echo</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">File Clear...</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;<br />&nbsp; @</span><span style="color: Blue;">unlink</span><span style="color: Olive;">(</span><span style="color: #00008b;">$file</span><span style="color: Olive;">)</span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span><span style="color: Gray;"> </span><span style="color: Green;">else</span><span style="color: Gray;"> </span><span style="color: Olive;">{</span><span style="color: Gray;"><br />&nbsp; </span><span style="color: Green;">echo</span><span style="color: Gray;"> </span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">File Not Found...</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;">;<br /></span><span style="color: Olive;">}</span></div></div>
<p>也可以装插件 <strong>ngx_cache_purge</strong><br />
下载地下： <a href="http://wiki.nginx.org/NginxChsCachePurge" target="_blank">http://wiki.nginx.org/NginxChsCachePurge</a></p>
<div class="hl-surround"><div class="hl-main">http {<br />&nbsp;&nbsp; &nbsp;proxy_cache_path&nbsp; /tmp/cache&nbsp; keys_zone=tmpcache:10m;<br /><br />&nbsp;&nbsp; &nbsp;server {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location / {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_pass&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;http://127.0.0.1:8000;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_cache&nbsp; &nbsp; &nbsp; &nbsp; tmpcache;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_cache_key&nbsp; &nbsp; $uri$is_args$args;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br /><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;location ~ /purge(/.*) {<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;allow&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 127.0.0.1;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;deny&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;all;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;proxy_cache_purge&nbsp; tmpcache $1$is_args$args;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;}<br />&nbsp;&nbsp; &nbsp;}<br />}</div></div>
<p>注意，purge方式删除的话，由于nginx反代保存的是纯静态内容，我不想在反代的机子上装PHP<br />
所以，应该由后端主动来触发完成<br />
另外，由于是纯静态内容，很多以前直接用php的方式处理的东西，现在需要改成js+后端来处理了</p>
<p>详细不说了，思路就这样</p>
<p>BTW: https://github.com/bummercloud/nginx-fastcgi-cache-purge</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2019.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>批量管理VPS的工具SolusVMController</title>
		<link>http://www.21andy.com/blog/20120519/2018.html</link>
		<comments>http://www.21andy.com/blog/20120519/2018.html#comments</comments>
		<pubDate>Sat, 19 May 2012 07:13:24 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[SolusVMController]]></category>
		<category><![CDATA[vps]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2018</guid>
		<description><![CDATA[SolusVMController 是 PHP 开发的免费 VPS 管理面板，它通过 SolusVM 的 API 来控制，可以把所有的 VPS 集中管理了，现在购买的 VPS 面板一般都是SolusVM，API 具体请进面板开启。 安装 SolusVMController wget http://solusvmcontroller.com/files/solusvmcontroller-2.3.zipunzip solusvmcontroller-2.3.zipcd solusvmcontroller*mv configuration.php.default configuration.phpchmod 777 configuration.phpchmod 777 tables 默认用户名密码都是 admin Figure 1: Login interface. Figure 2: List of VPSes under SolusVMController. Figure 3: Edit exiting VPS information. Figure 4: View VPS information. Figure 5: User settings [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://http://solusvmcontroller.com/" rel="nofollow" target="_blank">SolusVMController </a>是 PHP 开发的免费 VPS 管理面板，它通过 SolusVM 的 API 来控制，可以把所有的 VPS 集中管理了，现在购买的 VPS 面板一般都是SolusVM，API 具体请进面板开启。</p>
<p><strong>安装 SolusVMController</strong></p>
<div class="hl-surround"><div class="hl-main">wget http://solusvmcontroller.com/files/solusvmcontroller-2.3.zip<br />unzip solusvmcontroller-2.3.zip<br />cd solusvmcontroller*<br />mv configuration.php.default configuration.php<br />chmod 777 configuration.php<br />chmod 777 tables</div></div>
<p>默认用户名密码都是 <strong>admin</strong></p>
<p><a href="http://www.21andy.com/blog/upload/2012/0519/5e6609814e59bc8d.jpg" class="lightbox" target="_blank" title="批量管理VPS的工具SolusVMController"><img src="http://www.21andy.com/blog/upload/2012/0519/5e6609814e59bc8d_thumb.jpg" title="批量管理VPS的工具SolusVMController" alt="批量管理VPS的工具SolusVMController 5e6609814e59bc8d thumb" /></a><br />
<em>Figure 1: Login interface.</em></p>
<p><a href="http://www.21andy.com/blog/upload/2012/0519/4a8217e37e97f6a5.jpg" class="lightbox" target="_blank" title="批量管理VPS的工具SolusVMController"><img src="http://www.21andy.com/blog/upload/2012/0519/4a8217e37e97f6a5_thumb.jpg" title="批量管理VPS的工具SolusVMController" alt="批量管理VPS的工具SolusVMController 4a8217e37e97f6a5 thumb" /></a><br />
<em>Figure 2: List of VPSes under SolusVMController.</em></p>
<p><a href="http://www.21andy.com/blog/upload/2012/0519/2ca65f5098adc979.jpg" class="lightbox" target="_blank" title="批量管理VPS的工具SolusVMController"><img src="http://www.21andy.com/blog/upload/2012/0519/2ca65f5098adc979_thumb.jpg" title="批量管理VPS的工具SolusVMController" alt="批量管理VPS的工具SolusVMController 2ca65f5098adc979 thumb" /></a><br />
<em>Figure 3: Edit exiting VPS information.</em></p>
<p><a href="http://www.21andy.com/blog/upload/2012/0519/b77ad13d6534abc1.jpg" class="lightbox" target="_blank" title="批量管理VPS的工具SolusVMController"><img src="http://www.21andy.com/blog/upload/2012/0519/b77ad13d6534abc1_thumb.jpg" title="批量管理VPS的工具SolusVMController" alt="批量管理VPS的工具SolusVMController b77ad13d6534abc1 thumb" /></a><br />
<em>Figure 4: View VPS information.</em></p>
<p><a href="http://www.21andy.com/blog/upload/2012/0519/88a6fe5de1b50f99.jpg" class="lightbox" target="_blank" title="批量管理VPS的工具SolusVMController"><img src="http://www.21andy.com/blog/upload/2012/0519/88a6fe5de1b50f99_thumb.jpg" title="批量管理VPS的工具SolusVMController" alt="批量管理VPS的工具SolusVMController 88a6fe5de1b50f99 thumb" /></a><br />
<em>Figure 5: User settings page.</em></p>
<div><embed id="lingoes_plugin_object" width="0" height="0" type="application/lingoes-npruntime-capture-word-plugin" hidden="true" /></div>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20120519/2018.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HTML5 模板</title>
		<link>http://www.21andy.com/blog/20110611/2016.html</link>
		<comments>http://www.21andy.com/blog/20110611/2016.html#comments</comments>
		<pubDate>Sat, 11 Jun 2011 04:45:10 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[技术]]></category>
		<category><![CDATA[HTML5]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2016</guid>
		<description><![CDATA[&#19979;&#36733;: html5.html&#60;!doctype html&#62;&#60;!-- simplified doctype works for all previous versions of HTML as well --&#62;&#160;&#60;!-- Paul Irish's technique for targeting IE, modified to only target IE6, applied to the html element instead of body --&#62;&#60;!--[if lt IE 7 ]&#62;&#60;html lang=&#34;en&#34; class=&#34;no-js ie6&#34;&#62;&#60;![endif]--&#62;&#60;!--[if (gt IE 6)&#124;!(IE)]&#62;&#60;!--&#62;&#60;html lang=&#34;en&#34; class=&#34;no-js&#34;&#62;&#60;!--&#60;![endif]--&#62;&#160;&#60;head&#62;&#160;&#160; &#160;&#60;!-- simplified character encoding --&#62;&#160;&#160; &#160;&#60;meta charset=&#34;utf-8&#34;&#62;&#160;&#160;&#160; &#160;&#60;title&#62;Easy [...]]]></description>
			<content:encoded><![CDATA[<div class="hl-title">&#19979;&#36733;: <a href="http://www.21andy.com/blog/wp-content/plugins/coolcode/coolcode.php?p=2016&amp;download=html5.html">html5.html</a></div><div class="hl-surround"><div class="hl-main"><span style="color: Olive;">&lt;</span><span style="color: Gray;">!</span><span style="color: #00008b;">doctype</span><span style="color: Gray;"> </span><span style="color: #00008b;">html</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- simplified doctype works for all previous versions of HTML as well --&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: #ffa500;">&lt;!-- Paul Irish's technique for targeting IE, modified to only target IE6, applied to the html element instead of body --&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!--[if lt IE 7 ]&gt;&lt;html lang=&quot;en&quot; class=&quot;no-js ie6&quot;&gt;&lt;![endif]--&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!--[if (gt IE 6)|!(IE)]&gt;&lt;!--&gt;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">html</span><span style="color: Gray;"> </span><span style="color: #00008b;">lang</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">en</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">class</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">no-js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!--&lt;![endif]--&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">head</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- simplified character encoding --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">meta</span><span style="color: Gray;"> </span><span style="color: #00008b;">charset</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">utf-8</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">title</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Easy HTML5 Template</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">title</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">meta</span><span style="color: Gray;"> </span><span style="color: #00008b;">name</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">description</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">content</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">Easy HTML5 Template</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">meta</span><span style="color: Gray;"> </span><span style="color: #00008b;">name</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">author</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">content</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Delete these two icon references once you've placed them in the root directory with these file names --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- favicon 16x16 --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">link</span><span style="color: Gray;"> </span><span style="color: #00008b;">rel</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">shortcut icon</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">/favicon.ico</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- apple touch icon 57x57 --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">link</span><span style="color: Gray;"> </span><span style="color: #00008b;">rel</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">apple-touch-icon</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">/apple-touch-icon.png</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Main style sheet. Change version number in query string to force styles refresh --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Link element no longer needs type attribute --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">link</span><span style="color: Gray;"> </span><span style="color: #00008b;">rel</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">stylesheet</span><span style="color: #8b0000;">&quot;</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">css/screen.css?v=1.0</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Modernizr for feature detection of CSS3 and HTML5; must be placed in the &quot;head&quot; --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Script tag no longer needs type attribute --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Gray;"> </span><span style="color: #00008b;">src</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">js/modernizr-1.6.min.js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Remove the script reference below if you're using Modernizr --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!--[if lt IE 9]&gt;<br />&nbsp;&nbsp; &nbsp;&lt;script src=&quot;http://html5shiv.googlecode.com/svn/trunk/html5.js&quot;&gt;&lt;/script&gt;<br />&nbsp;&nbsp; &nbsp;&lt;![endif]--&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">head</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: #ffa500;">&lt;!-- If possible, use the body as the container --&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!-- The &quot;home&quot; class is an example of a dynamic class created on the server for page-specific targeting --&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">body</span><span style="color: Gray;"> </span><span style="color: #00008b;">class</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">home</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- ******************************************************************** --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- The content below is for demonstration of some common HTML5 elements&nbsp; --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- More than likely you'll rip out everything except header/section/footer and start fresh --&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- First header has an ID so you can give it individual styles, and target stuff inside it --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">header</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">hd1</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- &quot;hgroup&quot; is used to make two headings into one, to prevent a new document node from forming --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">hgroup</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Easy HTML5 Template</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">h2</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">tagline</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">h2</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">hgroup</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Main nav, styled by targeting &quot;#hd1 nav&quot;; you can have more than one nav element per page --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">nav</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">ul</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Home</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">About</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Services</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">a</span><span style="color: Gray;"> </span><span style="color: #00008b;">href</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">#</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Contact</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">a</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">li</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">ul</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">nav</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">header</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- #hd1 --&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- This is the main &quot;div&quot; that wraps the content generically; don't use &quot;section&quot; for this --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">div</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">main</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- The first of two &quot;section&quot; elements for demo purposes; optional class added for styling (hs1 = &quot;home section 1&quot;) --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">section</span><span style="color: Gray;"> </span><span style="color: #00008b;">class</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">hs1</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Each section should begin with a new h1 (not h2), and optionally a header --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- You can have more than one header/footer pair on a page --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">header</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This is a Page Sub Title</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">header</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Some content...</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- The h2 below is a sub heading relative to the h1 in this section, not for the whole document --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">h2</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Demonstrating EM and STRONG</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">h2</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- &quot;strong&quot; is used for SEO and contextual hierarchy --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">strong</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This text will have more importance (SEO-wise and contextually)</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">strong</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- &quot;b&quot; is used for stylistic offset of text that's NOT important contextually --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;&lt;</span><span style="color: Green;">b</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This text has visual importance but has no contextual or SEO importance</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">b</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- &quot;em&quot; is used for colloquial-style emphasis --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This is a </span><span style="color: Olive;">&lt;</span><span style="color: Green;">em</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">very</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">em</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"> colloquial expression.</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- There can be multiple footers on each page --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Secondary headers and footers don't necesarily need ids; they can be targeted via context (i.e. &quot;.hs1 footer&quot;) --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">footer</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- incite a riot: http://24ways.org/2009/incite-a-riot --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Author: </span><span style="color: Olive;">&lt;</span><span style="color: Green;">cite</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Louis Lazaris</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">cite</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">footer</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">section</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- .hs1 --&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- This is another section; doesn't have header/footer because it's not required --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">section</span><span style="color: Gray;"> </span><span style="color: #00008b;">class</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">hs2</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This is another section</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">h1</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">This is some dummy content</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">section</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- .hs2 --&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">div</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- #main --&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- The &quot;aside&quot; element could be a sidebar (outside an article or section) --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- Or it could reference other tangentially-related content within an article or section --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">aside</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">sidebar</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">Sidebar content</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">aside</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br />&nbsp;&nbsp; &nbsp;</span><span style="color: #ffa500;">&lt;!-- The main footer has an ID for targeting, similar to the main header --&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">footer</span><span style="color: Gray;"> </span><span style="color: #00008b;">id</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">f1</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">copyright © year</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">p</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;&nbsp; &nbsp;</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">footer</span><span style="color: Olive;">&gt;</span><span style="color: #ffa500;">&lt;!-- #f1 --&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: #ffa500;">&lt;!-- Remote jQuery with local fallback; taken from HTML5 Boilerplate http://html5boilerplate.com --&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!-- jQuery version might not be the latest; check jquery.com --&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Gray;"> </span><span style="color: #00008b;">src</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;">!window.jQuery &amp;&amp; document.write(unescape('%3Cscript src=&quot;js/jquery-1.4.4.min.js&quot;%3E%3C/script%3E'))</span><span style="color: Olive;">&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: #ffa500;">&lt;!-- Below is your script file, which has a basic JavaScript design pattern that you can optionally use --&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!-- Keep this and plugin scripts at the bottom for faster page load; combining and minifying scripts is recommended --&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Gray;"> </span><span style="color: #00008b;">src</span><span style="color: Gray;">=</span><span style="color: #8b0000;">&quot;</span><span style="color: Red;">js/general.js</span><span style="color: #8b0000;">&quot;</span><span style="color: Olive;">&gt;&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />&nbsp;<br /></span><span style="color: #ffa500;">&lt;!-- asynchronous analytics code by Mathias Bynens; change UA-XXXXX-X to your own code; http://mathiasbynens.be/notes/async-analytics-snippet --&gt;</span><span style="color: Gray;"><br /></span><span style="color: #ffa500;">&lt;!-- this can also be placed in the &lt;head&gt; if you want page views to be tracked quicker --&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br />var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];<br />(function(d, t) {<br />&nbsp;&nbsp; &nbsp;var g = d.createElement(t),<br />&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;s = d.getElementsByTagName(t)[0];<br />&nbsp;&nbsp; &nbsp;g.async = true;<br />&nbsp;&nbsp; &nbsp;g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';<br />&nbsp;&nbsp; &nbsp;s.parentNode.insertBefore(g, s);<br />})(document, 'script');<br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">script</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">body</span><span style="color: Olive;">&gt;</span><span style="color: Gray;"><br /></span><span style="color: Olive;">&lt;/</span><span style="color: Green;">html</span><span style="color: Olive;">&gt;</span></div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110611/2016.html/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>世界上最健康的作息时间表</title>
		<link>http://www.21andy.com/blog/20110423/2009.html</link>
		<comments>http://www.21andy.com/blog/20110423/2009.html#comments</comments>
		<pubDate>Sat, 23 Apr 2011 15:57:39 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[生活]]></category>
		<category><![CDATA[作息时间表]]></category>
		<category><![CDATA[健康]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2009</guid>
		<description><![CDATA[世界上最健康的作息时间表 7:30：起床。英国威斯敏斯特大学的研究人员发现，那些在早上5:22―7:21 分起床的人，其血液中有一种能引起心脏病的物质含量较高，因此，在7:21之后起床对身体健康更加有益。 打开台灯。“一醒来，就将灯打开，这样将会重新调整体内的生物钟，调整睡眠和醒来模式。”拉夫堡大学睡眠研究中心教授吉姆·霍恩说。 喝一杯水。水是身体内成千上万化学反应得以进行的必需物质。早上喝一杯清水，可以补充晚上的缺水状态。 7:30―8:00：在早饭之前刷牙。“在早饭之前刷牙可以防止牙齿的腐蚀，因为刷牙之后，可以在牙齿外面涂上一层含氟的保护层。要么，就等早饭之后半小时再刷牙。”英国牙齿协会健康和安全研究人员戈登·沃特金斯说。 8:00―8:30：吃早饭。“早饭必须吃，因为它可以帮助你维持血糖水平的稳定。”伦敦大学国王学院营养师凯文·威尔伦说。早饭可以吃燕麦粥等，这类食物具有较低的血糖指数。 8:30―9:00：避免运动。来自布鲁奈尔大学的研究人员发现，在早晨进行锻炼的运动员更容易感染疾病，因为免疫系统在这个时间的功能最弱。步行上班。马萨诸塞州大学医学院的研究人员发现，每天走路的人，比那些久坐不运动的人患感冒病的几率低25%。 9:30：开始一天中最困难的工作。纽约睡眠中心的研究人员发现，大部分人在每天醒来的一两个小时内头脑最清醒。 10:30：让眼睛离开屏幕休息一下。如果你使用电脑工作，那么每工作一小时，就让眼睛休息3分钟。 11:00：吃点水果。这是一种解决身体血糖下降的好方法。吃一个橙子或一些红色水果，这样做能同时补充体内的铁含量和维生素C含量。 13:00：在面包上加一些豆类蔬菜。你需要一顿可口的午餐，并且能够缓慢地释放能量。“烘烤的豆类食品富含纤维素，番茄酱可以当作是蔬菜的一部分。”维伦博士说。 14:30―15:30：午休一小会儿。雅典的一所大学研究发现，那些每天中午午休30分钟或更长时间，每周至少午休3次的人，因心脏病死亡的几率会下降37%。 16:00：喝杯酸奶。这样做可以稳定血糖水平。在每天三餐之间喝些酸牛奶，有利于心脏健康。 17:00―19:00：锻炼身体。根据体内的生物钟，这个时间是运动的最佳时间，舍菲尔德大学运动学医生瑞沃·尼克说。 19:30：晚餐少吃点。晚饭吃太多，会引起血糖升高，并增加消化系统的负担，影响睡眠。晚饭应该多吃蔬菜，少吃富含卡路里和蛋白质的食物。吃饭时要细嚼慢咽。 21:45：看会电视。这个时间看会儿电视放松一下，有助于睡眠，但要注意，尽量不要躺在床上看电视，这会影响睡眠质量。 23:00：洗个热水澡。“体温的适当降低有助于放松和睡眠。”拉夫堡大学睡眠研究中心吉姆·霍恩教授说。 23:30：上床睡觉。如果你早上7点30起床，现在入睡可以保证你享受8小时充足的睡眠。 任何试图更改生物钟的行为，都将给身体留下莫名其妙的疾病，20、30年之后再后悔，已经来不及了。 一、晚上9-11点为免疫系统（淋巴）排毒时间，此段时间应安静或听音乐。 二、晚间11-凌晨1点，肝的排毒，需在熟睡中进行。 三、凌晨1-3点，胆的排毒，亦同。 四、凌晨3-5点，肺的排毒。此即为何咳嗽的人在这段时间咳得最剧烈，因排毒动作已走到肺；不应用止咳药，以免抑制废积物的排除。 五、凌晨5-7点，大肠的排毒，应上厕所排便。 六、凌晨7-9点，小肠大量吸收营养的时段，应吃早餐。疗病者最好早吃，在６点半前，养生者在７点半前，不吃早餐者应改变习惯，即使拖到9、10点吃都比不吃好。 七、半夜至凌晨4点为脊椎造血时段，必须熟睡，不宜熬夜。 记住身体健康作息时间表，安排好你的生活，让你的人生丰富多彩！]]></description>
			<content:encoded><![CDATA[<p><strong>世界上最健康的作息时间表</strong></p>
<p><a href="http://www.21andy.com/blog/upload/2011/0423/ac7fe728071e3e99.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0423/ac7fe728071e3e99_thumb.jpg" alt="世界上最健康的作息时间表 ac7fe728071e3e99 thumb"  title="世界上最健康的作息时间表" /></a></p>
<p><strong>7:30：起床。</strong>英国威斯敏斯特大学的研究人员发现，那些在早上5:22―7:21 分起床的人，其血液中有一种能引起心脏病的物质含量较高，因此，在7:21之后起床对身体健康更加有益。</p>
<p>打开台灯。“一醒来，就将灯打开，这样将会重新调整体内的生物钟，调整睡眠和醒来模式。”拉夫堡大学睡眠研究中心教授吉姆·霍恩说。</p>
<p>喝一杯水。水是身体内成千上万化学反应得以进行的必需物质。早上喝一杯清水，可以补充晚上的缺水状态。</p>
<p><strong>7:30―8:00：在早饭之前刷牙。</strong>“在早饭之前刷牙可以防止牙齿的腐蚀，因为刷牙之后，可以在牙齿外面涂上一层含氟的保护层。要么，就等早饭之后半小时再刷牙。”英国牙齿协会健康和安全研究人员戈登·沃特金斯说。</p>
<p><strong>8:00―8:30：吃早饭。</strong>“早饭必须吃，因为它可以帮助你维持血糖水平的稳定。”伦敦大学国王学院营养师凯文·威尔伦说。早饭可以吃燕麦粥等，这类食物具有较低的血糖指数。</p>
<p><strong>8:30―9:00：避免运动。</strong>来自布鲁奈尔大学的研究人员发现，在早晨进行锻炼的运动员更容易感染疾病，因为免疫系统在这个时间的功能最弱。步行上班。马萨诸塞州大学医学院的研究人员发现，每天走路的人，比那些久坐不运动的人患感冒病的几率低25%。</p>
<p><strong>9:30：开始一天中最困难的工作。</strong>纽约睡眠中心的研究人员发现，大部分人在每天醒来的一两个小时内头脑最清醒。</p>
<p><strong>10:30：让眼睛离开屏幕休息一下。</strong>如果你使用电脑工作，那么每工作一小时，就让眼睛休息3分钟。</p>
<p><strong>11:00：吃点水果。</strong>这是一种解决身体血糖下降的好方法。吃一个橙子或一些红色水果，这样做能同时补充体内的铁含量和维生素C含量。</p>
<p><strong>13:00：在面包上加一些豆类蔬菜。</strong>你需要一顿可口的午餐，并且能够缓慢地释放能量。“烘烤的豆类食品富含纤维素，番茄酱可以当作是蔬菜的一部分。”维伦博士说。</p>
<p><strong>14:30―15:30：午休一小会儿。</strong>雅典的一所大学研究发现，那些每天中午午休30分钟或更长时间，每周至少午休3次的人，因心脏病死亡的几率会下降37%。</p>
<p><strong>16:00：喝杯酸奶。</strong>这样做可以稳定血糖水平。在每天三餐之间喝些酸牛奶，有利于心脏健康。</p>
<p><strong>17:00―19:00：锻炼身体。</strong>根据体内的生物钟，这个时间是运动的最佳时间，舍菲尔德大学运动学医生瑞沃·尼克说。</p>
<p><strong>19:30：晚餐少吃点。</strong>晚饭吃太多，会引起血糖升高，并增加消化系统的负担，影响睡眠。晚饭应该多吃蔬菜，少吃富含卡路里和蛋白质的食物。吃饭时要细嚼慢咽。</p>
<p><strong>21:45：看会电视。</strong>这个时间看会儿电视放松一下，有助于睡眠，但要注意，尽量不要躺在床上看电视，这会影响睡眠质量。</p>
<p><strong>23:00：洗个热水澡。</strong>“体温的适当降低有助于放松和睡眠。”拉夫堡大学睡眠研究中心吉姆·霍恩教授说。</p>
<p><strong>23:30：上床睡觉。</strong>如果你早上7点30起床，现在入睡可以保证你享受8小时充足的睡眠。</p>
<p><strong>任何试图更改生物钟的行为，都将给身体留下莫名其妙的疾病，20、30年之后再后悔，已经来不及了。</strong></p>
<p><strong>一、</strong>晚上9-11点为免疫系统（淋巴）排毒时间，此段时间应安静或听音乐。</p>
<p><strong>二、</strong>晚间11-凌晨1点，肝的排毒，需在熟睡中进行。</p>
<p><strong>三、</strong>凌晨1-3点，胆的排毒，亦同。</p>
<p><strong>四、</strong>凌晨3-5点，肺的排毒。此即为何咳嗽的人在这段时间咳得最剧烈，因排毒动作已走到肺；不应用止咳药，以免抑制废积物的排除。</p>
<p><strong>五、</strong>凌晨5-7点，大肠的排毒，应上厕所排便。</p>
<p><strong>六、</strong>凌晨7-9点，小肠大量吸收营养的时段，应吃早餐。疗病者最好早吃，在６点半前，养生者在７点半前，不吃早餐者应改变习惯，即使拖到9、10点吃都比不吃好。</p>
<p><strong>七、</strong>半夜至凌晨4点为脊椎造血时段，必须熟睡，不宜熬夜。</p>
<p><strong>记住身体健康作息时间表，安排好你的生活，让你的人生丰富多彩！</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110423/2009.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>2万百度竞价高价词</title>
		<link>http://www.21andy.com/blog/20110420/2007.html</link>
		<comments>http://www.21andy.com/blog/20110420/2007.html#comments</comments>
		<pubDate>Wed, 20 Apr 2011 04:06:12 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[网赚]]></category>
		<category><![CDATA[keyword]]></category>
		<category><![CDATA[关键词]]></category>
		<category><![CDATA[百度]]></category>
		<category><![CDATA[竞价]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2007</guid>
		<description />
			<content:encoded><![CDATA[下载 : <a href="http://www.21andy.com/blog/download/20000_baidu_keywords.zip" title="2万百度竞价高价词">2万百度竞价高价词</a> 2011-04-20 (210.73 kB, 已下载 1173 次)
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110420/2007.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>哈佛图书馆的二十条训言</title>
		<link>http://www.21andy.com/blog/20110224/2006.html</link>
		<comments>http://www.21andy.com/blog/20110224/2006.html#comments</comments>
		<pubDate>Thu, 24 Feb 2011 08:32:05 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[文摘]]></category>
		<category><![CDATA[励志]]></category>
		<category><![CDATA[哈佛]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2006</guid>
		<description><![CDATA[哈佛图书馆的二十条训言： 1.此刻打盹，你将做梦;而此刻学习，你将圆梦。 2.我荒废的今日，正是昨日殒身之人祈求的明日。 3.觉得为时已晚的时候，恰恰是最早的时候。 4.勿将今日之事拖到明日。 5.学习时的苦痛是暂时的，未学到的痛苦是终生的。 6.学习这件事，不是缺乏时间，而是缺乏努力。 7.幸福或许不排名次，但成功必排名次。 8.学习并不是人生的全部。但既然连人生的一部分----学习也无法征服，还能做什么呢? 9.请享受无法回避的痛苦。 10.只有比别人更早、更勤奋地努力，才能尝到成功的滋味。 11.谁也不能随随便便成功，它来自彻底的自我管理和毅力。 12.时间在流逝。 13.现在流的口水，将成为明天的眼泪。 14.狗一样地学，绅士一样地玩。 15.今天不走，明天要跑。 16.投资未来的人，是忠于现实的人。 17.受教育程度代表收入。 18.一天过完，不会再来。 19.即使现在，对手也不停地翻动书页。 20.没有艰辛，便无所获。]]></description>
			<content:encoded><![CDATA[<p>哈佛图书馆的二十条训言：</p>
<p>1.此刻打盹，你将做梦;而此刻学习，你将圆梦。<br />
2.我荒废的今日，正是昨日殒身之人祈求的明日。<br />
3.觉得为时已晚的时候，恰恰是最早的时候。<br />
4.勿将今日之事拖到明日。<br />
5.学习时的苦痛是暂时的，未学到的痛苦是终生的。<br />
6.学习这件事，不是缺乏时间，而是缺乏努力。<br />
7.幸福或许不排名次，但成功必排名次。<br />
8.学习并不是人生的全部。但既然连人生的一部分----学习也无法征服，还能做什么呢?<br />
9.请享受无法回避的痛苦。<br />
10.只有比别人更早、更勤奋地努力，才能尝到成功的滋味。<br />
11.谁也不能随随便便成功，它来自彻底的自我管理和毅力。<br />
12.时间在流逝。<br />
13.现在流的口水，将成为明天的眼泪。<br />
14.狗一样地学，绅士一样地玩。<br />
15.今天不走，明天要跑。<br />
16.投资未来的人，是忠于现实的人。<br />
17.受教育程度代表收入。<br />
18.一天过完，不会再来。<br />
19.即使现在，对手也不停地翻动书页。<br />
20.没有艰辛，便无所获。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110224/2006.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>卖了北京的房子 26万刀买美国房子</title>
		<link>http://www.21andy.com/blog/20110214/2004.html</link>
		<comments>http://www.21andy.com/blog/20110214/2004.html#comments</comments>
		<pubDate>Mon, 14 Feb 2011 07:06:35 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[文摘]]></category>
		<category><![CDATA[生活]]></category>
		<category><![CDATA[房价]]></category>
		<category><![CDATA[美国]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2004</guid>
		<description><![CDATA[本文转载！ 说说2010年我卖掉海淀万柳房子在美国加州买房的经历 不知道算不算是理财，我只想讲讲我2002年在海淀万柳买房（166平米，7800元/平米 ），2009年12月卖房（35000元/平米），2011年12月在美国加州买房（2560平方英尺， 共计26.5万美元）的经历。 因为本人从小生活在海淀，40岁时置办自己的第一套房产时，自然而然选择了上风上水 的海淀万柳，2002年，在多年前还是鱼塘和稻田的小南庄一代，买下了价格为7800元/平 米的一套房子。当时的想法是，这套房子会伴随自己一辈子，社会再怎么变化，我也会在 北京的四环内留一套属于自己的住宅。这样的想法下，一直平静的生活了7年。 2009年底，跟家人在楼下遛弯，很随意的到房屋中介的门店前小停了一下，看看价格， 居然卖到每平米3.4万。心，着实被触动了一下。当时房价正是最高涨的时候，几乎没有卖 不出去的房子，房产公司到处在找房源。而美国的房市在2008年由于两房的破产导致金融 危机，房价跌倒2006年以后几乎最低的价格。时有耳闻：不少国内大款组团到美国抄底购 买房产。 这样的反差，让本人有了一个想法：卖掉房子、去美国抄底。于是，2009年12月24-26 日2天内，从想法到签合同，基本完成了卖房的第一步。 看房的那一天，我家接待了100多人，入住7年来我家从未进入过这么多的人！ 感兴趣的，听我细细道来。。。。。。。 先说结果吧，这是2010年12月在美国加州WOODLAND卖到的房子，26.5万美元，地毯面积2570平方英尺，院子好像6000多吧，同志们觉得值吗？ 刚才说错了，是买到的房子。 说道去美国的事，也有点小的铺垫，儿子07年去美国读书了，正好是个契机，买房子需要2-3个月的过程，确实不是立刻就能办的 美国的房产价格是低 但是房产税和物业税听说都很高啊 只有房产税，因为没有物业，所以就是一个，在加州是1.44%，现在要交每年3000美元左右的房产税，保险自己决定是否上，800多美元，什么都管。 Woodland在旧金山东北100公里，离加州的首府萨卡拉门托20公里，在儿子上学的加州大学戴维斯分校10公里，1895年就建立了，是个很古朴的小镇子 这是拿着IPAD去买房子的样子 其实我也没觉得自己赚了多少，只是当时条件比较合适，在北京卖房的时候，是卖方市场，索友的费用都是买方掏，我就等着拿钱，呵呵，有点不好意思。在美国买房的时候，索友的费用，都是卖房的掏，应为是现金支付，银行居然拿掉了前两个美国买主的资格，直接卖给我了。 儿子上学的条件也好些了，顺便说一句，这个房子是04年的，06年曾经卖到过58万美元。刚才所说的前两个美国买主也是出价28万多美元的 在那边买房子不用纳税证明，目前也没想办移民，主要是孩子上学租房子也不便宜，现在美国房价也比较低，感觉比较合适吧。 2010年12月15号正式签合同，目前已经拿到正式文本，待扫描后给通知们看看 这是房子后院 去年中卖掉棕榈泉的房子，刚刚在马里兰州的Columbia买了个479000刀的独立房。还剩了差不多500000刀，打算继续在佛州的Lake Mary一带买几个出 ... 咱们也许没赶上最便宜的时候，但我觉得已经很低了，将来还是有些升值的空间。 这是进门的客厅 将来卖不到26万美刀，这种可能哪怕很小，但也是存在的。我只是用海淀房子不到一半的价格买到美国230多平米两层，还有车库和花园，还算是比较合算的买卖吧。未必是最佳选择，只是给同志们点参考意见，我是小白鼠呀，呵呵。 一层的厨房 是DAVIS分校，读的本科，计算机工程专业。按说今年该毕业了，但就业形势不好，也许等到明吧，多学点。 二楼的家人用的客厅 听说美国有住所学费减半,真的吗? 我也希望如此，嘿嘿，但好像不行。本地居民的学费可以很低 这个小城市真的很舒服 儿子刚去的时候买了辆2手雅绅特，4000美元，老跑山路去滑雪，发动机几乎坏了，然后换了这个老款索兰托，V6，3.8,新车才1万4千美元，还是很合适滴。 这是房子的位置，离优山美地国家公园、出葡萄酒的纳帕谷。南边到旧金山硅谷，到不是很远。 也许真的存在若干年后衰落成无人小镇的可能。但我估计起码近期不会立刻变成现实。 我也曾想到过2-3年之后北京会出现8月15的大堵车，但真没想到会这么快。 唉~，本人也是想能痛快就痛快一些吧。（没什么雄怀大略） 本人不想再次评价哪边好哪边坏，只是说说自己的经历的事，供同志们参考。 我觉得什么事都要适合自己，正好孩子在那上学，即使就业离硅谷和州首府也不远，比较适合我们家的情况而已。大城市固然听着很好，但如果在哪没有自己的事，人多、房子贵，对我就没必要了。 在那边买房子，不需要资格。去旅游的、学习的都可以，只是办理时间比国内审核复杂，需要时间，2-3个月吧。 去那边，签证还是要办的，要想长久居住还要自己想办法。比如移民、绿卡之类（在这就不讨论了），我家孩子在那学习正好是个条件，就走了这条路，也许不一定适合别的朋友，参考吧。 早市，挺安静温馨的，在那溜达，到没感觉到歧视。 希望各位同志们平和理解我的意思，国内这30年发展也很快，生活水平增长很快，个人情况不同，学则也会不同。 如果正好条件合适，比如孩子上学这类的，反正也要租，就可以这样看看，但却是先期看房很重要，我们找了一个越南裔的美国人，介绍情况比较客观，比如黑人多呀、社区有些不安全隐患呀都介绍的比较到位，当然也有人喜欢找华人介绍情况的，介绍的情况会略有不同，总之考虑情况多点吧。 [...]]]></description>
			<content:encoded><![CDATA[<p><strong>本文转载！</strong></p>
<p>说说2010年我卖掉海淀万柳房子在美国加州买房的经历</p>
<p>不知道算不算是理财，我只想讲讲我2002年在海淀万柳买房（166平米，7800元/平米<br />
），2009年12月卖房（35000元/平米），2011年12月在美国加州买房（2560平方英尺，<br />
共计26.5万美元）的经历。</p>
<p>因为本人从小生活在海淀，40岁时置办自己的第一套房产时，自然而然选择了上风上水<br />
的海淀万柳，2002年，在多年前还是鱼塘和稻田的小南庄一代，买下了价格为7800元/平<br />
米的一套房子。当时的想法是，这套房子会伴随自己一辈子，社会再怎么变化，我也会在<br />
北京的四环内留一套属于自己的住宅。这样的想法下，一直平静的生活了7年。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/3a560a64ce9189fc.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/3a560a64ce9189fc_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 3a560a64ce9189fc thumb" /></a></p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/c86dbd12683a6f72.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/c86dbd12683a6f72_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 c86dbd12683a6f72 thumb" /></a></p>
<p>2009年底，跟家人在楼下遛弯，很随意的到房屋中介的门店前小停了一下，看看价格，<br />
居然卖到每平米3.4万。心，着实被触动了一下。当时房价正是最高涨的时候，几乎没有卖<br />
不出去的房子，房产公司到处在找房源。而美国的房市在2008年由于两房的破产导致金融<br />
危机，房价跌倒2006年以后几乎最低的价格。时有耳闻：不少国内大款组团到美国抄底购<br />
买房产。</p>
<p>这样的反差，让本人有了一个想法：卖掉房子、去美国抄底。于是，2009年12月24-26<br />
日2天内，从想法到签合同，基本完成了卖房的第一步。</p>
<p>看房的那一天，我家接待了100多人，入住7年来我家从未进入过这么多的人！<br />
感兴趣的，听我细细道来。。。。。。。</p>
<p>先说结果吧，这是2010年12月在美国加州WOODLAND卖到的房子，26.5万美元，地毯面积2570平方英尺，院子好像6000多吧，同志们觉得值吗？<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/3b56ab08c2a82513.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/3b56ab08c2a82513_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 3b56ab08c2a82513 thumb" /></a></p>
<p>刚才说错了，是买到的房子。<br />
说道去美国的事，也有点小的铺垫，儿子07年去美国读书了，正好是个契机，买房子需要2-3个月的过程，确实不是立刻就能办的</p>
<blockquote><p>美国的房产价格是低  但是房产税和物业税听说都很高啊</p></blockquote>
<p>只有房产税，因为没有物业，所以就是一个，在加州是1.44%，现在要交每年3000美元左右的房产税，保险自己决定是否上，800多美元，什么都管。</p>
<p>Woodland在旧金山东北100公里，离加州的首府萨卡拉门托20公里，在儿子上学的加州大学戴维斯分校10公里，1895年就建立了，是个很古朴的小镇子<br />
这是拿着IPAD去买房子的样子</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/5e6edebe520e8e80.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/5e6edebe520e8e80_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 5e6edebe520e8e80 thumb" /></a></p>
<p>其实我也没觉得自己赚了多少，只是当时条件比较合适，在北京卖房的时候，是卖方市场，索友的费用都是买方掏，我就等着拿钱，呵呵，有点不好意思。在美国买房的时候，索友的费用，都是卖房的掏，应为是现金支付，银行居然拿掉了前两个美国买主的资格，直接卖给我了。<br />
儿子上学的条件也好些了，顺便说一句，这个房子是04年的，06年曾经卖到过58万美元。刚才所说的前两个美国买主也是出价28万多美元的</p>
<p>在那边买房子不用纳税证明，目前也没想办移民，主要是孩子上学租房子也不便宜，现在美国房价也比较低，感觉比较合适吧。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/6e30519b21942945.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/6e30519b21942945_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 6e30519b21942945 thumb" /></a></p>
<p>2010年12月15号正式签合同，目前已经拿到正式文本，待扫描后给通知们看看</p>
<p>这是房子后院<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/7007bf9cbc7b5c74.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/7007bf9cbc7b5c74_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 7007bf9cbc7b5c74 thumb" /></a></p>
<blockquote><p>去年中卖掉棕榈泉的房子，刚刚在马里兰州的Columbia买了个479000刀的独立房。还剩了差不多500000刀，打算继续在佛州的Lake Mary一带买几个出 ... </p></blockquote>
<p>咱们也许没赶上最便宜的时候，但我觉得已经很低了，将来还是有些升值的空间。<br />
这是进门的客厅</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/bd487c862cefa1d8.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/bd487c862cefa1d8_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 bd487c862cefa1d8 thumb" /></a></p>
<p>将来卖不到26万美刀，这种可能哪怕很小，但也是存在的。我只是用海淀房子不到一半的价格买到美国230多平米两层，还有车库和花园，还算是比较合算的买卖吧。未必是最佳选择，只是给同志们点参考意见，我是小白鼠呀，呵呵。</p>
<p>一层的厨房<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/ac878f962c9d860c.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/ac878f962c9d860c_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 ac878f962c9d860c thumb" /></a></p>
<p>是DAVIS分校，读的本科，计算机工程专业。按说今年该毕业了，但就业形势不好，也许等到明吧，多学点。</p>
<p>二楼的家人用的客厅<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/02d68685adfff04e.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/02d68685adfff04e_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 02d68685adfff04e thumb" /></a></p>
<blockquote><p>听说美国有住所学费减半,真的吗? </p></blockquote>
<p>我也希望如此，嘿嘿，但好像不行。本地居民的学费可以很低</p>
<p>这个小城市真的很舒服<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/d2d4deed28d69232.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/d2d4deed28d69232_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 d2d4deed28d69232 thumb" /></a></p>
<p>儿子刚去的时候买了辆2手雅绅特，4000美元，老跑山路去滑雪，发动机几乎坏了，然后换了这个老款索兰托，V6，3.8,新车才1万4千美元，还是很合适滴。<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/6822bd9dc748a417.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/6822bd9dc748a417_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 6822bd9dc748a417 thumb" /></a></p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/f54e1365893aaa7a.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/f54e1365893aaa7a_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 f54e1365893aaa7a thumb" /></a><br />
这是房子的位置，离优山美地国家公园、出葡萄酒的纳帕谷。南边到旧金山硅谷，到不是很远。<br />
也许真的存在若干年后衰落成无人小镇的可能。但我估计起码近期不会立刻变成现实。<br />
我也曾想到过2-3年之后北京会出现8月15的大堵车，但真没想到会这么快。<br />
唉~，本人也是想能痛快就痛快一些吧。（没什么雄怀大略）</p>
<p>本人不想再次评价哪边好哪边坏，只是说说自己的经历的事，供同志们参考。<br />
我觉得什么事都要适合自己，正好孩子在那上学，即使就业离硅谷和州首府也不远，比较适合我们家的情况而已。大城市固然听着很好，但如果在哪没有自己的事，人多、房子贵，对我就没必要了。<br />
在那边买房子，不需要资格。去旅游的、学习的都可以，只是办理时间比国内审核复杂，需要时间，2-3个月吧。</p>
<p>去那边，签证还是要办的，要想长久居住还要自己想办法。比如移民、绿卡之类（在这就不讨论了），我家孩子在那学习正好是个条件，就走了这条路，也许不一定适合别的朋友，参考吧。<br />
早市，挺安静温馨的，在那溜达，到没感觉到歧视。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/52ad3f4103332a5f.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/52ad3f4103332a5f_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 52ad3f4103332a5f thumb" /></a></p>
<p>希望各位同志们平和理解我的意思，国内这30年发展也很快，生活水平增长很快，个人情况不同，学则也会不同。<br />
如果正好条件合适，比如孩子上学这类的，反正也要租，就可以这样看看，但却是先期看房很重要，我们找了一个越南裔的美国人，介绍情况比较客观，比如黑人多呀、社区有些不安全隐患呀都介绍的比较到位，当然也有人喜欢找华人介绍情况的，介绍的情况会略有不同，总之考虑情况多点吧。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/896fba87c9051229.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/896fba87c9051229_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 896fba87c9051229 thumb" /></a></p>
<blockquote><p>楼主当时买房是啥身份? </p></blockquote>
<p>儿子和家人，目前都是中国护照，儿子也许将来会变，但大人目前没计划。<br />
资金的问题，现在换汇的指标是每人每年5万美元，多找几个家人换吧。有些银行可以直接往那边的账户转，不少银行也可以电汇，收点手续费</p>
<p>当地在建的房子<br />
<a href="http://www.21andy.com/blog/upload/2011/0214/73c0e6de2cca7391.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/73c0e6de2cca7391_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 73c0e6de2cca7391 thumb" /></a></p>
<p>那边的房子，每年都会有人评估，买的价格是26.5万，而当时年度评估是28万，06年最贵曾经到过50多万，但你交1.44%的税，是按你买的价格计算的，目前我了解的，是死税。<br />
忘了说：入住后，曾收到过当地yolo郡（相当于咱们这县）的信件，意思是恭喜入住，考虑你目前是无收入家庭，可以写个申请免除部分（大概是一段时间吧）房产税。</p>
<p>据说当地人不讨厌缴纳房产税，因为税的用途很清楚，很多都是用于改善居住环境，自己的房屋能增值不少。</p>
<p>开始的时候，我先在网站上查，ziprealty。com就是一个全国性的房屋中介网站，各个地区的都有，你只要输入自己的条件：位置、价格区间、房屋卫生间数量、车库数量，就给你提供很详细的信息，找中介看房，是免费的。看好以后再谈具体买的问题，有些还不起贷款的就被银行收回，由银行来卖，你报的价格需要银行批准，如果需要贷款，就更麻烦一些。</p>
<p>真心谢谢！希望喜欢者有所获。<br />
没有评价彼此好坏的意思，就是让自己可能的情况下活的舒服一些。<br />
同喜同喜！</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/98c69e428390ed99.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/98c69e428390ed99_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 98c69e428390ed99 thumb" /></a></p>
<p>光说外面了，还没说当时卖房时的情况呢，要说国人生活水平真的提高很多，约好看房的时间是上午10点到12点，这段时间居然来了7-8家中介公司找来的100多人，创了我家进门人数的记录。中介公司的几拨人还有互相掩护当托的，嘿嘿。有些人甚至想直接放几百万的现金立刻成交。<br />
今天太晚，改日说说细节，再上点那边的照片<br />
谢谢各位关注！</p>
<blockquote><p>挺好。。。这很需要魄力。。。但就一点哈。。说了别见怪。我的名字叫打死不买韩国车。。哈哈 </p></blockquote>
<p>其实殊途同归。很多细节并不重要，重要的是自己舒服。<br />
在那边，美国、日本、韩国（德系车少，法国车没有）的车都有，人们并不太注意品牌。<br />
买的这套房子的装修，也比不上国内一般中档的房子，没有豪华的瓷砖、地转，马桶也几乎前篇一律，但是当你有地方玩、有地方快乐的时候，这些就不那么重要了。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/5c93061bfb34fb1b.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/5c93061bfb34fb1b_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 5c93061bfb34fb1b thumb" /></a></p>
<blockquote><p>据我所知～欧美国家一般家庭都不买房，只租房住。每年各项税钱，房屋维修保养等…都是一大笔开销。 </p></blockquote>
<p>税只有一种，就是房产税，美国各州不同，加州北部算中低吧，房价的1.44%，现在每年交3000左右，还有房屋保险，自己可选。房屋、草地的维修保养确实是笔花销，动手能力强的可以自己做。儿子屋内要设置几个路由器，需要走地毯边，请来的施工师傅起价100美元。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/2946ae432dff724d.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/2946ae432dff724d_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 2946ae432dff724d thumb" /></a></p>
<p>很多朋友关心本人身份、现在住哪等具体问题，谢谢各位的关心，现在披露一些如下：呵呵开个玩笑。</p>
<p>本人系纯粹的60后，红旗下生红旗下长。从小在北京西郊一代生活工作，本科毕业后曾经供职于某国营厂，后调入另一单位，为“我已出舱，感觉良好”的英雄做出过贡献，（当然只是辅助性的），若干年前停薪留职出来，做些社会工作。<br />
本人性格，热爱祖国的大好河山，开车走了不少中西部的省份，喜欢旅游。<br />
言归正传：卖了万柳的房子后，我在原单位供职的房子已经买下了，尽管不大，但也够用，可以栖身。到那边去买房主要是出于为儿子上学的考虑，正好赶上低价，何乐不为？<br />
两边的落差也正好让我赶上了：这边正是疯狂购买的时候，本人点头之后就是坐等交易完成了，什么都不用管，呵呵。那边房市也正好低落，不少还不起贷款的房主都着急出手，看不少房子，手续费等等都是对方出，也是坐享交易之利。<br />
我前面说过，未必是最佳选择，但是是一种经验吧。<br />
这过程里有很多感慨，自己社会经验的判断、孩子的教育问题。家庭今后的走向，在这个过程中都尽显出来。就算给各位一个小TIPS吧，没有误导的意思。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/d827df00162b1c10.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/d827df00162b1c10_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 d827df00162b1c10 thumb" /></a></p>
<p>尽管我卖了这儿的房子，但毕竟大半辈子在这过的，还是有感情，也希望咱这地界儿更好一些，其实不用触动根本的东西，也能有所改善，比如：昨晚北京下了最大一场雪，刚才我看见院子里武警战士4-5人一排，用铁锹铲雪呢，要说是真辛苦！但按说，花不了几个钱，置办一些手持小巧的除雪机，效率能高很多，人们也方便一些。<br />
再比如：最近老讲垃圾分类，明星广告等等，到处宣传，但很少有实际可行的操作办法，居民自己很难操作。美国的厨房里，洗菜池下面都有一个垃圾粉碎机，菜汤、鱼刺之类的东西都粉碎下去了，出门的都是干松垃圾，纸箱、塑料之类，这样就很好分类了，也不会有汤汤水水的腐烂问题。<br />
社会舆论应该在这方面有所倡导。<br />
还有现在青年一代的能力问题，国内游不少啃老的孩子，在美国比较少。<br />
唉~，扯远了，以后慢慢说吧</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/6cdfa58ad8d3dc04.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/6cdfa58ad8d3dc04_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 6cdfa58ad8d3dc04 thumb" /></a></p>
<p>真心感谢各位的关注！众人拾柴果然火焰高，其实道理也就基本说明了。<br />
适合自己的最重要！<br />
我还是想说，通过这么个经历，悟出了一些平时不太思考的道理，个人情况不同，安排自己的财务支出也许有各自的考虑，买与不买外面的房子自然各有思考。还有些别的收获，通过买房子这事，家庭成员经历了看市场、卖房子、决策、再买房子，一系列的过程，尤其是孩子，几乎自己办的那边的手续，感觉人的思路开阔很多，也许这方面的收获，甚至比享受蓝天白云，人烟稀少更惬意些。（随感而发）</p>
<p>不少朋友问房子里的家具的事，厨房的家具都是固定好的，换句话说，不能移动的都是原配的，包括卫生间、厨房、空调、热水器，里面木器家具、车库铁架，还有装饰，都是自己买的。<br />
美国的家具挺贵的，但11月底到12月正好赶上感恩节和圣诞节打折，儿子在那边利用的业余时间几乎买的都是打了近半折的东西，有几件家具是样品，但保护的很好，清洁后就自己用了。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/ed162df759e61212.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/ed162df759e61212_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 ed162df759e61212 thumb" /></a></p>
<blockquote><p>恭喜你愉快的生活！请问你房子里卫生间和厨房的下水是排到那里的？想了解下美国的环境处理方法 </p></blockquote>
<p>谢谢！我也很关注这个问题，但仔细看了半天，也没看到这些下水流向何方了，没有听到水睡的声音，也没有看到过下水井的盖子。这个房子是4室3卫，应该产生不少废水呢，唯一可能的是门前路边的下水道很宽大，废水从地下到那里面了。路面的设计中间高、旁边低落差很大，雨水豪无障碍的流</p>
<p>垃圾的处理方式也很独特，周一早上5-7点是垃圾车沿路收垃圾的时候，一般周日晚上，各家开始忙活，把2-3个垃圾桶（很大的那种）摆放在自家门前，一个是树叶，一个是可回收垃圾。汤汤水水的厨余垃圾都在自己家被粉碎走下水道了。垃圾车走两趟，分别收可回收和不可回收垃圾，就一个司机操作，自动化装卸</p>
<p>再说说这个房子的细节：<br />
04年建造的房子，买主是个不到40岁的精英，附近邻居也都是孩子2-3岁到5-6岁的中年人，当时房价应该是3-40万，到06年最高时到过58万美元。09年经济危机周后，房主觉得还贷有些问题，不想继续还贷，就被银行收回了。银行对外的报价是28万。<br />
代理人替我们递交了购房申请，据说排在我们前面的2个美国人，报价都比我们高，但因为时至11月底了，银行急于发奖金，就问我们能否全部现金结算，肯定答复后，就把前2个美国购房者给OVER了，12月15日，购房合同生效。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/319de26d0cdeaf04.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/319de26d0cdeaf04_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 319de26d0cdeaf04 thumb" /></a></p>
<p>继续关注房市走向吧，我也觉得会再低迷一段，应该不会太久了。<br />
谁也不能保证自己总是最合适的，大趋势对，就行了。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/9acd6370d6f96f40.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/9acd6370d6f96f40_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 9acd6370d6f96f40 thumb" /></a></p>
<blockquote><p>看照片，应该超不过30万美金 </p></blockquote>
<p>比较准，呵呵。26.5万，<br />
最早考虑买房，只是想买一个15-20万左右的房子，因为近期只有孩子上学，最多有个小朋友，没有别人。过一段价格好些，家人过去也有需求了，再卖掉换个大点的。后来发现，美国人最近买房，盯住这个区间的也比较多，买的人多。这个价格，面积一般是120-160平米之间，建造年限在2000年往前。稍微偏老了一点，因为是第一次置业，又不太懂房子的维修保养。感觉买个新些的房子，维修保养成本会低些，住着也舒服些，就这样，价格就一点点的上来了。<br />
里面的电器和家具控制在3万美元以内，这样，总数就在30万之内了。</p>
<p><a href="http://www.21andy.com/blog/upload/2011/0214/17a58b514f0cba6a.jpg" class="lightbox"><img src="http://www.21andy.com/blog/upload/2011/0214/17a58b514f0cba6a_thumb.jpg" title="卖了北京的房子 26万刀买美国房子" alt="卖了北京的房子 26万刀买美国房子 17a58b514f0cba6a thumb" /></a></p>
<blockquote><p>请问LZ,加州的豪宅跌得凶吗? </p></blockquote>
<p>豪宅没怎么跌，儿子上学的戴维斯比这差的房子也要快40万了，因为是学区房，为了图清净，居民们甚至不允许大型超市在这营业。好地方还是不便宜。</p>
<blockquote><p>如果你这美国的房子出租一个月大概可以租到多少刀呢</p></blockquote>
<p>中介公司的人说，她帮别人租过，租金起价应在3000美元左右</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110214/2004.html/feed</wfw:commentRss>
		<slash:comments>30</slash:comments>
		</item>
		<item>
		<title>日本房地产泡沫的教训</title>
		<link>http://www.21andy.com/blog/20110127/2003.html</link>
		<comments>http://www.21andy.com/blog/20110127/2003.html#comments</comments>
		<pubDate>Wed, 26 Jan 2011 18:45:44 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[文摘]]></category>
		<category><![CDATA[房价]]></category>
		<category><![CDATA[泡沫]]></category>

		<guid isPermaLink="false">http://www.21andy.com/blog/?p=2003</guid>
		<description><![CDATA[上个世纪90年，日本高房价泡沫代破灭后，迎来20年的经济低速发展。 原15亿日元的房子跌到2亿日元。 1985年 - 1988年，东京的商业用地价格指数涨两倍 80年代末，日本的土地财富已经占到国家财富总额的约70% (美国仅占25%) 1989年，日本国土面积仅为美国4%，但日本地价市值相当于整个美国地价总额的4倍 1990年，仅东京都的地价就相当于美国全国的总地价 1991年，东京、大阪、京都等大城市的房地产价格下降了15%～20% 1993年，日本房地产泡沫全面崩溃 2000年3月，东京圈平均地价已从1990年的3月峰值下滑58.9%，商业用地平均地价跌落了71.4% 日本政府总结泡沫经济惨痛教训的《经济白皮书（1993）》，将泡沫经济肆虐的10年称之为“失去的10年”。白皮书沉痛地总结说：“泡沫经济有害无益，土地等价格暴涨暴跌对实体经济的长远发展留下了巨大的‘负遗产’。”]]></description>
			<content:encoded><![CDATA[<p>上个世纪90年，日本高房价泡沫代破灭后，迎来20年的经济低速发展。</p>
<p>原15亿日元的房子跌到2亿日元。</p>
<p>1985年 - 1988年，东京的商业用地价格指数涨两倍<br />
80年代末，日本的土地财富已经占到国家财富总额的约70% (美国仅占25%)<br />
1989年，日本国土面积仅为美国4%，但日本地价市值相当于整个美国地价总额的4倍<br />
1990年，仅东京都的地价就相当于美国全国的总地价</p>
<p>1991年，东京、大阪、京都等大城市的房地产价格下降了15%～20%<br />
1993年，日本房地产泡沫全面崩溃<br />
2000年3月，东京圈平均地价已从1990年的3月峰值下滑58.9%，商业用地平均地价跌落了71.4%</p>
<p>日本政府总结泡沫经济惨痛教训的《经济白皮书（1993）》，将泡沫经济肆虐的10年称之为“失去的10年”。白皮书沉痛地总结说：“泡沫经济有害无益，土地等价格暴涨暴跌对实体经济的长远发展留下了巨大的‘负遗产’。”</p>
]]></content:encoded>
			<wfw:commentRss>http://www.21andy.com/blog/20110127/2003.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss><!-- Dynamic page generated in 0.310 seconds. --><!-- Cached page generated by WP-Super-Cache on 2012-05-27 05:13:40 --><!-- Compression = gzip -->

