<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Blog</title>
	<atom:link href="http://nldnhy.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://nldnhy.wordpress.com</link>
	<description>My Blog</description>
	<lastBuildDate>Wed, 21 Apr 2010 09:59:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='nldnhy.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Blog</title>
		<link>http://nldnhy.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://nldnhy.wordpress.com/osd.xml" title="My Blog" />
	<atom:link rel='hub' href='http://nldnhy.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Try to understand .htaccess file in default symfony 1.4 project</title>
		<link>http://nldnhy.wordpress.com/2010/04/21/try-to-understand-htaccess-file-in-default-symfony-1-4-project/</link>
		<comments>http://nldnhy.wordpress.com/2010/04/21/try-to-understand-htaccess-file-in-default-symfony-1-4-project/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 09:29:04 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=281</guid>
		<description><![CDATA[<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=281&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><pre class="brush: plain;">
Options +FollowSymLinks +ExecCGI

  RewriteEngine On                      # &lt;-- switch the rewrite engine on

  # uncomment the following line, if you are having trouble
  # getting no_script_name to work
  #RewriteBase /                        #  The resource requested in the HTTP request line, eg: &quot;/index.html&quot;

  # we skip all files with .something
  #RewriteCond %{REQUEST_URI} \..+$     # &lt;-- if uri match  'dot &quot;something&quot;' at the end of string
  #RewriteCond %{REQUEST_URI} !\.html$  # &lt;-- and if uri does not match 'dot &amp;quot;html&amp;quot;' at the end of string
  #RewriteRule .* - [L]                 # &lt;-- rule: don't substitute any thing; this is the last rule, don't run any other rule

  # we check if the .html version is here (caching)
  RewriteRule ^$ index.html [QSA]       #  append to the URL instead of replacing it
  RewriteRule ^([^.]+)$ $1.html [QSA]   #  append to the URL instead of replacing it
                                        # %{REQUEST_FILENAME} -&gt; The full local filesystem path to the file or script matching the request
  RewriteCond %{REQUEST_FILENAME} !-f   # &lt;-- if the local file does not exist

  # no, so we redirect to our front web controller
  RewriteRule ^(.*)$ index.php [QSA,L]  #  append to the URL instead of replacing it; this is the last rule, don't run any other rule
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/281/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=281&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2010/04/21/try-to-understand-htaccess-file-in-default-symfony-1-4-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>Install HirenBootCD and FreeNas on the same USB stick</title>
		<link>http://nldnhy.wordpress.com/2010/03/19/install-hirenbootcd-and-freenas-on-the-same-usb-stick/</link>
		<comments>http://nldnhy.wordpress.com/2010/03/19/install-hirenbootcd-and-freenas-on-the-same-usb-stick/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 04:20:39 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=275</guid>
		<description><![CDATA[My purpose: - Setup a USB stick to boot my FreeNAS (default) - In the same USB stick, setup HirenBootCD so that I can troubleshoot (esp. in NTFS dics) should things went wrong Note: most of steps below are performed in VirtualBox 3.1.4 run in my MBP Steps: 1. Setup VirtualBox (if not already installed) [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=275&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My purpose:<br />
- Setup a USB stick to boot my FreeNAS (default)<br />
- In the same USB stick, setup HirenBootCD so that I can troubleshoot (esp. in NTFS dics) should things went wrong</p>
<p>Note: most of steps below are performed in VirtualBox 3.1.4 run in my MBP</p>
<p>Steps:<br />
1. Setup VirtualBox (if not already installed)<br />
-&gt; Create a new VM with 128MB, no HDD, and boot from CD<br />
-&gt; Set the USB filter to allow the USB stick to plug into the VM by default</p>
<p>2. Setup HirenBootCD on the usb stick: http://www.hiren.info/pages/bootcd-on-usb-disk<br />
-&gt; Get HirenBootCD.10.2 iso file<br />
-&gt; Mount the iso file to the VM and boot it, go to mini winXP mode<br />
-&gt; Format the USB stick (mine is 2GB)<br />
-&gt; Install Grub4Dos<br />
-&gt; Copy HBCD content and other files to USB<br />
(-&gt; Note that the Grub menu can be modified at this point to prevent the complicated mount command)<br />
-&gt; Shutdown the VM</p>
<p>3. Modify the USB partition and spare space for FreeNAS<br />
-&gt; Get FreeNAS iso file from sourceforge.net<br />
-&gt; Mount FreeNAS iso to the VM and boot it<br />
-&gt; When the boot process done, choose 6  to enter the shell<br />
-&gt; Get the current USB partition table: # fdisk -p /dev/da0 &gt; fdisk.conf<br />
      Should note that the USB stick is now having only 1 partition<br />
-&gt; Modify fdisk.conf to prepare the partition table: # nano fdisk.conf<br />
-&gt; fdisk.conf content could be:<br />
<code><br />
# /dev/da0<br />
# geometry of the usb disk<br />
g c245 h255 s63</p>
<p># resize first partition (0x0c: FAT32) to 2056257 sectors (~1000MB)<br />
p 1 0x0c 63 2056257</p>
<p># set partition 1 active<br />
a 1</p>
<p># create second primary partition (0xa5: freebsd) start at 2056383 (beginning of cylinder) and size is 144522 sectors (~70MB)<br />
p 2 0xa5 2056383 144522<br />
</code><br />
-&gt; Test this partition arrangement on the usb stick: # fdisk -f fdisk.conf -itv /dev/da0<br />
-&gt; Apply this partition arrangement to the usb stick: # fdisk -f fdisk.conf /dev/da0<br />
-&gt; Write FreeNAS embedded image to the partition just created: # gunzip -c /cf/FreeNAS-i386-embedded.gz | sudo dd of=/dev/da0s2 bs=512<br />
-&gt; the command above take a very long time to finish (about 30 mins for my case)</p>
<p>4. Mofify the default grub menu come with HirenBootCD<br />
-&gt; Mount the first partition of USB stick: # mount -t msdosfs /dev/da0s1 /mnt/test    (remember to create folder /mnt/test first)<br />
-&gt; modify menu.lst: # nano /mnt/test/menu.lst<br />
-&gt; add this session anywhere you lile:<br />
<code><br />
title           FreeNAS 7.1.5024<br />
root            (hd0,1)<br />
chainloader     +1<br />
</code></p>
<p>Bravo, we are done! you now can test it</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/275/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/275/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/275/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=275&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2010/03/19/install-hirenbootcd-and-freenas-on-the-same-usb-stick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure PHP5.3, Apache and MySQL on my MBP</title>
		<link>http://nldnhy.wordpress.com/2010/01/12/configure-php5-3-apache-and-mysql-on-my-mbp/</link>
		<comments>http://nldnhy.wordpress.com/2010/01/12/configure-php5-3-apache-and-mysql-on-my-mbp/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 06:53:22 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/2010/01/12/configure-php5-3-apache-and-mysql-on-my-mbp/</guid>
		<description><![CDATA[I followed most of step on this: http://kevchapman.co.uk/development/setting-up-apache-on-snow-leopard/ Below is copy from above steps for archiving purpose only: I’ve upgraded both my Macs to Snow Leopard, and a few things have changed with the built in Apache webserver. As a web developer it’s important for me to have a fully functional development environment so the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=265&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I followed most of step on this: http://kevchapman.co.uk/development/setting-up-apache-on-snow-leopard/</p>
<p>Below is copy from above steps for archiving purpose only:</p>
<div class="post-222 post hentry category-development" id="post-222">
<div class="entry">
<p><img class="border" title="sl-apache" src="http://kevchapman.co.uk/wp-content/uploads/2009/09/sl-apache.jpg" alt="sl-apache" height="298" width="550" /></p>
<p>I’ve upgraded both my Macs to Snow Leopard, and a few things have changed with the built in Apache webserver.</p>
<p>As a web developer it’s important for me to have a fully functional<br />
development environment so the first thing I had to do with the new<br />
install is get Apache set up and running as I need it.</p>
<p>This post shows how to set up <strong>PHP, mySql, Virtual Hosts &amp; .htaccess</strong></p>
<p><span id="more-222"></span></p>
<h3>PHP</h3>
<p>By default PHP is disabled so let’s turn that on.</p>
<p>In the finder navigate to the /etc folder, this houses all the files<br />
we need to configure. This is a hidden system level folder so to access<br />
it press “apple shift G” and type /etc.</p>
<p><img class="alignnone size-full wp-image-232" title="go-to" src="http://kevchapman.co.uk/wp-content/uploads/2009/09/go-to.jpg" alt="go-to" height="141" width="443" /></p>
<p>Find the folder Apache 2 and open httpd.conf</p>
<p>This is the main config file for Apache, I use textMate to edit these files but you can use any text editor.</p>
<p>Go to line #115 and uncomment (remove the starting #) “LoadModule php5_module”</p>
<p>Save the file, you will be asked to enter your password.</p>
<p>After every change you make to the Apache or PHP config files you<br />
will need to restart the webserver. This can be done in the Terminal<br />
with “sudo apachectl graceful” or go to System Preferences and untick<br />
then tick Web Sharing in the Sharing Pane.</p>
<p>Now PHP is running.</p>
<h4>Error Messages when using date() function</h4>
<p>PHP has been upgraded to V5.3 and the Snow Leopard version doesn’t<br />
have a timezone set, this will give you errors when you use the date()<br />
function. To fix this go back to the “/etc” folder and open<br />
“PHP.ini.default”</p>
<p>Go to Line #997 and enter your timezone, here in the UK it’s Europe/London <a href="http://us3.php.net/manual/en/timezones.php" target="_blank">find your timezone</a>.</p>
<p>Remove the semicolon and the line should read “date.timezone = yourtimezone”</p>
<p>Save this file as PHP.ini in the etc folder, restart the webserver and PHP is now all good to go.</p>
<h3>mySQL</h3>
<p>mySQL doesn’t come as standard on OS X so we need to install it<br />
luckily this is nice and easy because we can get a dmg file. I choose<br />
the 64bit version, head over and <a href="http://dev.mysql.com/downloads/mysql/5.1.html" target="_blank">grab it</a> scroll down to “Mac OS X (TAR packages) downloads” and choose “Mac OS X 10.5 (x86_64)”.</p>
<p>Open the dmg and run the installer. I also installed the prefPane,<br />
double click the “MySQL.prefPane” It’s a good idea to use this as you<br />
can use System Preferences to start/stop mySQL.</p>
<h4>Setting the password</h4>
<p>The mySQL install doesn’t set a password so we need to set it.</p>
<p>For this task we need to use the Terminal. Open Terminal located in<br />
the “Applications/Utilities” folder and type<br />
“/usr/local/mysql/bin/mysqladmin -u root password yourpassword” (where<br />
yourpassword is the password you want.) hit enter and the password is<br />
set.</p>
<p><img class="alignnone size-full wp-image-233" title="terminal" src="http://kevchapman.co.uk/wp-content/uploads/2009/09/terminal.jpg" alt="terminal" height="192" width="550" /></p>
<h4>Fixing the PHP socket</h4>
<p>Before we can use mySQL we need to point PHP to the correct place.<br />
Open the PHP.ini file as before and change line #1213 to<br />
mysql.default_socket = /tmp/mysql.sock</p>
<p>Save this file and restart the server.</p>
<h3>phpMyAdmin</h3>
<p>I use phpMyAdmin to manage mySQL. So here’s how to do that.</p>
<p>Head over to the <a href="http://www.phpmyadmin.net/" target="_blank">phpMyAdmin Site</a> and download the latest version.</p>
<p>Unzip the downloaded file and place in either your Sites folder or<br />
the servers root (Library/WebServer/Documents) I use the root as I<br />
class this as a management tool and like to keep my Sites folder for<br />
projects.</p>
<p>This needs configuring too. It does come with a documentation file<br />
so you could go through that and set it up as you like. I keep mine<br />
nice and simple and have it so I don’t need to log in each time.</p>
<p>Open “config.sample.inc.php” and add after “$i++” the lines:</p>
<p><code>$cfg['Servers'][$i]['user'] = 'root';</p>
<p>$cfg['Servers'][$i]['password'] = 'yourpassword';</p>
<p>$cfg['Servers'][$i]['auth_type'] = 'config';</code></p>
<p>Remove the line “$cfg['Servers'][$i]['auth_type'] = ‘cookie’;”</p>
<p>Save this file as config.inc.php.</p>
<p>In a browser go to “http://localhost/phpMyAdmin/” if you moved the<br />
folder to the root as I did or if you placed into your Sites folder go<br />
to “http://localhost/~yourusername/phpMyAdmin”.</p>
<h3>Virtual Hosts</h3>
<p>Open the “httpd.conf” and uncomment line #461 which reads “Include /private/etc/apache2/extra/httpd-vhosts.conf”, then save.</p>
<p>Now open “/etc/apache2/extra/httpd-vhost.conf”</p>
<p>I commented out each VirtualHost block and made my own underneath, You really do need this one:</p>
<p><code>&lt;VirtualHost *:80&gt;</p>
<p>DocumentRoot /Library/WebServer/Documents</p>
<p>ServerName localhost</p>
<p>&lt;/VirtualHost&gt;</code></p>
<p>After this block you can add your own</p>
<p><code>&lt;VirtualHost *:80&gt;</p>
<p>DocumentRoot /Users/youruser/Sites/yoursitefolder</p>
<p>ServerName yoursitesname</p>
<p>&lt;/VirtualHost&gt;</code></p>
<p>You will need to add a new VirtualHost block for each VirtualHost you wish to set up.</p>
<p>Save this file and we’re almost done. Open “/etc/hosts” and add<br />
“127.0.0.1 yoursitename” you will need to add a new line for each<br />
Virtual Host you have set up where “yoursitename” matches the name<br />
chosen name in the VitrualHost block in the previous step.</p>
<p>Save this file and restart the webserver. Now in a browser type the<br />
VirtualHost name and you will see the corresponding site. A link to “/”<br />
within this site will take you to the root of that site as if it was on<br />
a remote server.</p>
<h3>.htaccess</h3>
<p>Open the “httpd.conf” file and change line #210 to read “AllowOverride All”.</p>
<p>Open “/etc/Apache2/Users/youruser.conf”</p>
<p>Change AllowOverride to All</p>
<p>Add a new Directory Block</p>
<p><code>&lt;Directory "/Users/youruser/Sites/*/"&gt;</p>
<p>Options Indexes MultiViews FollowSymLinks</p>
<p>&lt;/Directory&gt;</code></p>
<p>Save and restart the server. Everything should now be all set up and you can use .htaccess and mod_rewrite.</p>
</p></div>
</p></div>
<div class="flockcredit" style="text-align:right;color:#CCC;font-size:x-small;">Blogged with the <a href="http://www.flock.com/blogged-with-flock" style="color:#999;font-weight:bold;" target="_new" title="Flock Browser">Flock Browser</a></div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/265/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/265/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/265/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=265&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2010/01/12/configure-php5-3-apache-and-mysql-on-my-mbp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>

		<media:content url="http://kevchapman.co.uk/wp-content/uploads/2009/09/sl-apache.jpg" medium="image">
			<media:title type="html">sl-apache</media:title>
		</media:content>

		<media:content url="http://kevchapman.co.uk/wp-content/uploads/2009/09/go-to.jpg" medium="image">
			<media:title type="html">go-to</media:title>
		</media:content>

		<media:content url="http://kevchapman.co.uk/wp-content/uploads/2009/09/terminal.jpg" medium="image">
			<media:title type="html">terminal</media:title>
		</media:content>
	</item>
		<item>
		<title>Slideshow module (Gallery 2) hack to let it run in ULink</title>
		<link>http://nldnhy.wordpress.com/2009/11/10/slideshow-module-gallery-2-hack-to-let-it-run-in-ulink/</link>
		<comments>http://nldnhy.wordpress.com/2009/11/10/slideshow-module-gallery-2-hack-to-let-it-run-in-ulink/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 08:00:22 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=146</guid>
		<description><![CDATA[Gallery 2, slideshow module hack to let it run in ULink portal: (Application to: Gallery version = 2.2.2 core 1.2.0.4) - I tried to install Slideshow plugin under the Site Admin &#62; Plugins -&#62; Get more Plugins and download the compactible SlideShow version (1.0.5.1) - Dont know why the slideshow link is not appear in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=146&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Gallery 2, slideshow module hack to let it run in ULink portal:<br />
(Application to: Gallery version = 2.2.2 core 1.2.0.4)</p>
<p>- I tried to install Slideshow plugin under the Site Admin &gt; Plugins -&gt; Get more Plugins and download the compactible SlideShow version (1.0.5.1)<br />
- Dont know why the slideshow link is not appear in the album page. Maybe because it is a integration installation of Gallary into symfony<br />
- Found a manual link as follow: http://domainname.com/gallery?g2_itemId=xxx&amp;g2_view=slideshow.Slideshow<br />
- Try it out. unfortunately it&#8217;s not running properly since there&#8217;s a JS error says that bCanBlend variable is not defined<br />
- Hack the module: copy the JS content in Header.tpl into Slideshow.tpl<br />
 -&gt; it works! ^_^<br />
- But the default image size &amp; timing is &#8230; strange. Found this: http://gallery.menalto.com/node/35992<br />
- Modify the Slideshow.tpl accordingly<br />
 -&gt; it works nicely ^_^</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/146/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/146/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/146/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=146&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/11/10/slideshow-module-gallery-2-hack-to-let-it-run-in-ulink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>Try to setup a &#8220;by-pass&#8221; proxy for iphone use</title>
		<link>http://nldnhy.wordpress.com/2009/10/27/try-to-setup-a-by-pass-proxy-for-iphone-use/</link>
		<comments>http://nldnhy.wordpress.com/2009/10/27/try-to-setup-a-by-pass-proxy-for-iphone-use/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 04:04:51 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[1]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=144</guid>
		<description><![CDATA[Try to setup a &#8220;bypass firewall&#8221; proxy on a PC for iPhone use: - Download the latest version of Privoxy from http://www.privoxy.org/ - Install it on the PC - Edit the main configuration: + Section &#8220;listen-address&#8221; -&#62; Add in &#8220;listen-address :&#8221; + Section &#8220;Debugging&#8221; (for logging purpose) -&#62; Remove comment in these entry &#8220;debug 1&#8243;, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=144&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Try to setup a &#8220;bypass firewall&#8221; proxy on a PC for iPhone use:</p>
<p>- Download the latest version of Privoxy from http://www.privoxy.org/<br />
- Install it on the PC<br />
- Edit the main configuration:</p>
<p> + Section &#8220;listen-address&#8221;<br />
   -&gt; Add in &#8220;listen-address  :&#8221;</p>
<p> + Section &#8220;Debugging&#8221; (for logging purpose)<br />
   -&gt; Remove comment in these entry &#8220;debug 1&#8243;, &#8220;debug 1024&#8243;, &#8220;debug 4096&#8243;, &#8220;debug 8192&#8243;</p>
<p> + For SOCKS proxy via SSH tunneling, modify this section &#8220;forward-socks4, forward-socks4a and forward-socks5&#8243;<br />
   -&gt; Add in this entry: &#8220;forward-socks4   /       127.0.0.1:9999  .&#8221;<br />
   -&gt; Add a tunnel in the SSH Putty: Dynamic, Source: 9999, Destination: empty</p>
<p>- Enable the application and start the Putty connection<br />
- In iPhone, simply configure the HTTP proxy and point it to the correct IP &amp; port</p>
<p>For more info about SSH tunnel, can ask Google or http://www.makeuseof.com/tag/how-to-tunnel-traffic-with-ssh/<br />
For more info about Privoxy, refer to their documentation</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=144&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/10/27/try-to-setup-a-by-pass-proxy-for-iphone-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>My journey &#8220;In Search of the Holy Grail&#8221;</title>
		<link>http://nldnhy.wordpress.com/2009/10/19/my-journey-in-search-of-the-holy-grail/</link>
		<comments>http://nldnhy.wordpress.com/2009/10/19/my-journey-in-search-of-the-holy-grail/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 03:41:50 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=141</guid>
		<description><![CDATA[&#8220;In Search of the Holy Grail&#8221; &#8211; http://www.alistapart.com/articles/holygrail I found the article is very good for me to understand the whole idea about the &#8220;standard design&#8221; (aka Holy Grail in web design). And the best thing is it is build &#8220;On the shoulders of giants&#8221; ^_^ So after understanding the idea, I try to implement [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=141&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&#8220;In Search of the Holy Grail&#8221; &#8211; http://www.alistapart.com/articles/holygrail<br />
I found the article is very good for me to understand the whole idea about the &#8220;standard design&#8221; (aka Holy Grail in web design). And the best thing is it is build &#8220;On the shoulders of giants&#8221; ^_^</p>
<p>So after understanding the idea, I try to implement my own three column web layout for our website:</p>
<p>main.css</p>
<p><pre class="brush: css;">
/* Start of modification to adjust the column width */
/* Center column: fluid + side paddings (20px) + topbot paddings (20px) */
/* Left column: 140px + side paddings (2px) */
/* Right column: 1px + side padding (0px) */
/* Body min-width: (LC fullwidth + CC side paddings)*2 + RC fullwidth */
body {
  min-width: 321px;          /* 2x(140+20) + 1 */
}

#banner {
  height: 80px;
}

#mainContainer {
  padding-left: 140px;      /* LC fullwidth */
  padding-right: 21px;      /* RC fullwidth + CC both side paddings */
  overflow: hidden;
}

#centerCol {
  padding: 10px 10px;       /* CC padding top/bottom &amp; left/right */
  width: 100%;
}

#leftCol {
  width: 138px;             /* LC width */
  padding: 2px 1px 2px 1px; /* LC padding */
  right: 160px;             /* LC fullwidth + CC both side paddings */
  margin-left: -100%;
}

#rightCol {
  width: 1px;               /* RC width */
  padding: 0 0px;           /* RC padding */
  margin-right: -21px;      /* - RC fullwidth - CC right padding */
}

* html #leftCol {
  left: 1px;                /* RC fullwidth */
}

/* End of modification */


* html body {
  overflow: hidden;
}

#mainContainer .column {
  position: relative;
  float: left;
  padding-bottom: 10010px;  /* X + padding-bottom */
  margin-bottom: -10000px;  /* X */
}

#footer {
  clear: both;
  padding: 5px;
  position: relative;
}

* html #footer-wrapper {
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 10010px;
  margin-bottom: -10000px;
}
</pre></p>
<p>theme_gray.css<br />
<pre class="brush: css;">
/* Color theme */
#banner {
  background: #eee url(/images/banner-MIS.jpg) no-repeat 0 -10px;
}

#mainContainer {
  background-color: #fff;
}

#centerCol {
  background-color: #fdd;
}

#leftCol {
  background-color: #eee;
}

