<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6037077982622938159</id><updated>2012-02-17T14:07:47.027-08:00</updated><category term='apache'/><category term='linux'/><category term='Fringe'/><category term='exim4'/><category term='tools'/><category term='DNS'/><category term='javascript'/><category term='funny'/><category term='mysql'/><category term='debian squeez'/><category term='Smallville'/><category term='ssh'/><category term='bash'/><category term='wordpress'/><category term='Flashpoint'/><category term='godaddy'/><category term='windows 7'/><category term='movie'/><category term='V'/><category term='android'/><category term='Survivor'/><category term='debian'/><category term='Nikon D90 Practice'/><category term='vim'/><category term='magento'/><category term='ubuntu'/><category term='outsourced'/><category term='bigmem'/><category term='the office'/><title type='text'>PANGDU</title><subtitle type='html'>my notes on linux, debian, mysql, vim, php, javascript, and some of my favorite tv shows.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.pangdu.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default?start-index=26&amp;max-results=25'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>70</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-5454935041525822142</id><published>2012-02-17T14:07:00.000-08:00</published><updated>2012-02-17T14:07:47.039-08:00</updated><title type='text'>make exact duplicate directory for ftp users above DefaultRoot</title><content type='html'>&amp;nbsp;sudo mount --bind /var/www/somedir /home/someuser/somedir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-5454935041525822142?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/5454935041525822142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2012/02/make-exact-duplicate-directory-for-ftp.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/5454935041525822142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/5454935041525822142'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2012/02/make-exact-duplicate-directory-for-ftp.html' title='make exact duplicate directory for ftp users above DefaultRoot'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-2177290841860430580</id><published>2012-02-11T16:03:00.001-08:00</published><updated>2012-02-11T16:03:53.290-08:00</updated><title type='text'>debian dvd player apt-get</title><content type='html'>&lt;pre&gt;apt-get install vlc libdvdcss2&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-2177290841860430580?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/2177290841860430580/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2012/02/debian-dvd-player-apt-get.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2177290841860430580'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2177290841860430580'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2012/02/debian-dvd-player-apt-get.html' title='debian dvd player apt-get'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-2965647102238844310</id><published>2012-01-31T20:26:00.001-08:00</published><updated>2012-01-31T20:26:53.486-08:00</updated><title type='text'>ubuntu 404 Not Found [IP: 91.189.92.169 80]</title><content type='html'>the ubuntu is no longer supported,so in /etc/apt/sources.listchange http://us.archive.ubuntu.com/ubuntu/to http://old-releases.ubuntu.com/ubuntu/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-2965647102238844310?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/2965647102238844310/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2012/01/ubuntu-404-not-found-ip-9118992169-80.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2965647102238844310'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2965647102238844310'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2012/01/ubuntu-404-not-found-ip-9118992169-80.html' title='ubuntu 404 Not Found [IP: 91.189.92.169 80]'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-7678184355796167478</id><published>2012-01-23T21:56:00.000-08:00</published><updated>2012-01-23T21:56:20.611-08:00</updated><title type='text'>debian NO_PUBKEY AAFF4A5B336064B5</title><content type='html'>error message:&lt;br /&gt; &lt;br/&gt;W: GPG error: http://deb.opera.com stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY AAFF4A5B336064B5&lt;br /&gt;&lt;br/&gt;&lt;br/&gt;reason:&lt;br/&gt;key is outdated&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;solution:&lt;br/&gt;wget -O - http://deb.opera.com/archive.key | sudo apt-key add -&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-7678184355796167478?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/7678184355796167478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2012/01/debian-nopubkey-aaff4a5b336064b5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7678184355796167478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7678184355796167478'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2012/01/debian-nopubkey-aaff4a5b336064b5.html' title='debian NO_PUBKEY AAFF4A5B336064B5'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-7834753685108520132</id><published>2012-01-06T19:29:00.000-08:00</published><updated>2012-01-06T19:29:00.259-08:00</updated><title type='text'>hp laserjet p1102w setup on debian 6</title><content type='html'>hp laserjet p1102w setup on debian 6&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;commands:&lt;br /&gt;&lt;br /&gt;wget http://prdownloads.sourceforge.net/hplip/hplip-3.11.12.run&lt;br /&gt;&amp;nbsp;sh hplip-3.11.12.run &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;then run hp-setup to download some additional software then you are good to go&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-7834753685108520132?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/7834753685108520132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2012/01/hp-laserjet-p1102w-setup-on-debian-6.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7834753685108520132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7834753685108520132'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2012/01/hp-laserjet-p1102w-setup-on-debian-6.html' title='hp laserjet p1102w setup on debian 6'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-292436329546849078</id><published>2011-12-21T05:36:00.001-08:00</published><updated>2011-12-21T05:36:03.516-08:00</updated><title type='text'>firefx how to select column in table</title><content type='html'>hold down ctrl key while select&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-292436329546849078?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/292436329546849078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/12/firefx-how-to-select-column-in-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/292436329546849078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/292436329546849078'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/12/firefx-how-to-select-column-in-table.html' title='firefx how to select column in table'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-2305827793628442298</id><published>2011-11-14T20:07:00.001-08:00</published><updated>2011-11-14T20:10:35.563-08:00</updated><title type='text'>firefox how to disable/block alert,confirm,prompt?</title><content type='html'>find your prefs.jsadd 3 linesuser_pref("capability.policy.default.Window.alert", "noAccess");user_pref("capability.policy.default.Window.confirm", "noAccess");user_pref("capability.policy.default.Window.prompt", "noAccess");&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-2305827793628442298?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/2305827793628442298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/11/find-your-prefs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2305827793628442298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2305827793628442298'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/11/find-your-prefs.html' title='firefox how to disable/block alert,confirm,prompt?'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-7294687789060423021</id><published>2011-10-20T23:12:00.001-07:00</published><updated>2011-10-20T23:12:59.853-07:00</updated><title type='text'>scim stopped working</title><content type='html'>scim stopped working?try kill -9 all process of scim,then run this/usr/lib/scim-1.0/scim-launcher -d -c simple -e all -f socket --no-stay&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-7294687789060423021?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/7294687789060423021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/10/scim-stopped-working.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7294687789060423021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7294687789060423021'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/10/scim-stopped-working.html' title='scim stopped working'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-8665295888352464160</id><published>2011-10-08T19:24:00.001-07:00</published><updated>2011-10-08T19:24:27.378-07:00</updated><title type='text'>To configure Exim4, run the following command</title><content type='html'>sudo dpkg-reconfigure exim4-config&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-8665295888352464160?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/8665295888352464160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/10/to-configure-exim4-run-following.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/8665295888352464160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/8665295888352464160'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/10/to-configure-exim4-run-following.html' title='To configure Exim4, run the following command'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-4554470863104983760</id><published>2011-10-08T19:23:00.001-07:00</published><updated>2011-10-08T19:23:49.420-07:00</updated><title type='text'>To install Exim4, run the following command</title><content type='html'>sudo apt-get install exim4&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-4554470863104983760?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/4554470863104983760/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/10/to-install-exim4-run-following-command.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4554470863104983760'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4554470863104983760'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/10/to-install-exim4-run-following-command.html' title='To install Exim4, run the following command'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-1671476183184591433</id><published>2011-09-16T04:45:00.000-07:00</published><updated>2011-09-16T04:45:12.341-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='android'/><title type='text'>ADB: error: insufficient permissions for device</title><content type='html'>problem:&lt;br /&gt;&lt;br /&gt;List of devices attached&lt;br /&gt;????????????    no permissions &lt;br /&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;br /&gt;adb kill-server&lt;br /&gt;sudo adb start-server&lt;br /&gt;adb devices&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-1671476183184591433?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/1671476183184591433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/09/adb-error-insufficient-permissions-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1671476183184591433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1671476183184591433'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/09/adb-error-insufficient-permissions-for.html' title='ADB: error: insufficient permissions for device'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-1847018373876575213</id><published>2011-08-16T19:11:00.000-07:00</published><updated>2011-08-16T19:11:16.999-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>create a partition shared by both Windows &amp; Linux</title><content type='html'>sudo apt-get install ntfs-config&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-1847018373876575213?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/1847018373876575213/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/08/create-partition-shared-by-both-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1847018373876575213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1847018373876575213'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/08/create-partition-shared-by-both-windows.html' title='create a partition shared by both Windows &amp; Linux'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-9196456585038298549</id><published>2011-08-16T19:05:00.000-07:00</published><updated>2011-08-16T19:05:33.098-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><title type='text'>vim move the current line to scrolltop of the screen</title><content type='html'>move the current line to scrolltop&lt;br /&gt;zt &lt;br /&gt;move the current line to scrollbottom&lt;br /&gt;zb&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-9196456585038298549?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/9196456585038298549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/08/vim-move-current-line-to-scrolltop-of.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/9196456585038298549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/9196456585038298549'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/08/vim-move-current-line-to-scrolltop-of.html' title='vim move the current line to scrolltop of the screen'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-8482411788480809180</id><published>2011-04-13T02:01:00.001-07:00</published><updated>2011-04-13T02:01:57.180-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><title type='text'>wordpress filters</title><content type='html'>located in:&lt;br /&gt;wp-includes/default-filters.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-8482411788480809180?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/8482411788480809180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/04/wordpress-filters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/8482411788480809180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/8482411788480809180'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/04/wordpress-filters.html' title='wordpress filters'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-4134177126424686450</id><published>2011-04-04T17:24:00.001-07:00</published><updated>2011-04-04T17:24:43.796-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>linux reference a file start with a dash</title><content type='html'>&lt;b&gt;problem:&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;say you have a file, its name start with a dash, when you try to use command on that file, it will result in error,&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;solution:&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;use command ./-xxxxxxxxxxxxxxx instead of command -xxxxxxxxxxxxxxx&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-4134177126424686450?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/4134177126424686450/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/04/linux-reference-file-start-with-dash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4134177126424686450'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4134177126424686450'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/04/linux-reference-file-start-with-dash.html' title='linux reference a file start with a dash'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-6313074097092000181</id><published>2011-03-30T19:44:00.001-07:00</published><updated>2011-03-30T19:44:45.467-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magento'/><title type='text'>magento how to debug sql query</title><content type='html'>edit this file:  lib/varien/Db/Adapter/Pdo/Mysql.php&lt;br /&gt;&lt;br /&gt;protected $_debug               = true;&lt;br /&gt;protected $_logAllQueries       = true;&lt;br /&gt;protected $_debugFile           = 'var/debug/sql.txt';&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-6313074097092000181?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/6313074097092000181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/magento-how-to-debug-sql-query.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/6313074097092000181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/6313074097092000181'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/magento-how-to-debug-sql-query.html' title='magento how to debug sql query'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-5629363206365303415</id><published>2011-03-22T16:26:00.000-07:00</published><updated>2011-03-22T16:26:26.278-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='magento'/><title type='text'>magento import export cms pages</title><content type='html'>mysqldump cms_page and cms_page_store tables&lt;br /&gt;&lt;br /&gt;and restore to your destination database&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-5629363206365303415?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/5629363206365303415/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/magento-import-export-cms-pages.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/5629363206365303415'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/5629363206365303415'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/magento-import-export-cms-pages.html' title='magento import export cms pages'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-1159327678233963737</id><published>2011-03-14T23:14:00.001-07:00</published><updated>2011-03-14T23:14:21.496-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>mysql change root password</title><content type='html'>mysqladmin -u root -p'abc' password '123456'&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-1159327678233963737?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/1159327678233963737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/mysql-change-root-password.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1159327678233963737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/1159327678233963737'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/mysql-change-root-password.html' title='mysql change root password'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-906126132810997082</id><published>2011-03-09T14:51:00.001-08:00</published><updated>2011-03-09T14:51:57.809-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vim'/><title type='text'>How to set TAB to 4 spaces in vim?</title><content type='html'>set ts=4&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-906126132810997082?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/906126132810997082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/how-to-set-tab-to-4-spaces-in-vim.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/906126132810997082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/906126132810997082'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/how-to-set-tab-to-4-spaces-in-vim.html' title='How to set TAB to 4 spaces in vim?'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-4194450735855495846</id><published>2011-03-08T18:11:00.000-08:00</published><updated>2011-03-08T18:11:25.101-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>mysql find all columns in a database</title><content type='html'>SELECT table_name, column_name from information_schema.columns WHERE column_name LIKE ’%searchTerm%’ AND table_schema = ‘yourDB’&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-4194450735855495846?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/4194450735855495846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/mysql-find-all-columns-in-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4194450735855495846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/4194450735855495846'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/mysql-find-all-columns-in-database.html' title='mysql find all columns in a database'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-7058768175886181673</id><published>2011-03-04T15:05:00.000-08:00</published><updated>2011-09-24T23:27:48.543-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>sudo rm Operation not permitted, undeletable file</title><content type='html'>&lt;b&gt;problem:&lt;/b&gt;&lt;br /&gt;ever encounter such a file?&lt;br /&gt;you can't even rm with root.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;reason:&lt;/b&gt;&lt;br /&gt;this file might be marked as immutable, to confirm, you can use lsattr &lt;your filename&gt; to confirm, if you see an "i" then it's immutable, you can't even remove with root&lt;br /&gt;&lt;br /&gt;&lt;b&gt;solution:&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;use chattr -i &lt;your filename&gt;&lt;br /&gt;the one i had to use is: sudo chattr -s, sudo chattr -u, sudo chattr -a too then able to remove this file&lt;br /&gt;then you can remove&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-7058768175886181673?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/7058768175886181673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/sudo-rm-operation-not-permitted.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7058768175886181673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/7058768175886181673'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/sudo-rm-operation-not-permitted.html' title='sudo rm Operation not permitted, undeletable file'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-6601831648508791352</id><published>2011-03-02T14:47:00.000-08:00</published><updated>2011-03-02T14:58:11.320-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='debian squeez'/><title type='text'>Boot debian directly to terminal mode</title><content type='html'>&lt;b&gt;remove gui on startup&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;update-rc.d -f gdm remove&lt;br /&gt;&lt;b&gt;&lt;br /&gt;then you can start gui, gnome desktop with command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;startx&lt;br /&gt;&lt;br /&gt;&lt;b&gt;reset, make gui on startup&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;update-rc.d -f gdm defaults&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;note, you need to use "gdm3" for debian squeeze&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-6601831648508791352?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/6601831648508791352/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/boot-debian-directly-to-terminal-mode.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/6601831648508791352'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/6601831648508791352'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/boot-debian-directly-to-terminal-mode.html' title='Boot debian directly to terminal mode'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-2932106310405880456</id><published>2011-03-01T23:44:00.001-08:00</published><updated>2011-03-01T23:44:15.980-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>windows 7 partition is gone, after installing debian</title><content type='html'>try this first&lt;br /&gt;&lt;br /&gt;sudo update-grub&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-2932106310405880456?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/2932106310405880456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/windows-7-partition-is-gone-after.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2932106310405880456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2932106310405880456'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/windows-7-partition-is-gone-after.html' title='windows 7 partition is gone, after installing debian'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-2841636023180834729</id><published>2011-03-01T23:27:00.000-08:00</published><updated>2011-03-01T23:27:03.448-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='windows 7'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><title type='text'>how to install dual-boot with debian and windows 7</title><content type='html'>first thing you need to do is to free up some disk space, in windows 7, you can use the new "shrink volume" feature from windows 7 in disk management.&lt;br /&gt;&lt;br /&gt;after that, use debian installation cd to boot, and you can use that free space you created from windows 7 to install debian&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-2841636023180834729?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/2841636023180834729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/03/how-to-install-dual-boot-with-debian.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2841636023180834729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/2841636023180834729'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/03/how-to-install-dual-boot-with-debian.html' title='how to install dual-boot with debian and windows 7'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6037077982622938159.post-3083476145390897575</id><published>2011-02-28T19:48:00.001-08:00</published><updated>2011-02-28T19:48:42.820-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>linux tar same folder permissions</title><content type='html'>problem&lt;br /&gt;linux tar same folder permissions&lt;br /&gt;&lt;br /&gt;solution&lt;br /&gt;use -p option&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6037077982622938159-3083476145390897575?l=www.pangdu.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://www.pangdu.com/feeds/3083476145390897575/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.pangdu.com/2011/02/linux-tar-same-folder-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/3083476145390897575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6037077982622938159/posts/default/3083476145390897575'/><link rel='alternate' type='text/html' href='http://www.pangdu.com/2011/02/linux-tar-same-folder-permissions.html' title='linux tar same folder permissions'/><author><name>PANG</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
