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

<channel>
	<title>阿維雜記本 (Wei&#039;s Blog)</title>
	<atom:link href="https://blog.hsdn.net/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.hsdn.net</link>
	<description></description>
	<lastBuildDate>Tue, 06 Oct 2015 13:15:12 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Marshmallow Now on Tap</title>
		<link>https://blog.hsdn.net/1704.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 06 Oct 2015 13:15:12 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<category><![CDATA[Now on Tap]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1704</guid>

					<description><![CDATA[Marshmallow Now on Tap   ]]></description>
										<content:encoded><![CDATA[<p>Marshmallow Now on Tap</p>
<p><img fetchpriority="high" decoding="async" class="alignnone size-medium wp-image-1706" src="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap_active-225x300.png" alt="Marshmallow Now on Tap active" width="225" height="300" srcset="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap_active-225x300.png 225w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap_active-113x150.png 113w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap_active-768x1024.png 768w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap_active.png 1536w" sizes="(max-width: 225px) 100vw, 225px" />  <img decoding="async" class="alignnone size-medium wp-image-1705" src="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap-225x300.png" alt="Marshmallow Now on Tap" width="225" height="300" srcset="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap-225x300.png 225w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap-113x150.png 113w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap-900x1200.png 900w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_Now_on_Tap.png 1536w" sizes="(max-width: 225px) 100vw, 225px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Marshmallow at Nexus 9</title>
		<link>https://blog.hsdn.net/1702.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 06 Oct 2015 13:12:42 +0000</pubDate>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[andorid]]></category>
		<category><![CDATA[Marshmallow]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1702</guid>

					<description><![CDATA[Marshmallow at Nexus 9 資訊頁面多了一個Android security patch l [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Marshmallow at Nexus 9 資訊頁面多了一個Android security patch level，也可能以前就有，只是沒有注意到<br />
<img decoding="async" class="alignnone size-medium wp-image-1703" src="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_at_Nexus9-225x300.png" alt="Marshmallow at Nexus9" width="225" height="300" srcset="https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_at_Nexus9-225x300.png 225w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_at_Nexus9-900x1200.png 900w, https://blog.hsdn.net/wp-content/uploads/2015/10/Marshmallow_at_Nexus9.png 1536w" sizes="(max-width: 225px) 100vw, 225px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>如何快速知道S3 bucket的大小</title>
		<link>https://blog.hsdn.net/1700.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Sat, 26 Sep 2015 13:50:55 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[S3]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1700</guid>

					<description><![CDATA[只需要執行以下的指令，就可以知道特定S3 bucket的容量大小和裡面的檔案數量]]></description>
										<content:encoded><![CDATA[<p>只需要執行以下的指令，就可以知道特定S3 bucket的容量大小和裡面的檔案數量</p>
<pre class="brush: php; title: ; notranslate">aws s3api list-objects --bucket BUCKETNAME --output json --query &quot;&#x5B;sum(Contents&#x5B;].Size), length(Contents&#x5B;])]&quot;</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>解決MariaDB備份出現FLUSH CHANGED_PAGE_BITMAPS錯誤的方法</title>
		<link>https://blog.hsdn.net/1694.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Mon, 04 May 2015 06:39:38 +0000</pubDate>
				<category><![CDATA[裝機紀錄]]></category>
		<category><![CDATA[FLUSH CHANGED_PAGE_BITMAPS]]></category>
		<category><![CDATA[innobackup]]></category>
		<category><![CDATA[mariadb]]></category>
		<category><![CDATA[xtrackup]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1694</guid>

					<description><![CDATA[xtrabackup升級到2.2.10版之後，原本正常運作的備份出現了FLUSH CHANGED_PAGE_B [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>xtrabackup升級到2.2.10版之後，原本正常運作的備份出現了FLUSH CHANGED_PAGE_BITMAPS的錯誤，並且導致備份無法成功。</p>
<p>解決的方法很簡單，只需要在原本的備份語法中加入</p>
<pre class="brush: php; title: ; notranslate">
 --incremental-force-scan
</pre>
<p>這樣就可以順利執行備份了</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>facebook unseen擴充功能含有惡意軟體</title>
		<link>https://blog.hsdn.net/1692.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Sun, 03 May 2015 11:15:44 +0000</pubDate>
				<category><![CDATA[資訊安全]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[unseen]]></category>
		<category><![CDATA[惡意程式]]></category>
		<category><![CDATA[惡意軟體]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1692</guid>

					<description><![CDATA[facebook unseen這個瀏覽器擴充套件雖然可以達到隱藏facebook訊息已讀和不讓對方知道自己正在 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>facebook unseen這個瀏覽器擴充套件雖然可以達到隱藏facebook訊息已讀和不讓對方知道自己正在輸入的功能。但是安裝之後，每次打開瀏覽器會自動開啟http://devunity.org這個網站。</p>
<p>建議大家不要安裝這個擴充套件</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Cydia APP STORE REDIRECT的解決方法</title>
		<link>https://blog.hsdn.net/1688.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Mon, 29 Dec 2014 05:45:33 +0000</pubDate>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[手機相關]]></category>
		<category><![CDATA[Cydia]]></category>
		<category><![CDATA[iOS8.1]]></category>
		<category><![CDATA[JB]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1688</guid>

					<description><![CDATA[iOS 8使用Cydia時，有時候會遇到跳出APP_STORE_REDIRECT的警告視窗，google之後， [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>iOS 8使用Cydia時，有時候會遇到跳出APP_STORE_REDIRECT的警告視窗，google之後，發現是BigBoss這個源的問題。<br />
使用iFile開啟/etc/hosts這個檔案，然後將下面的內容貼上保存後就可以解決這個問題。</p>
<pre class="brush: bash; title: ; notranslate">
127.0.0.1	a.adorika.net
127.0.0.1	a.ad-sys.com
127.0.0.1	ads.glispa.com
127.0.0.1	c.gltrkk.net
127.0.0.1	hastrk3.com
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>VAT number verify</title>
		<link>https://blog.hsdn.net/1687.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Mon, 29 Dec 2014 05:31:23 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[程式相關]]></category>
		<category><![CDATA[VAT]]></category>
		<category><![CDATA[verify]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1687</guid>

					<description><![CDATA[驗證VAT號碼是否有效的簡易小程式 function checkVAT($vatNumber) { $_vat [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>驗證VAT號碼是否有效的簡易小程式</p>
<pre class="brush: php; title: ; notranslate">
function checkVAT($vatNumber) {
    $_vatCountry = strtoupper(substr($vatNumber, 0, 2));
    $_vatNumber  = substr($vatNumber, 2);

    $client = new SoapClient(&quot;http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl&quot;);
    $checkRes = $client-&gt;checkVat(array(
			'countryCode' =&gt; $_vatCountry,
			'vatNumber' =&gt; $_vatNumber
    ));

    return $checkRes;
}
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>請不要再使用isleaked.com檢查自己的Gmail了</title>
		<link>https://blog.hsdn.net/1678.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Thu, 11 Sep 2014 15:21:34 +0000</pubDate>
				<category><![CDATA[資訊安全]]></category>
		<category><![CDATA[阿維看世界]]></category>
		<category><![CDATA[Gmail]]></category>
		<category><![CDATA[isleaked.com]]></category>
		<category><![CDATA[資安]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1678</guid>

					<description><![CDATA[今天看到一則不負責任的文章： 全球 493 萬 Gmail 賬密遭洩，輸入你的 Email 就知道是不是「受駭 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>今天看到一則不負責任的文章： <a href="http://techorange.com/2014/09/11/gmail-hacked/" target="_blank">全球 493 萬 Gmail 賬密遭洩，輸入你的 Email 就知道是不是「受駭者」！</a> 做為一個這麼多人閱讀的資訊網站，沒有做到資訊檢查的前置作業，就將這樣的文章發表出來，不知道會造成多少人受害?</p>
<p>為什麼這樣說呢? Gmail爆發帳戶的密碼外洩事件，是在<span style="color: red;">台灣的2014年9月11日凌晨</span>，而isleaked.com這個<span style="color: red;">網域的註冊時間是在2014年9月8日</span>，<span style="color: red;">網站的SSL申請日期是在2014年的9月10日</span>。有沒有這麼剛好? 這個網站難道未卜先知，知道Gmail即將爆發帳戶密碼外洩的資安事件，所以在資安事件爆發前就架設好提供給大家查詢 (迷之音：順便蒐集大家的email)</p>
<p>不是杞人憂天，而是真的對於一個資訊網站對於資訊內容沒有做好檢查，就這樣散播出來，對於一般使用者來說，可以說是一項很不負責任的行為</p>
[ssbluelist]
<ul>
<li>isleaked.com 網域註冊資料：http://www.whois.com/whois/isleaked.com</li>
<li>isleaked.com 的SSL資訊：</li>
<li><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1679" src="https://blog.hsdn.net/wp-content/uploads/2014/09/ssl.png" alt="isleaked.com SSL" width="419" height="486" srcset="https://blog.hsdn.net/wp-content/uploads/2014/09/ssl.png 419w, https://blog.hsdn.net/wp-content/uploads/2014/09/ssl-129x150.png 129w, https://blog.hsdn.net/wp-content/uploads/2014/09/ssl-258x300.png 258w" sizes="(max-width: 419px) 100vw, 419px" /></li>
</ul>
[/ssbluelist]
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>iPhone 6 和 iPhone 6 Plus該選那支?</title>
		<link>https://blog.hsdn.net/1675.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Wed, 10 Sep 2014 12:31:41 +0000</pubDate>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[手機相關]]></category>
		<category><![CDATA[iPhone 6]]></category>
		<category><![CDATA[iPhone 6 Plus]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1675</guid>

					<description><![CDATA[先來看看從iPhone 4 到 iPhone 6 Plus的手機重量 iPhone 4: 137公克 iPho [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>先來看看從iPhone 4 到 iPhone 6 Plus的手機重量<br />
iPhone 4: 137公克<br />
iPhone 5: 112公克<br />
iPhone 5S: 112公克<br />
iPhone 6: 129公克<br />
iPhone 6 Plus: 172公克</p>
<p>拿過iPhone 4和iPhone 5會覺得iPhone 4好重，同理如果換成iPhone 6 Plus那應該會感覺到手機又大又笨重</p>
<p>接下來我們來比對各手機和 iPhone 5的重量比<br />
iPhone 4 和 iPhone 5的重量差: 25公克<br />
iPhone 6 和 iPhone 5的重量差: 17公克<br />
iPhone 6 Plus 和 iPhone 5的重量差: 60公克</p>
<p>對比 iPhone 4 和 iPhone 5的重量差是2.4倍，如果真的要我選，我會選擇 iPhone 6，不會選擇 iPhone 6 Plus，真的是重死了!</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>使用Shell Script自動建立AWS AMI Image備份</title>
		<link>https://blog.hsdn.net/1670.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Mon, 28 Jul 2014 15:32:14 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[AMI]]></category>
		<category><![CDATA[ec2-delete-snapshot]]></category>
		<category><![CDATA[ec2-deregister]]></category>
		<category><![CDATA[ec2-describe-images]]></category>
		<category><![CDATA[ec2-describe-snapshots]]></category>
		<category><![CDATA[shell script]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1670</guid>

					<description><![CDATA[[okbox]我已經將這個shell script放上github，方便維護與更新 https://githu [&#8230;]]]></description>
										<content:encoded><![CDATA[[okbox]我已經將這個shell script放上github，方便維護與更新 <a href="https://github.com/henrychen95/AWS-AMI-Auto-Backup" title="https://github.com/henrychen95/AWS-AMI-Auto-Backup" target="_blank">https://github.com/henrychen95/AWS-AMI-Auto-Backup</a> [/okbox]
使用AWS的時候，建立AMI Image算是一個不錯的備份方式，下面我分享使用AWS內建的指令來進行備份</p>
<h3>必備條件</h3>
[ssbluelist]
<ul>
<li>必須安裝AWS tools，可以使用 yum install aws* 來進行安裝所有需要的套件。</li>
<li>請確認你的AWS tools路徑，預設會是在/opt/aws/bin，如果你的路徑不相同，請修改Shell Script的第二行。</li>
<li>請確認你的EC2_HOME路徑，可以使用 env | grep EC2_HOME 來確認。</li>
<li>請確認你的JAVA_HOME路徑，可以使用 env | grep JAVA_HOME 來確認。</li>
<li>請建立適當權限的IAM Role，並且在啟動instance的時候加入IAM Role。如果你對於IAM Role不熟悉，可以建立admin IAM Role來快速使用。</li>
</ul>
[/ssbluelist]
<h3>這個Shell Script可以設定以下變數</h3>
[ssbluelist]
<ul>
<li>region: 填入要備份的region</li>
<li>instanceID: 填入要備份的instance</li>
<li>amiNamePrefix: 填入你希望使用的AMI名稱</li>
<li>amiDescription: 填入你希望使用的AMI描述</li>
<li>routine: 如果設定為true，那麼會在amiNamePrefix後面加上Mon, Tue&#8230;這樣的文字來當作AMI名稱，並且會保留7天的備份</li>
</ul>
[/ssbluelist]
[ideabox]這個shell script會刪除舊的AMI和snapshot來節省空間[/ideabox]
<pre class="brush: bash; title: ; notranslate">
#!/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin

# Please use env | grep EC2_HOME to find out your system's setting
EC2_HOME=/opt/aws/apitools/ec2

# Please use env | grep JAVA_HOME to find out your system's setting
JAVA_HOME=/usr/lib/jvm/jre

export EC2_HOME JAVA_HOME

# Regions reference: http://docs.aws.amazon.com/general/latest/gr/rande.html
region=&quot;ap-northeast-1&quot;

# You can find your instance ID at AWS Manage Console
instanceID=&quot;YOUR-INSTANCE-ID&quot;

# Your prefer AMI Name prefix
amiNamePrefix=&quot;AMI_&quot;

# Your prefer AMI Description
amiDescription=&quot;Daily AMI backup&quot;

# If you want to keep 7 days AMI backups, please set routine true otherwise set it false
routine=true

# Variable for routine is true
weekday=$(date +%a)

if &#x5B; $routine = true ]; then
    # Setup AMI Name
    amiName=$amiNamePrefix$weekday

    # Get AMI ID
    amiIDs=$(ec2-describe-images --region $region | grep 'ami-&#x5B;a-z0-9]' | grep &quot;$amiName&quot; |cut -f 2)

    # Get Snapshot ID
    if &#x5B;&#x5B; ! -z $amiIDs ]]; then
        snapshotIDs=$(ec2-describe-snapshots --region $region | grep $amiIDs | cut -f 2)
    fi
else
    # Setup AMI Name
    amiName=$amiNamePrefix

    # Get AMI ID
    amiIDs=$(ec2-describe-images --region $region | grep 'ami-&#x5B;a-z0-9]' | cut -f 2)

    # Get Snapshot ID
    if &#x5B;&#x5B; ! -z $amiIDs ]]; then
        snapshotIDs=$(ec2-describe-snapshots --region $region | cut -f 2)
    fi
fi

if &#x5B;&#x5B; ! -z $amiIDs ]]; then
    # Deregister AMI
    for amiID in $amiIDs
    do
        ec2-deregister --region $region $amiID
    done

    # Delete snapshot
    for snapshotID in $snapshotIDs
    do
        ec2-delete-snapshot --region $region $snapshotID
    done
fi

# Create AMI
ec2-create-image $instanceID --region $region --name &quot;$amiName&quot; -d &quot;$amiDescription&quot; --no-reboot
</pre>
[ssbluelist]
<ul>
<li>我們可以把這個shell script存成/root/createAMI.sh</li>
<li>然後執行 chmod 755 /root/createAMI.sh</li>
<li>接著新增一筆排程，就可以自動進行AMI的備份</li>
</ul>
[/ssbluelist]
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>中華民國財政部IPv6網路架構的錯誤示範</title>
		<link>https://blog.hsdn.net/1667.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 06 May 2014 16:02:23 +0000</pubDate>
				<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[財政部]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1667</guid>

					<description><![CDATA[財政部負責網路的人要被打屁股了，想要把部會的網站加上IPv6的解析，卻忘記IPv4依然要保存，不然以目前還是I [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>財政部負責網路的人要被打屁股了，想要把部會的網站加上IPv6的解析，卻忘記IPv4依然要保存，不然以目前還是IPv4為主的廣大使用者，肯定是找不到財政部的網站</p>
<p><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/05/mof_ipv6.jpg" alt="中華民國財政部 IPv6" width="570" height="447" class="alignnone size-full wp-image-1668" srcset="https://blog.hsdn.net/wp-content/uploads/2014/05/mof_ipv6.jpg 570w, https://blog.hsdn.net/wp-content/uploads/2014/05/mof_ipv6-150x117.jpg 150w, https://blog.hsdn.net/wp-content/uploads/2014/05/mof_ipv6-300x235.jpg 300w" sizes="(max-width: 570px) 100vw, 570px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>MySQL使用AWS SSD效能測試</title>
		<link>https://blog.hsdn.net/1665.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Wed, 23 Apr 2014 14:12:00 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[效能測試]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1665</guid>

					<description><![CDATA[AWS某些instance有提供SSD，下面是使用m3.medium，並且將MySQL安裝在SSD上面的測試數 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>AWS某些instance有提供SSD，下面是使用m3.medium，並且將MySQL安裝在SSD上面的測試數據</p>
<pre class="brush: bash; title: ; notranslate">
&#x5B;root@ip-172-31-17-67 ssd]# time sysbench --test=oltp --mysql-table-engine=innodb --mysql-user=$dbUser --mysql-password=$dbPassword --db-driver=mysql --mysql-db=test --oltp-table-size=1000000 --oltp-table-name=t1 --oltp-nontrx-mode=insert --mysql-socket=/mnt/ssd/mysql/mysql.sock run
sysbench 0.4.12: multi-threaded system evaluation benchmark

Running the test with following options:
Number of threads: 1

Doing OLTP test.
Running mixed OLTP test
Using Special distribution (12 iterations, 1 pct of values are returned in 75 pct cases)
Using &quot;BEGIN&quot; for starting transactions
Using auto_inc on the id column
Maximum number of requests for OLTP test is limited to 10000
Threads started!
Done.

OLTP test statistics:
queries performed:
read: 140000
write: 50000
other: 20000
total: 210000
transactions: 10000 (169.49 per sec.)
deadlocks: 0 (0.00 per sec.)
read/write requests: 190000 (3220.29 per sec.)
other operations: 20000 (338.98 per sec.)

Test execution summary:
total time: 59.0009s
total number of events: 10000
total time taken by event execution: 58.8980
per-request statistics:
min: 2.65ms
avg: 5.89ms
max: 111.90ms
approx. 95 percentile: 15.02ms

Threads fairness:
events (avg/stddev): 10000.0000/0.00
execution time (avg/stddev): 58.8980/0.00

real 0m59.107s
user 0m4.027s
sys 0m9.246s</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>測試ifttt是否能夠將文章的特色圖片發送到twitter</title>
		<link>https://blog.hsdn.net/1662.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Sun, 20 Apr 2014 15:41:23 +0000</pubDate>
				<category><![CDATA[測試用文章]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1662</guid>

					<description><![CDATA[測試ifttt是否能夠將文章的特色圖片發送到twitter]]></description>
										<content:encoded><![CDATA[<p>測試ifttt是否能夠將文章的特色圖片發送到twitter</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>讓WordPress輸出的RSS支援特色圖片</title>
		<link>https://blog.hsdn.net/1660.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Sun, 20 Apr 2014 14:32:50 +0000</pubDate>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[程式相關]]></category>
		<category><![CDATA[feature image]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[特色圖片]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1660</guid>

					<description><![CDATA[現在大家常常使用feedly或者是flipboard來看網站的內容，而通常有圖片的內容會比較吸引大家進去看。雖 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>現在大家常常使用feedly或者是flipboard來看網站的內容，而通常有圖片的內容會比較吸引大家進去看。雖然wordpress有提供特色圖片這個功能，但是在輸出rss的時候，卻沒有加入特色圖片的支援，造成在feedly或者是flipboard的顯示時都不會有圖片顯示。</p>
<p>要解決這個問題只需要安裝<a href="https://wordpress.org/plugins/featured-images-for-rss-feeds/" target="_blank">Featured Images in RSS w/ Size and Position</a>這個plugin就可以解決，但是另外一個問題來了，安裝這個外掛之後，文章的內容會被加入一張wordpress的特色圖片小圖，造成內容裡面的圖片重覆，我個人是不太喜歡這樣的輸出，因此我在這個plugin加入了以下幾行程式，同時也有將這個功能提交給作者，或許有機會可以被加入這個外掛的功能中 (<a href="http://wordpress.org/support/topic/remove-default-small-image?replies=1" target="_blank">Remove default small image</a>)</p>
<pre class="brush: php; title: ; notranslate">
// 修改 wp-content/plugins/featured-images-for-rss-feeds/featured_images_in_rss.php這支程式
// 找到function featured_images_in_rss($content)這個function
// 在第42行下面，加入下面的程式
// remove default small image
$pattern = '/&lt;div&gt;&lt;img width=&quot;150&quot;+.+div&gt;/';
$replace = &quot;&quot;;
$content = preg_replace($pattern, $replace, $content);
</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google I/O 2014報名結束，21日開獎</title>
		<link>https://blog.hsdn.net/1658.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Fri, 18 Apr 2014 22:01:59 +0000</pubDate>
				<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[Google I/O]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1658</guid>

					<description><![CDATA[Google I/O 2014報名結束，根據官方的說法21日的時候請檢查自己的信箱，就知道自己是不是有機會參加 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Google I/O 2014報名結束，根據官方的說法21日的時候請檢查自己的信箱，就知道自己是不是有機會參加今年的Google I/O<br />
<img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/google-io-2014.png" alt="google-io-2014" width="354" height="334" class="alignnone size-full wp-image-1659" srcset="https://blog.hsdn.net/wp-content/uploads/2014/04/google-io-2014.png 354w, https://blog.hsdn.net/wp-content/uploads/2014/04/google-io-2014-300x283.png 300w" sizes="(max-width: 354px) 100vw, 354px" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AWS推出30天免費雲端資安軟體試用，加碼送$1050 Credit大獎</title>
		<link>https://blog.hsdn.net/1654.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Thu, 17 Apr 2014 20:19:14 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[雲端資安]]></category>
		<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[AWS Credit]]></category>
		<category><![CDATA[免費試用]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1654</guid>

					<description><![CDATA[AWS推出30天免費雲端資安軟體試用，總共有六項雲端資安產品可以試用，相關資訊網址在Security Soft [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/Security-Free-Trial-banner-and-landing-page_Banner_Final_02_04-10-2014.jpg" alt="Security-Free-Trial-banner-and-landing-page_Banner_Final_02_04-10-2014" width="600" height="261" class="alignnone size-full wp-image-1655" /></p>
<p><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/awscloud.png" alt="awscloud" width="588" height="93" class="alignnone size-full wp-image-1657" srcset="https://blog.hsdn.net/wp-content/uploads/2014/04/awscloud.png 588w, https://blog.hsdn.net/wp-content/uploads/2014/04/awscloud-300x47.png 300w" sizes="(max-width: 588px) 100vw, 588px" /></p>
<p>AWS推出30天免費雲端資安軟體試用，總共有六項雲端資安產品可以試用，相關資訊網址在<a href="https://aws.amazon.com/marketplace/cp/SecurityFreeTrial/" target="_blank">Security Software Free Trials</a>，這裡幫大家整理一下這次試用的重點</p>
<h3>活動內容</h3>
[ssbluelist]
<ul>
<li>活動期間: 2014年4月15日到2014年5月15日</li>
<li>活動期間可以免費使用活動頁面上的六款雲端資安軟體</li>
</ul>
[/ssbluelist]
<h3>活動加碼內容與限制條件</h3>
[ssbluelist]
<ul>
<li>2014年4月15日到2014年6月14日，每項試用軟體試用滿120小時，可以獲得美金175的credit，每人最多可以獲得美金1050的credit($175&#215;6)</li>
<li>必須透過AWS Marketplace安裝活動的六款雲端資安軟體，並且在這次活動之前沒有安裝使用過這六項產品，也沒有參與過這六項產品的免費試用活動</li>
<li>活動期間帳戶的信用卡必須是有效的</li>
<li>當收到credit之後，必須在2014年7月31日兌換，並且不論是否有剩餘的餘額，此次活動的credit會在2014年10月31日失效歸零</li>
<li>參與這次免費雲端資安軟體試用所衍生出的AWS服務費用，依然必須支付，免費的項目僅限於活動指定的六款雲端資安軟體費用</li>
<li>參與活動所收到的credit只能用於<a href="http://aws.amazon.com/awscredits/" target="_blank">http://aws.amazon.com/awscredits/</a>這個頁面上所列的服務</ul>
</ul>
[/ssbluelist]
[warningbox]本文章內容若與活動網站 <a href="https://aws.amazon.com/marketplace/cp/SecurityFreeTrial/" target="_blank">Security Software Free Trials</a> 有出入，一切以活動網站為主。僅提供部分活動內容的中文翻譯，衍生的相關費用，與本人無關。 [/warningbox]
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>AWS typo or new t1.micro super powerful spec?</title>
		<link>https://blog.hsdn.net/1652.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Wed, 16 Apr 2014 02:34:53 +0000</pubDate>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[電腦網路]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1652</guid>

					<description><![CDATA[難得看到的AWS錯誤，AWS的t1.micro規格變得爆威，r3.large都快要被巴假的了 (應該是資料誤植 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>難得看到的AWS錯誤，AWS的t1.micro規格變得爆威，r3.large都快要被巴假的了 (應該是資料誤植)，不知道政府會不會要AWS出來說明??</p>
<p><a href="https://blog.hsdn.net/wp-content/uploads/2014/04/micro.png" target="_blank"><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/micro.png" alt="AWS typo or new t1.micro super powerful spec" width="600" height="426" class="alignnone size-full wp-image-1653" srcset="https://blog.hsdn.net/wp-content/uploads/2014/04/micro.png 845w, https://blog.hsdn.net/wp-content/uploads/2014/04/micro-300x213.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google I/O 2014 報名時間</title>
		<link>https://blog.hsdn.net/1649.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 15 Apr 2014 17:23:08 +0000</pubDate>
				<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[Google I/O]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1649</guid>

					<description><![CDATA[官方的報名時間為 2014年4月15日下午4點(PDT) ~ 2014年4月18下午2點(PDT) 換算成台灣 [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>官方的報名時間為<br />
2014年4月15日下午4點(PDT) ~ 2014年4月18下午2點(PDT)</h2>
<h2>換算成台灣的時間為<br />
<font color='red'>2014年4月16日早上7點 ~ 2014年4月19日早上5點</font></h2>
<h2><a href="https://www.google.com/events/io/registration/gateway/openreg.html" target="_blank">Google I/O 2014 報名網址</a></h2>
<p><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/ioreg.png" alt="Google I/O 2014 報名時間" width="346" height="263" class="alignnone size-full wp-image-1650" srcset="https://blog.hsdn.net/wp-content/uploads/2014/04/ioreg.png 346w, https://blog.hsdn.net/wp-content/uploads/2014/04/ioreg-300x228.png 300w" sizes="(max-width: 346px) 100vw, 346px" /></p>
<p>因為今年的報名方式改變，改成先報名，然後抽籤決定，所以大家不用守在電腦前面搶門票，悠閒的報名，然後把一切都交給命運就好。<br />
<a href="https://www.google.com/events/io/help#!/registration" target="_blank">Google I/O 2014 Registration</a></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>$500 Google Cloud Platform Credit</title>
		<link>https://blog.hsdn.net/1647.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 15 Apr 2014 14:24:20 +0000</pubDate>
				<category><![CDATA[GCE]]></category>
		<category><![CDATA[GCP]]></category>
		<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Google Cloud Platform]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1647</guid>

					<description><![CDATA[今天參加Google Cloud Platform結束之後有贈送美金500元的credit，照去年的經驗，pr [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>今天參加Google Cloud Platform結束之後有贈送美金500元的credit，照去年的經驗，promo code應該都是一樣的。</p>
<p>申請的網址是 <a href="https://cloud.google.com/developers/starterpack/" target="_blank">https://cloud.google.com/developers/starterpack/</a><br />
Promo Code: <font color='red'>gcpteam-in</font><br />
想要測試Google Cloud Platform的朋友可以用這組Promo Code去申請試用</p>
<p><img loading="lazy" decoding="async" src="https://blog.hsdn.net/wp-content/uploads/2014/04/IMG_4148-1024x768.jpg" alt="500 Google Cloud Platform Credit" width="605" height="468" class="alignnone size-large wp-image-1648" /></p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Google Cloud Platform現在也開始提供亞太區節點</title>
		<link>https://blog.hsdn.net/1645.html</link>
		
		<dc:creator><![CDATA[阿維]]></dc:creator>
		<pubDate>Tue, 15 Apr 2014 05:56:18 +0000</pubDate>
				<category><![CDATA[GCE]]></category>
		<category><![CDATA[裝機紀錄]]></category>
		<category><![CDATA[雲端運算]]></category>
		<category><![CDATA[電腦網路]]></category>
		<category><![CDATA[Google Cloud Platform]]></category>
		<guid isPermaLink="false">https://blog.hsdn.net/?p=1645</guid>

					<description><![CDATA[看到Google Cloud Platform expands to Asia Pacific這則訊息之後，立 [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>看到<a href="http://googlecloudplatform.blogspot.tw/2014/04/google-cloud-platform-expands-to-asia-pacific.html" target="_blank">Google Cloud Platform expands to Asia Pacific</a>這則訊息之後，立刻打開GCE，果然現在instance的Zone也有亞太區可以選擇了，相信對於亞太地區的使用者，在連線的速度上會快上許多，同時GCE跟AWS的戰況也越來越激烈了。</p>
<p><a href="https://blog.hsdn.net/wp-content/uploads/2014/04/gce_asia.png"><img loading="lazy" decoding="async" class="alignnone size-full wp-image-1646" alt="Google Cloud Platform expands to Asia Pacific" src="https://blog.hsdn.net/wp-content/uploads/2014/04/gce_asia.png" width="612" height="729" /></a></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>

<!-- Comet Cache is NOT caching this page, because `$_SERVER[&#039;REQUEST_URI&#039;]` indicates this is a `/feed`; and the configuration of this site says not to cache XML-based feeds. -->