#rightCol {
  /*background-color: #eee;*/
}

#footer {
  background-color: #ddd;
}

* html #footer-wrapper {
  background: #ddd;         /*** Same as body background ***/
}
/* End of color theme*/
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/141/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/141/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/141/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=141&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/10/19/my-journey-in-search-of-the-holy-grail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>A CSS Menu that fail my expectation</title>
		<link>http://nldnhy.wordpress.com/2009/10/19/a-css-menu-that-fail-my-expectation/</link>
		<comments>http://nldnhy.wordpress.com/2009/10/19/a-css-menu-that-fail-my-expectation/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 02:14:47 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=128</guid>
		<description><![CDATA[Recently I did a test to see if the CSS Menu at http://www.alistapart.com/articles/horizdropdowns/ can replace my currently JS Menu used for our website. After several tweaking and tuning, I finally got it works with the current website. However, it fails to convince me that I should replace the current JS menu with that. Even thought [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=128&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I did a test to see if the CSS Menu at <a href="http://www.alistapart.com/articles/horizdropdowns/">http://www.alistapart.com/articles/horizdropdowns/</a> can replace my currently JS Menu used for our website. After several tweaking and tuning, I finally got it works with the current website. However, it fails to convince me that I should replace the current JS menu with that. Even thought the setup for menu items is very neat (I like that), the event and effect of menu do not feel very friendly. I used transmenu for the current website since 3 years back and now it&#8217;s still very good. I think  I will stick with transmenu for a little bit longer.</p>
<p>Below is the detailed CSS &amp; JS files I have got from that website (after several tweaks):</p>
<p>layout.html</p>
<p><pre class="brush: xml;">
&lt;!-- ... --&gt;
&lt;!-- Begin of the main menu --&gt;
&lt;ul id=&quot;nav&quot;&gt;
  &lt;li&gt;&lt;a href=&quot;#&quot;&gt;Front page&lt;/a&gt;&lt;/li&gt;
  &lt;li class=&quot;subnav&quot;&gt;&lt;a href=&quot;/Admin&quot;&gt;Administration&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;/User&quot;&gt;Users Control Panel&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/Role&quot;&gt;Roles Control Panel&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/Objects&quot;&gt;Objects Control Panel&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/Permission&quot;&gt;Permissions Control Panel&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/uiClrcache&quot;&gt;Update Homepage&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li class=&quot;subnav&quot;&gt;&lt;a href=&quot;#&quot;&gt;Human Resource&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;/IDV&quot;&gt;Internal Published Documents&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li class=&quot;subnav&quot;&gt;&lt;a href=&quot;#&quot;&gt;Sales &amp;amp; Marketing&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;/SaleQuote2&quot;&gt;Sales Quotation Database&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/BusinessTarget&quot;&gt;Business Target&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href=&quot;/ShipMast&quot;&gt;Shipping Master List&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
  &lt;li class=&quot;subnav&quot;&gt;&lt;a href=&quot;#&quot;&gt;Customer Service&lt;/a&gt;
    &lt;ul&gt;
      &lt;li&gt;&lt;a href=&quot;/CsrQuote2&quot;&gt;CSR Quotation&lt;/a&gt;&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;!-- ... --&gt;
&lt;/ul&gt;
</pre></p>
<p>main_menu.css</p>
<p><pre class="brush: css;">
/* Color theme */
#leftCol ul {
  border-bottom: 1px solid #ccc;
}

#leftCol ul li {
  background: #eee;
}

#leftCol ul li.subnav {
  background:#eee url(/ul2/images/nav/submenu.gif) no-repeat scroll 100% 5px;
}

#leftCol ul li a {
  color: #111;
  /*background: #fee; /* IE6 Bug */
  border: 1px solid #ccc;
}

#leftCol ul li a:hover {
  color: #E2144A;
  font-weight: bolder;
  /*background-color: #fee; /* */
} /* Hover Styles */

/* End of color theme */

#leftCol {
  font-size:0.9em; /* 11.7px */
}

#leftCol ul li {
  position: relative;
  margin-left: 0px;
}

/* Styles for Menu Items */
#leftCol ul li a {
  display: block;
  width: 96.5%; /**/
  /*background-color: #faa; /**/
  text-decoration: none;
  padding: 3px;
  border-bottom: 0;
}

/* Fix IE. Hide from IE Mac \*/
* html #leftCol ul li { float: left; height: 1%; }
* html #leftCol ul li a { height: 1%; }
/* End */

#leftCol ul {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 138px; /* Width of Menu Items */
}

/* first sub level */
#leftCol li ul {
  position: absolute;
  left: 140px;
  top: 0;
  display: none;
  width: 190px;
}

/* second sub level */
#leftCol li ul li ul {
  left: 190px;
  width: 210px;
}

#leftCol li ul li ul li ul, /* third sub level */
#leftCol li ul li ul li ul li ul /* fourth sub level */
{
  left: 210px;
  width: 210px;
}

/* The magic for first level */
#leftCol li:hover ul,
#leftCol li.over ul { display: block; }

/* The magic for second level */
#leftCol li:hover ul li ul,
#leftCol li.over ul li ul { display: none; }
#leftCol li:hover ul li:hover ul,
#leftCol li.over ul li.over ul { display: block; }

/* The magic for third level */
#leftCol li:hover ul li:hover ul li ul,
#leftCol li.over ul li.over ul li ul { display: none; }
#leftCol li:hover ul li:hover ul li:hover ul,
#leftCol li.over ul li.over ul li.over ul { display: block; }

/* The magic for fourth level */
#leftCol li:hover ul li:hover ul li:hover ul li ul,
#leftCol li.over ul li.over ul li.over ul li ul { display: none; }
#leftCol li:hover ul li:hover ul li:hover ul li:hover ul,
#leftCol li.over ul li.over ul li.over ul li.over ul { display: block; }

</pre></p>
<p>main_menu.js</p>
<p><pre class="brush: css;">
function attach_hover(navRoot, level)
{
  for (var i=0; i&lt;navRoot.childNodes.length; i++)
  {
    var node = navRoot.childNodes[i];
    if (node.nodeName==&quot;LI&quot;)
    {
      node.onmouseover=function() {
        this.className+=&quot; over&quot;;
      };
      node.onmouseout=function() {
        this.className=this.className.replace(&quot; over&quot;, &quot;&quot;);
      };

      for (var j=0; j&lt;node.childNodes.length; j++)
      {
        if (node.childNodes[j].nodeName==&quot;UL&quot;)
        {
          attach_hover(node.childNodes[j], level+1);
        }
      }
    }
  }
}

startList = function() {
  if (document.all&amp;&amp;document.getElementById)
  {
    navRoot = document.getElementById(&quot;nav&quot;);
    if (navRoot &amp;&amp; (navRoot.nodeName==&quot;UL&quot;))
    {
      attach_hover(navRoot, 1);
    }
  }
};

window.onload=startList;
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=128&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/10/19/a-css-menu-that-fail-my-expectation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>Backup &amp; store batch scripts with PortableApps and 7z</title>
		<link>http://nldnhy.wordpress.com/2009/09/07/backup-store-batch-scripts-with-portableapps-and-7z/</link>
		<comments>http://nldnhy.wordpress.com/2009/09/07/backup-store-batch-scripts-with-portableapps-and-7z/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 08:43:21 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=117</guid>
		<description><![CDATA[Below are just an easy way to compress &#38; extract PortableApps using 7z utilities: compressAllApps.bat extractAllApps.bat<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=117&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Below are just an easy way to compress &amp; extract PortableApps using 7z utilities:</p>
<p><strong>compressAllApps.bat</strong></p>
<p><pre class="brush: php;">
@SET _apps_path=..\PortableApps
@SET _arch_path=..\Compressed

@&gt;%0.log    ECHO Update and compress all apps in %_apps_path%
@&gt;&gt;%0.log ECHO ======================================================
@&gt;&gt;%0.log ECHO.
@&gt;&gt;%0.log ECHO.

@(FOR /F &quot;delims==&quot; %%i IN ('dir /b %%_apps_path%%\*') DO @(
	ECHO Processing %%i
	7-Zip\7z.exe u &quot;%_arch_path%\%%i.7z&quot; &quot;%_apps_path%\%%i&quot; -ms=off
	ECHO ======================================================
	ECHO.
) ) 1&gt;&gt;%0.log 2&gt;&amp;1

@&gt;&gt;%0.log ECHO ======================================================
@&gt;&gt;%0.log ECHO Execution finished.
</pre></p>
<p><strong>extractAllApps.bat</strong></p>
<p><pre class="brush: php;">
@SETLOCAL ENABLEDELAYEDEXPANSION
@SET _apps_path=..\PortableApps
@SET _arch_path=..\Compressed

@&gt;%0.log    ECHO Extract all apps in %_arch_path%
@&gt;&gt;%0.log ECHO ======================================================
@&gt;&gt;%0.log ECHO.
@&gt;&gt;%0.log ECHO.

@(FOR /F &quot;delims==&quot; %%i IN ('dir /b %%_arch_path%%\*') DO @(
	SET tempVar=%%i
	ECHO Processing !tempVar!
	IF &quot;!tempVar:~-3!&quot;==&quot;.7z&quot; (
		IF NOT EXIST &quot;%_apps_path%\!tempVar:~0,-3!&quot; (
			7-Zip\7z.exe x &quot;%_arch_path%\!tempVar!&quot; -o&quot;%_apps_path%&quot; 
		)
	)
	ECHO ======================================================
	ECHO.
) ) 1&gt;&gt;%0.log 2&gt;&amp;1

@&gt;&gt;%0.log ECHO ======================================================
@&gt;&gt;%0.log ECHO Execution finished.
@ENDLOCAL
</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/117/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/117/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/117/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=117&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/09/07/backup-store-batch-scripts-with-portableapps-and-7z/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>SIFT &amp; VSIFT in Microsoft Dinamics NAV</title>
		<link>http://nldnhy.wordpress.com/2009/08/24/sift-vsift-in-microsoft-dinamics-nav/</link>
		<comments>http://nldnhy.wordpress.com/2009/08/24/sift-vsift-in-microsoft-dinamics-nav/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 06:24:42 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=94</guid>
		<description><![CDATA[After countless of time searching the Internet, finally I answer the question &#8220;How Navision (4.0 SP2 &#38; 5.0 SP1) mantain the FlowField calculation in SQL Server?&#8221;. There&#8217;s not must information provided in the &#8220;bible&#8221; Application Designer’s Guide come with Navision CD. The answer is SIFT (Sum Index Flow Technology) for Navision below 5.0 SP1 and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=94&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After countless of time searching the Internet, finally I answer the question &#8220;How Navision (4.0 SP2 &amp; 5.0 SP1) mantain the FlowField calculation in SQL Server?&#8221;.</p>
<p>There&#8217;s not must information provided in the &#8220;bible&#8221; Application Designer’s Guide come with Navision CD. The answer is SIFT (Sum Index Flow Technology) for Navision below 5.0 SP1 and VSIFT (or Indexed Views) for Nav 5.0 SP1.</p>
<p>More information can be read here: http://dynamicsuser.net/blogs/mark_brummel/archive/2009/04/12/vsift-the-day-after.aspx</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=94&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/08/24/sift-vsift-in-microsoft-dinamics-nav/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
		<item>
		<title>How do I install zend Server CE (ZendServer-CE-php-5.2.10-4.0.5-Windows_x86)</title>
		<link>http://nldnhy.wordpress.com/2009/08/24/how-do-i-install-zend-server-ce-zendserver-ce-php-5-2-10-4-0-5-windows_x86/</link>
		<comments>http://nldnhy.wordpress.com/2009/08/24/how-do-i-install-zend-server-ce-zendserver-ce-php-5-2-10-4-0-5-windows_x86/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 05:48:18 +0000</pubDate>
		<dc:creator>dinhnhy</dc:creator>
				<category><![CDATA[Công việc]]></category>
		<category><![CDATA[Học tập]]></category>

		<guid isPermaLink="false">http://nldnhy.wordpress.com/?p=106</guid>
		<description><![CDATA[How do I install zend Server CE (ZendServer-CE-php-5.2.10-4.0.5-Windows_x86) -&#62; Download from file:///D:/Users/nguyen%20le/Downloads/Chrome/ZendServer-CE-php-5.2.10-4.0.5-Windows_x86.exe -&#62; Install Type: Custom -&#62; Check all extensions for PHP &#38; Zend -&#62; Check phpMyAdmin, MySQL Server &#38; MSSQL Native Client -&#62; Install an Apache 2.2.12 WS -&#62; Destination: D:\Users\nguyen le\Tools\Zend -&#62; Apache port: 8080<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=106&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>How do I install zend Server CE (ZendServer-CE-php-5.2.10-4.0.5-Windows_x86)<br />
-&gt; Download from file:///D:/Users/nguyen%20le/Downloads/Chrome/ZendServer-CE-php-5.2.10-4.0.5-Windows_x86.exe<br />
-&gt; Install Type: Custom<br />
-&gt; Check all extensions for PHP &amp; Zend<br />
-&gt; Check phpMyAdmin, MySQL Server &amp; MSSQL Native Client<br />
-&gt; Install an Apache 2.2.12 WS<br />
-&gt; Destination: D:\Users\nguyen le\Tools\Zend<br />
-&gt; Apache port: 8080</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/nldnhy.wordpress.com/106/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/nldnhy.wordpress.com/106/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/nldnhy.wordpress.com/106/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=nldnhy.wordpress.com&amp;blog=8275217&amp;post=106&amp;subd=nldnhy&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://nldnhy.wordpress.com/2009/08/24/how-do-i-install-zend-server-ce-zendserver-ce-php-5-2-10-4-0-5-windows_x86/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/27d932e939351de7d0b585073c4e018c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dinhnhy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
