<?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-727845593412176314</id><updated>2012-01-28T08:17:02.529-08:00</updated><category term='autonf'/><category term='pvr'/><category term='comedy'/><category term='rsync'/><category term='hosting'/><category term='macdev'/><category term='lvm'/><category term='packet analyzer'/><category term='eucalyptus'/><category term='open source'/><category term='cprogramming'/><category term='firefox'/><category term='objective-c'/><category term='detection'/><category term='DOM'/><category term='dover'/><category term='yum'/><category term='css'/><category term='copy'/><category term='general information'/><category term='sports'/><category term='freebsd'/><category term='eclipse'/><category term='ocr'/><category term='c++'/><category term='xml'/><category term='cliffs'/><category term='mysql'/><category term='java'/><category term='jesus'/><category term='instance backup'/><category term='evangelical post'/><category term='schemaspy'/><category term='cloud'/><category term='bash'/><category term='pdf'/><category term='oracle'/><category term='c'/><category term='incites'/><category term='msie'/><category term='iphonedev'/><category term='ImageMagick'/><category term='libMagickCore.so.1'/><category term='disable'/><category term='plugins'/><category term='capture'/><category term='mouseclick'/><category term='computing'/><category term='google'/><category term='svn'/><category term='yahoo'/><category term='technology'/><category term='javascript'/><category term='gospel'/><category term='mac os x lion'/><category term='inline'/><category term='macosx'/><category term='signature'/><category term='song'/><category term='xargs'/><category term='explorer'/><category term='postfix'/><category term='event'/><category term='philippines'/><category term='shell editor'/><category term='band'/><category term='tables'/><category term='davao city'/><category term='texturetool'/><category term='download'/><category term='ios'/><category term='browser'/><category term='telnet'/><category term='internet'/><category term='script'/><category term='background'/><category term='vbscript'/><category term='blues'/><category term='count'/><category term='scons'/><category term='internet sharing'/><category term='database'/><category term='linux'/><category term='eric'/><category term='hibernate'/><category term='cvs'/><category term='bible'/><category term='ip masquerading'/><category term='ajax'/><category term='port forwarding'/><category term='scm'/><category term='migration'/><category term='prosperity'/><category term='music'/><category term='ssh'/><category term='web services'/><category term='ie'/><category term='pop'/><category term='sudo'/><category term='sql'/><category term='activex'/><category term='resize disk image'/><category term='unix'/><category term='god'/><category term='johnson'/><category term='problem'/><title type='text'>Toytoy Googie's Geeky blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>89</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-2373336498304622666</id><published>2012-01-18T08:19:00.000-08:00</published><updated>2012-01-18T08:24:37.955-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>mysql revoke privileges</title><content type='html'>Just to take this note that to revoke a privilege in MySQL, you need to execute the command below,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mysql&amp;gt; REVOKE ALL PRIVILEGES, GRANT OPTION FROM 'dealme'@'192.168.1.1';&lt;br /&gt;&lt;br /&gt;mysql&amp;gt;&amp;nbsp;flush privileges;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and specifying the HOST/IP address would allow the user to be validated and verified by its IP allowing to connect into the host, i.e. remote logged in which can be done by the grant command below.&lt;br /&gt;&lt;br /&gt;mysql&amp;gt; GRANT ALL ON *.* TO 'dealme'@'192.168.1.1' IDENTIFIED BY 'dealmepassword'&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;and the command above will allow the user to connect to all database and with all privileges granted. This can be seen by querying into the database.&lt;br /&gt;&lt;br /&gt;mysql&amp;gt; use mysql&lt;br /&gt;mysql&amp;gt; select * from user where User='dealme' \G&lt;br /&gt;&lt;br /&gt;\G would view the result vertically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2373336498304622666?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2373336498304622666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2373336498304622666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2373336498304622666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2373336498304622666'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2012/01/mysql-revoke-privileges.html' title='mysql revoke privileges'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7266139259530710586</id><published>2012-01-09T09:42:00.000-08:00</published><updated>2012-01-09T09:42:01.713-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='schemaspy'/><title type='text'>GraphViz error with SchemaSpy</title><content type='html'>Just want to notify this myself, if encountering this problem [below],&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Failed to query Graphviz version information&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; with: dot -V&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; java.io.IOException: Cannot run program "dot": error=2, No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Just install &lt;a href="http://www.graphviz.org/"&gt;Graphviz&lt;/a&gt;&amp;nbsp;and this will gone.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7266139259530710586?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7266139259530710586/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7266139259530710586' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7266139259530710586'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7266139259530710586'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2012/01/graphviz-error-with-schemaspy.html' title='GraphViz error with SchemaSpy'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-497503152454601183</id><published>2012-01-03T22:59:00.000-08:00</published><updated>2012-01-03T22:59:35.526-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='packet analyzer'/><title type='text'>tcpdump - just for my notes</title><content type='html'>Well, I just want to put this to my blog for my own sake.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;tcpdump -nq -s 0 -A -vvv -i eth0 port 80&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Thanks to tcpdump.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-497503152454601183?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/497503152454601183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=497503152454601183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/497503152454601183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/497503152454601183'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2012/01/tcpdump-just-for-my-notes.html' title='tcpdump - just for my notes'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8848876348480675298</id><published>2011-11-19T19:19:00.000-08:00</published><updated>2011-11-19T19:19:21.370-08:00</updated><title type='text'>Frequencey, Period, Amplitude and Wavelength</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;b&gt;Frequency&lt;/b&gt; is the number of waves per unit time.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;b&gt;Period&lt;/b&gt; is the reciprocal of that - the duration of a single wave.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: x-small;"&gt;Amplitude&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;is the magnitude of the wave - how high it goes on the y axis.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: white; color: #333333; font-family: arial, helvetica, clean, sans-serif; font-size: 13px; line-height: 16px;"&gt;&lt;b&gt;Wavelength&lt;/b&gt; is basically the same thing as period - the length of a single wave on the x axis.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8848876348480675298?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8848876348480675298/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8848876348480675298' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8848876348480675298'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8848876348480675298'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/11/frequencey-period-amplitude-and.html' title='Frequencey, Period, Amplitude and Wavelength'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8150395974850755183</id><published>2011-10-27T00:49:00.000-07:00</published><updated>2011-10-27T00:49:50.078-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='god'/><category scheme='http://www.blogger.com/atom/ns#' term='bible'/><category scheme='http://www.blogger.com/atom/ns#' term='jesus'/><category scheme='http://www.blogger.com/atom/ns#' term='evangelical post'/><title type='text'>Dying Moslem see Jesus: Is Jesus the Son of God?</title><content type='html'>&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;strong&gt;Muslim sees Jesus in Toronto, Canada&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;by&amp;nbsp;Geoff Waugh&amp;nbsp;on Monday, September 5, 2011 at 6:34am&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Nasir Siddiki&lt;strong&gt;Left to Die&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;em&gt;By age 34, Nasir Siddiki, a successful businessman, had made his first million, but money meant nothing to him on his deathbed. Diagnosed with the worst case of shingles ever admitted to Toronto General Hospital , his immune system shut down and doctors left him to die.&lt;/em&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The next morning I woke in a sterile room on the eighth floor of the hospital, my skin burning as though someone had doused me in gasoline and lit a match. I felt on fire from the inside out.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;My doctor arrived and looked at me in wonder. “The blisters are multiplying so fast I can literally watch them grow,” he said. ‘”Your body isn’t fighting back.”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The next morning, in addition to shingles, I had chicken pox from head to toe. I was put in strict isolation. That evening my temperature soared to 107.6 degrees — hot enough to leave my brain permanently scrambled.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;For days I continued to deteriorate. My nerve endings became so inflamed that a hair drifting across my skin sent shock waves of fire rippling through my body. By week’s end, I was listed in critical condition.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;strong&gt;My Last Hope&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;In life, I’d been bold, self confident, a risk taker. But facing death, I was terrified. I had no idea what might await me on the other side. I’d been raised as a Moslem in London , England , and I understood Allah was not a god who heals.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;My only hope was in medicine.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;I eventually slipped so close to death that the doctors didn’t know I could hear them when they examined me. “His immune system has simply shut down,” one of them said.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;“He’s dying,” the other confirmed. “His immune system must be compromised by AIDS.”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;I don’t have AIDS! I wanted to shout, but I couldn’t form the words. Then it hit me. He said I’m dying!&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The doctors spoke quietly to my co-worker, Anita. “In a few hours he’ll be dead,” they said. “If by some miracle he lives, he’ll probably be blind in his right eye, deaf in his right ear, paralyzed on his right side and he may be severely brain damaged from the high fever.”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Then they left.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;They left me here to die! I felt like a drowning man going down for the third time. Gathering my strength I whispered a prayer. “God, if you’re real, don’t let me die!”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;strong&gt;In His Presence&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;During the darkest hour of the night, I woke and saw a man at the foot of my bed. Rays of light emanated from him, allowing me to see his outline. I couldn’t see his face, it was too bright. No one had to tell me, I knew it was Jesus.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The Koran mentions Jesus; Moslems believe He existed, not as the son of God, but as a good man and a prophet. I knew this wasn’t Mohammed. I knew it wasn’t Allah. Jesus was in my room. There was no fear, only peace.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;“Why would You come to a Moslem when everyone else has left me to die?” I wondered.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Without words, he spoke to me. “I Am the God of the Christians. I Am the God of Abraham, Isaac and Jacob.”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;That’s all He said. He didn’t mention my illness. He didn’t mention my impending death. As suddenly as He appeared, He was gone.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The next morning, the same two doctors arrived to examine me. “The blisters have stopped growing!”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;“We don’t know what happened, but the shingles virus has gone into remission!”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The following day, still in pain and covered with blisters, I was discharged from the hospital with a suitcase full of drugs. “Don’t leave home,” the doctor cautioned. “It will be months before the blisters go away, and when they do you’ll be left with white patches of skin and scars. The pain could last for years.”&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Stepping outside into the morning sun, I looked like a cross between a leper and the Elephant Man. When people saw me, they crossed to the other side of the street. However, my mind was not on my looks; my thoughts were on Jesus. There was no doubt in my mind that Jesus’ presence in my room had stopped the shingles virus. Whatever else Jesus may be, I realized that in His presence miracles happened.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;That fact left me with one consuming question: Is Jesus the Son of God as the Christians claim, or is He just a prophet as I was taught?&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;At home that evening, in spite of the drugs, the pain and itching was so severe I almost had to tie my hands. Even so, I fell into a restless sleep wondering about Jesus.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;strong&gt;Learning to Live&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;The next morning, I woke early and turned on the television. Flipping through the channels, I froze when I saw the following words across the screen:&amp;nbsp;&lt;strong&gt;Is Jesus the Son of God?&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;I listened intently as two men spent the entire program discussing this topic — answering all of my questions. Before the show went off the air, one of the men led the television audience in a prayer. My body was aflame with pain but I knelt on my living room floor anyway. Tears streaming down my face, I repeated the prayer and invited Jesus into my heart.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Immediately a voracious spiritual hunger sprang up within me. I had to know more about Jesus. In spite of my doctor’s orders to stay inside, the next day I went out and bought a Bible. First I read the books of Matthew, Mark, Luke and John. Still ravenous, I started in Genesis and read through the Bible during my sleepless nights.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Meanwhile, Anita brought me books and teaching tapes explaining the Gospel. I devoured them while continuing to study the Word of God. As my understanding of faith began to grow, I dug out a picture of how I looked before shingles. I prayed and asked God to make me look that way again.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Nasir and Anita Siddiki&lt;strong&gt;Jesus, My Healer&lt;/strong&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;One week after my discharge from the hospital, I woke and found my pillow covered in blisters. I must have clawed them in my sleep, I thought. I crawled out of bed and stepped into the shower. What had started on my pillow was finished in the shower: Every blister fell off my body!&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Instead of being covered with patches of white and scar tissue, my skin was simply red and raw. It slowly healed, returning to its pre-shingles condition. When it did, I not only looked human, I looked like I did before I got sick, except for the scars that I still carry on my chest.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;None of the doctor’s dire predictions came true. My eyesight was 20/20. My hearing was normal. My speech was unimpaired. I suffered no brain damage.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;My healing was miraculous, swift and complete. I never suffered from lingering pain or any other complication. Not only did I have the worst case of shingles ever admitted to Toronto General Hospital , I also had the most miraculous recovery.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;Jesus, the God of the Christians, showed up in the hospital room of a dying Moslem and healed me. But that wasn’t the greatest miracle He performed. The transformation that occurred in my heart was even more dramatic than the one that occurred in my body.&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: 'lucida grande', tahoma, verdana, arial, sans-serif; font-size: 11px; line-height: 16px; text-align: left;"&gt;An international teacher and evangelist, Dr. Nasir Siddiki is the founder of Wisdom Ministries (WisdomMinistries.org). He lives in Tulsa , OK with his wife Anita and their two sons.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8150395974850755183?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8150395974850755183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8150395974850755183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8150395974850755183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8150395974850755183'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/10/dying-moslem-see-jesus-is-jesus-son-of.html' title='Dying Moslem see Jesus: Is Jesus the Son of God?'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6402938880637850065</id><published>2011-10-21T22:46:00.000-07:00</published><updated>2011-10-21T22:46:12.139-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mac os x lion'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Using Oracle 11g thru VirtualBox appliance in Mac OS X Lion</title><content type='html'>I just found that its quite a lot of handy work to make Oracle work in Mac OS X Lion.&lt;br /&gt;&lt;br /&gt;Currently, I have this quite cool machine with good memory anyway, so I decided to step the easy way, than the "too-much-time-to-work way".&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, I just decided to use VirtualBox with Oracle's pre-built virtual appliance with Oracle 11g Enterprise Edition.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To use this, I use the steps below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: transparent;"&gt;&lt;span id="internal-source-marker_0.7469135425053537" style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1. Download VirtualBox at &lt;/span&gt;&lt;a href="http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2. Download the virtual appliances at &lt;/span&gt;&lt;a href="http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html"&gt;&lt;span style="background-color: transparent; color: #000099; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: underline; vertical-align: baseline; white-space: pre-wrap;"&gt;http://www.oracle.com/technetwork/database/enterprise-edition/databaseappdev-vm-161299.html&lt;/span&gt;&lt;/a&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt; then just follow the steps.&lt;/span&gt;&lt;br /&gt;&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 11pt; font-style: normal; font-variant: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;3. I added some specific ports, since I access it thru &amp;nbsp;NAT so whenever I am, it's easier for me just to hook up my virtual appliance and turn it on.&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;So you can issue these command in your terminal,&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt; VBoxManage modifyvm "OTN Developer Days" --natpf1 "ssh,tcp,,2222,,22"&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt;&amp;nbsp;VBoxManage modifyvm "OTN Developer Days" --natpf1 "oracle,tcp,,8282,,8282"&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt;&amp;nbsp;VBoxManage modifyvm "OTN Developer Days" --natpf1 "oracle 2,tcp,,1521,,1521"&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;div style="background-color: transparent;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt;&amp;nbsp;VBoxManage modifyvm "OTN Developer Days" --natpf1 "oracle em,tcp,,1158,,1158"&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;FYI: I use VirtualBox 4.1.4&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-43ePaiVIMqE/TqJYCU8mYqI/AAAAAAAAABw/hJtRDzwxWs8/s1600/Screen+Shot+2011-10-22+at+1.16.06+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="265" src="http://1.bp.blogspot.com/-43ePaiVIMqE/TqJYCU8mYqI/AAAAAAAAABw/hJtRDzwxWs8/s320/Screen+Shot+2011-10-22+at+1.16.06+PM.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The result screenshot above are the ports I have forwarded from my Guest VM Appliacne to my Host machine.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;/div&gt;&lt;div style="background-color: transparent;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6402938880637850065?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6402938880637850065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6402938880637850065' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6402938880637850065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6402938880637850065'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/10/using-oracle-11g-thru-virtualbox.html' title='Using Oracle 11g thru VirtualBox appliance in Mac OS X Lion'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-43ePaiVIMqE/TqJYCU8mYqI/AAAAAAAAABw/hJtRDzwxWs8/s72-c/Screen+Shot+2011-10-22+at+1.16.06+PM.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-7966242442901833308</id><published>2011-10-06T18:31:00.000-07:00</published><updated>2011-10-07T20:26:01.471-07:00</updated><title type='text'>Steve Jobs very promising and inspirational legacy he left for us!</title><content type='html'>I just found this article &lt;a href="http://www.asymco.com/2011/10/06/steve-jobs-didnt/?utm_source=feedburner&amp;amp;utm_medium=feed&amp;amp;utm_campaign=Feed%3A+Asymco+%28asymco%29"&gt;posted&lt;/a&gt;&amp;nbsp;by&amp;nbsp;&lt;a href="http://www.asymco.com/author/asymco/"&gt;Horace Dediu&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For my own reference, I copied it because this is truly inspirational that I can get back and read this how many times, still very inspiring.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="post-3409 post type-post status-publish format-standard hentry category-theory" id="post-3409" style="clear: both; display: table; font-size: 1em; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;h2 class="entry-title" style="background-color: white; color: #333333; float: right; font-family: 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif; font-size: 18px; line-height: 24px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 10px; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: relative; text-decoration: none; width: 340px;"&gt;&lt;a href="http://www.asymco.com/2011/10/06/steve-jobs-didnt/" style="border-bottom-style: none; border-color: initial; border-image: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; color: #000033; font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs didn’t&lt;/i&gt;&lt;/a&gt;&lt;/h2&gt;&lt;div&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 16px; margin-bottom: 20px; margin-left: 200px; margin-right: 0px; margin-top: 20px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not create products.&amp;nbsp;He created an organization that predictably and reliably created emotionally resonant products.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not make movies. He made a company that predictably and reliably made blockbusters.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not wrest market share from competitors. He created new markets that attracted and sustained competitors.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not design anything. He gave others the freedom to think about what jobs products are hired to do.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not re-engineer processes. He brought engineering processes to works of creativity and the creative process to engineering.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not develop new management theories. He showed by example that innovation can be managed.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs was not a visionary. He put the dots together and saw where they led.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs was not a futurist. He just built the future one piece at a time.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs did not distort reality. He spoke what he believed would become reality at a time when those beliefs seemed far fetched.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs was not charismatic. He spoke from the heart compelling others to follow him.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs was not a gifted orator. He spoke plainly.&lt;/i&gt;&lt;/li&gt;&lt;li style="font-size: 1em; line-height: 20px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;Steve Jobs was not a magician. He practiced, a lot.&lt;/i&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 15px; margin-left: 180px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;He had taste.&lt;br style="font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" /&gt;He was curious.&lt;br style="font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" /&gt;He was patient.&lt;br style="font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" /&gt;He was foolish.&lt;br style="font-size: 1em; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;" /&gt;He was hungry.&lt;/i&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 15px; margin-left: 180px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;These things many others can do. Maybe you can.&lt;/i&gt;&lt;/div&gt;&lt;div style="background-color: white; color: #333333; font-family: Arial, Verdana, sans-serif; font-size: 12px; line-height: 20px; margin-bottom: 15px; margin-left: 180px; outline-color: initial; outline-style: none; outline-width: initial; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-decoration: none;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;I would like to add on this article that, still, Steve Jobs is the same human as we are. Same as how we react, how we think, and how we process things, but with difference that he has the perfect package with great behavior, great thoughts, and great attitude leading him to very inspirational genius of all time that I have witnessed since my birth. I'm glad that I've heard him, even not met him in person, but at the least, witnessed his great achievements and inspire us on how we could make be the person we wanted to be, as how Steve Jobs did.&lt;br /&gt;&lt;br /&gt;He's such truly inspirational, a genius, a gift for everyone in earth, made the technology in a different phase and experience in a very sophisticated user experience that we can ever think of, but him, Steve Jobs.&lt;br /&gt;&lt;br /&gt;Even I haven't met him, he don't know me, and I don't do like appreciating and expressing my great thanks to someone that is not part of my family circle. But Steve Jobs, he gave me light, gave me passion, and great diversity to extend efforts in the area that I love and take those great inspiration thoughts that a person from technology, that I have witnessed in my generation.&lt;br /&gt;&lt;br /&gt;Such a great happiness to me in a way that I was born, I knew someone, in the era I am zoetic and cognizant, a true Genius I witness and believe being alive whereas I wasn't born where Albert Einstein, Thomas Edison, Leonardo da Vinci, and many great legendary geniuses we knew.&lt;br /&gt;&lt;br /&gt;May you rest in peace, and I'm always be continuing to be inspired by your great wit and your help for us, specially in the area of technology leveraging our lives into a different pace of development and ideas for new generation. I love you Steve Jobs! Thank you so much!!! You are generally a person that anyone would like to miss as you are in the line of amongst legendary Genius that the Earth and Universe acclaimed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Edited: I want to add more quotes from him as I love his inspirational quotes.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="background-color: white; border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: georgia, serif; font-size: 14px; line-height: 18px; margin-bottom: 18px; margin-top: 18px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; color: #003333; font-family: inherit; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;&lt;strong&gt;“&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: 'Century Gothic', sans-serif; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: x-small; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma – which is living with the results of other people’s thinking. Don’t let the noise of other’s opinions drown out your own inner voice.&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="background-color: white; border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: georgia, serif; font-size: 14px; line-height: 18px; margin-bottom: 18px; margin-top: 18px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: justify; vertical-align: baseline;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; color: #003333; font-family: inherit; font-style: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;em&gt;&lt;strong&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: 'Century Gothic', sans-serif; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;&lt;span style="border-bottom-width: 0px; border-color: initial; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-style: initial; border-top-width: 0px; font-family: inherit; font-size: x-small; font-style: inherit; font-weight: inherit; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; outline-color: initial; outline-style: initial; outline-width: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; vertical-align: baseline;"&gt;And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.”&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7966242442901833308?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7966242442901833308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7966242442901833308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7966242442901833308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7966242442901833308'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/10/steve-jobs-very-promising-and.html' title='Steve Jobs very promising and inspirational legacy he left for us!'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6119051028059036348</id><published>2011-09-08T14:35:00.000-07:00</published><updated>2011-09-08T14:35:03.769-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='c++'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='c'/><category scheme='http://www.blogger.com/atom/ns#' term='objective-c'/><title type='text'>objective-c: Do I have to release parameter objects or variable?</title><content type='html'>I was confused on this until I just realized that if the case is,&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-(NSString*)name:(NSString*) _name {&lt;br /&gt;&amp;nbsp; &amp;nbsp; // I thought I need to do like [_name release];&lt;br /&gt;&amp;nbsp; &amp;nbsp; return _name;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So instead, the _name paramater object anyway is being reference, so ideally, the releasing of the object from memory is outside, i.e. from the callers perspective.&lt;br /&gt;&lt;br /&gt;Like,&lt;br /&gt;&lt;br /&gt;NSString *stupid = @"Johnny Bravo";&lt;br /&gt;[name setName:stupid];&lt;br /&gt;[stupid release];&lt;br /&gt;&lt;br /&gt;or I can do autorelease anyway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6119051028059036348?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6119051028059036348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6119051028059036348' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6119051028059036348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6119051028059036348'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/09/objective-c-do-i-have-to-release.html' title='objective-c: Do I have to release parameter objects or variable?'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2371702071234494699</id><published>2011-08-28T09:33:00.000-07:00</published><updated>2011-08-28T09:33:58.719-07:00</updated><title type='text'>This blog will be getting seriously and interesting on my following posts!!!</title><content type='html'>Hi All,&lt;br /&gt;&lt;br /&gt;I have just resigned from my previous work. The reason of my resignation is a decision that I am fully confident to pave my way into the real world of programming and technology.&lt;br /&gt;&lt;br /&gt;I am now hailing this time to be getting serious and create technologies that I am interested into. I blogged this out so that I could not forget the day I promised to do hard work and always push myself to achieve my goal and make people happy with my work.&lt;br /&gt;&lt;br /&gt;I hope I will be getting into my finish line, if God will provide, as I do trust him and I hope he'll always be with me and with my love ones. God bless us all!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;ToytoyGogie&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2371702071234494699?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2371702071234494699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2371702071234494699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2371702071234494699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2371702071234494699'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/08/this-blog-will-getting-seriously.html' title='This blog will be getting seriously and interesting on my following posts!!!'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3661183816965959857</id><published>2011-07-19T14:57:00.000-07:00</published><updated>2011-07-19T14:57:38.411-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='lvm'/><title type='text'>LVM: How to remove a volume using pvremove</title><content type='html'>First, I encountered this error "Can't pvremove physical volume "/dev/sdc1" of volume group "nova-volumes" without -ff" (I'm actually using OpenStack but it's another story).&lt;br /&gt;&lt;br /&gt;So to remove this, do first,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~# pvscan&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sdb1 &amp;nbsp; VG nova-volumes &amp;nbsp; &amp;nbsp;lvm2 [1.82 TiB / 1.82 TiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sda5 &amp;nbsp; VG cloudmaster &amp;nbsp; &amp;nbsp; lvm2 [297.85 GiB / 12.00 MiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sdc1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lvm2 [1.82 TiB]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Total: 3 [3.93 TiB] / in use: 2 [2.11 TiB] / in no VG: 1 [1.82 TiB]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then, when I do,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~# pvremove /dev/sdc1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;Can't pvremove physical volume "/dev/sdc1" of volume group "nova-volumes" without -ff&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So I need to,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~# vgreduce nova-volumes /dev/sdc1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Removed "/dev/sdc1" from volume group "nova-volumes"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then do `pvscan` again,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~# pvscan&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sdb1 &amp;nbsp; VG nova-volumes &amp;nbsp; &amp;nbsp;lvm2 [1.82 TiB / 1.82 TiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sda5 &amp;nbsp; VG cloudmaster &amp;nbsp; &amp;nbsp; lvm2 [297.85 GiB / 12.00 MiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sdc1 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;lvm2 [1.82 TiB]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Total: 3 [3.93 TiB] / in use: 2 [2.11 TiB] / in no VG: 1 [1.82 TiB]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then now, I can remove this by,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;~# pvremove /dev/sdc1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Labels on physical volume "/dev/sdc1" successfully wiped&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Then running `pvscan` again,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;root@cloudmaster:~# pvscan&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sdb1 &amp;nbsp; VG nova-volumes &amp;nbsp; lvm2 [1.82 TiB / 1.82 TiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; PV /dev/sda5 &amp;nbsp; VG cloudmaster &amp;nbsp; &amp;nbsp;lvm2 [297.85 GiB / 12.00 MiB free]&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp; Total: 2 [2.11 TiB] / in use: 2 [2.11 TiB] / in no VG: 0 [0 &amp;nbsp; ]&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Shows that the /dev/sdc device is now removed. Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3661183816965959857?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3661183816965959857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3661183816965959857' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3661183816965959857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3661183816965959857'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/07/lvm-how-to-remove-volume-using-pvremove.html' title='LVM: How to remove a volume using pvremove'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7094474594400006626</id><published>2011-06-21T06:09:00.000-07:00</published><updated>2011-06-21T06:09:39.017-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='resize disk image'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='eucalyptus'/><title type='text'>Resizing Disk Images in Linux</title><content type='html'>To resize the disk image in Linux, do&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# sudo fsck.ext4 -f DISK_IMAGE_FILE&lt;/div&gt;&lt;div&gt;# sudo resize2fs DISK_IMAGE_FILE&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is very helpful specially if you are having an instance in the cloud and wanted to resize an image.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7094474594400006626?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7094474594400006626/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7094474594400006626' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7094474594400006626'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7094474594400006626'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/resizing-disk-images-in-linux.html' title='Resizing Disk Images in Linux'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7824912859586484278</id><published>2011-06-21T05:11:00.000-07:00</published><updated>2011-06-21T05:13:13.138-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='eucalyptus'/><title type='text'>Mounting an EBS in Eucalyptus</title><content type='html'>First, do&lt;br /&gt;&lt;br /&gt;# fdisk -l&lt;br /&gt;&lt;br /&gt;to list the device available. You can identify what's the current device the Eucalyptus have avail for the current block storage given.&lt;br /&gt;&lt;br /&gt;Now, to mount this, do&lt;br /&gt;&lt;br /&gt;# mkfs.ext4 /dev/sda&lt;br /&gt;&lt;br /&gt;where my current filing system is ext4 and the availed virtual device is /dev/sda. Then afterwards, you can do&lt;br /&gt;&lt;br /&gt;# mount -t ext4 /dev/sda /path/to/mounted/directory&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7824912859586484278?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7824912859586484278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7824912859586484278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7824912859586484278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7824912859586484278'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/mounting-ebs-in-eucalyptus.html' title='Mounting an EBS in Eucalyptus'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-238665959805544112</id><published>2011-06-21T04:20:00.000-07:00</published><updated>2011-06-21T04:20:52.367-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='eucalyptus'/><category scheme='http://www.blogger.com/atom/ns#' term='instance backup'/><title type='text'>Eucalyptus - Save current Instance  as backup with the power of "dd" command</title><content type='html'>The current setup for this is that, I have this current instance in Eucalyptus and was already customized while its being in the cloud. This means like, installing packages and added extra configurations to some packages. While its time wasting if to go back and install those packages, doing a dd (disk dump) tool is very helpful.&lt;br /&gt;&lt;br /&gt;Below is the command I issued,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#&amp;gt; dd if=/dev/vda1 of=jenkins.img conv=noerror,sync&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;I use the conv=noerror,sync which the sync to sync every input block and also its meta data. I've tried w/o that option and it didn't work.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;After I run this into the cloud, I can ssh and I see the state before dd finished, it was there. It's really great!&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Hope this helps!&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-238665959805544112?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/238665959805544112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=238665959805544112' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/238665959805544112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/238665959805544112'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/eucalyptus-save-current-instance-as.html' title='Eucalyptus - Save current Instance  as backup with the power of &quot;dd&quot; command'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-465532452583349587</id><published>2011-06-21T01:14:00.000-07:00</published><updated>2011-06-21T01:14:09.658-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Delete a file with a leading "dash" or (-) in Linux</title><content type='html'>To delete a file with a leading dash, for example,&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;# ls -al&lt;/div&gt;&lt;div&gt;total 36195068&lt;/div&gt;&lt;div&gt;drwxr-xr-x &amp;nbsp;3 toor&amp;nbsp;toor&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4096 2011-06-15 16:46 .&lt;/div&gt;&lt;div&gt;drwxrwxrwx 12&amp;nbsp;toor&amp;nbsp;toor&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 4096 2011-06-21 14:11 ..&lt;/div&gt;&lt;div&gt;-rw-r--r-- &amp;nbsp;1&amp;nbsp;toor&amp;nbsp;toor&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 6887 2011-06-10 13:01 -C&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;do&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# unlink -- -C&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-465532452583349587?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/465532452583349587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=465532452583349587' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/465532452583349587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/465532452583349587'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/delete-file-with-leading-dash-or-in.html' title='Delete a file with a leading &quot;dash&quot; or (-) in Linux'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8121127941539175986</id><published>2011-06-15T00:56:00.000-07:00</published><updated>2011-06-15T00:56:10.221-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bible'/><category scheme='http://www.blogger.com/atom/ns#' term='gospel'/><title type='text'>Don't be a hypocrite! - One of my favorite gospel in the Holy Bible</title><content type='html'>&lt;span class="Apple-style-span" style="background-color: #f1e1a3; color: #454545; font-family: Verdana; font-size: x-small;"&gt;&lt;span dir="ltr"&gt;&lt;b&gt;&lt;span class="yshortcuts" id="lw_1308124084_4"&gt;Holy Gospel of Jesus Christ&lt;/span&gt;&amp;nbsp;according to Saint Matthew&amp;nbsp;&lt;span dir="ltr"&gt;6:&lt;span class="yshortcuts" id="lw_1308124084_5"&gt;1-6.16&lt;/span&gt;-18.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div dir="ltr" style="display: block; line-height: normal; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;Jesus said to his disciples: «Take care not to perform righteous deeds in order that people may see them; otherwise, you will have no recompense from your heavenly Father.&lt;br /&gt;When you give alms, do not blow a trumpet before you, as the hypocrites do in the synagogues and in the streets to win the praise of others. Amen, I say to you, they have received their reward.&lt;br /&gt;But when you give alms, do not let your left hand know what your right is doing,&lt;br /&gt;so that your almsgiving may be secret. And your Father who sees in secret will repay you.&lt;br /&gt;When you pray, do not be like the hypocrites, who love to stand and pray in the synagogues and on street corners so that others may see them. Amen, I say to you, they have received their reward.&lt;br /&gt;But when you pray, go to your inner room, close the door, and pray to your Father in secret. And your Father who sees in secret will repay you.&lt;br /&gt;When you fast, do not look gloomy like the hypocrites. They neglect their appearance, so that they may appear to others to be fasting. Amen, I say to you, they have received their reward.&lt;br /&gt;But when you fast, anoint your head and wash your face,&lt;br /&gt;so that you may not appear to be fasting, except to your Father who is hidden. And your Father who sees what is hidden will repay you.&amp;nbsp;&lt;/div&gt;&lt;div dir="ltr" style="display: block; line-height: normal; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div dir="ltr" style="display: block; line-height: normal; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="background-color: #f1e1a3; color: #454545; font-family: Verdana; font-size: x-small;"&gt;&lt;br /&gt;Commentary of the day :&lt;br /&gt;&lt;br /&gt;Saint Augustine (354-430), Bishop of Hippo (North Africa) and&amp;nbsp;&lt;span class="yshortcuts" id="lw_1308124084_8"&gt;Doctor of the Church&lt;/span&gt;&lt;br /&gt;Sermon 150&lt;br /&gt;&lt;br /&gt;&lt;center style="display: block; text-align: -webkit-center;"&gt;&lt;b&gt;&lt;span class="yshortcuts" id="lw_1308124084_9"&gt;Fasting&lt;/span&gt;, prayer, almsgiving&lt;/b&gt;&lt;/center&gt;&lt;div dir="ltr" style="display: block; line-height: normal; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;The Epicureans, who did not hope for any life beyond the grave and only knew the pleasures of the flesh, held to this expression: «Let us eat and drink for tomorrow we die» (1Cor 15,32)... But Christians, for whom another and happier life is to begin after death, should keep well away of saying such things. In fact, bear in mind this truth: «Tomorrow we die», but continue: «Let us fast and pray for death may come tomorrow.»&lt;br /&gt;&lt;br /&gt;However, I require yet something else, a third condition, and I don't want to pass over in silence what we should observe above everything else: let your fasting serve to satisfy the hunger of the poor. If you cannot fast then set yourself all the more to feeding the one whose satisfied hunger will win you pardon. So this is what Christians should be saying: «Let us fast and pray, let us give to the poor, for tomorrow we die.»&lt;/div&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="background-color: #f1e1a3; color: #454545; font-family: Verdana; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8121127941539175986?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8121127941539175986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8121127941539175986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8121127941539175986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8121127941539175986'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/dont-be-hypocrite-one-of-my-favorite.html' title='Don&apos;t be a hypocrite! - One of my favorite gospel in the Holy Bible'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2419691049333427131</id><published>2011-06-14T23:20:00.000-07:00</published><updated>2011-06-15T00:30:45.260-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='eucalyptus'/><title type='text'>Eucalyptus - cannot find nodes</title><content type='html'>Previously, we just have bought a cool machines supposedly to be setup as Node Controllers for our cloud master machine (running Walrus Controller, Cloud Controller, Storage Controller, and Cluster Controller).&lt;br /&gt;&lt;br /&gt;The current setup we have is,&lt;br /&gt;&lt;br /&gt;SERVER1 - Cloud master running i3 with 12GB of memory&lt;br /&gt;SERVER2 and SERVER3 - running i7 3.0 with 16GB of memory&lt;br /&gt;&lt;br /&gt;With our setup, our ideal result must have 62 available instances to be run inside the cloud, however, due to the inconsistency we found (check this &lt;a href="http://open.eucalyptus.com/wiki/EucalyptusKnownBugs_v1.5.2"&gt;http://open.eucalyptus.com/wiki/EucalyptusKnownBugs_v1.5.2&lt;/a&gt;) with the problem with cloud master against NC's, issuing the command&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#&amp;gt; euca-describe-availability-zones verbose&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;kinten-cloud&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;122.2.1.4&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- vm types&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;free / max &amp;nbsp; cpu &amp;nbsp; ram &amp;nbsp;disk&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.small&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0031 / 0031 &amp;nbsp; 1 &amp;nbsp; &amp;nbsp;512 &amp;nbsp; &amp;nbsp;10&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- c1.medium&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0015 / 0015 &amp;nbsp; 1 &amp;nbsp; 1024 &amp;nbsp; &amp;nbsp;15&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.large&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0007 / 0007 &amp;nbsp; 2 &amp;nbsp; 2048 &amp;nbsp; &amp;nbsp;20&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.xlarge&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0003 / 0003 &amp;nbsp; 4 &amp;nbsp; 4096 &amp;nbsp; &amp;nbsp;30&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- c1.xlarge&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0001 / 0001 &amp;nbsp; 8 &amp;nbsp; 8192 &amp;nbsp; &amp;nbsp;40&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;which the result is not correct. It only able to see one NC (node controller). So fixing this, I tried to look on axis2c.log under /var/log/eucalyptus directory, and I see the errors below&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] rampart_timestamp_token.c(179) [rampart]Timestamp not valid: Created time is not valid&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] error.c(94) OXS ERROR [euca_axis.c:364 in verify_node] element failed , Validation failed for Timestamp with ID = #SigID-232793f0-9609-1e01-3638&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] euca_axis.c(322) [rampart][eucalyptus-verify] "Failed to verify location of signed elements!"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] rampart_engine.c(159) [rampart][rampart_engine] Cannot get saved rampart_context&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] rampart_out_handler.c(136) [rampart][rampart_out_handler] ramaprt_context creation failed.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] phase.c(233) Handler RampartOutHandler invoke failed within phase MessageOut&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;[Tue Jun 14 06:04:40 2011] [error] engine.c(696) Invoking phase MessageOut failed&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This has to be the problem of ntp which the cloud master and the NC weren't sync at all. To fix this, I issued&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#&amp;gt; ntpdate 192.168.1.1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;where 192.168.1.1 is the IP of the cloud master inside the private network (server1, server2 and server3). &amp;nbsp;IP&amp;nbsp;122.2.1.4 is within the LAN.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Before running ntpdate, make sure that your ntp daemon is not running, else you can do&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;#&amp;gt; /etc/init.d/ntp restart&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;be sure you have properly edited /etc/ntp.conf and have your server added there. Mine its&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;server 192.168.1.1&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After all, I have working nodes found.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;#&amp;gt; euca-describe-availability-zones verbose&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;kinten-cloud&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;122.2.1.4&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- vm types&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;free / max &amp;nbsp; cpu &amp;nbsp; ram &amp;nbsp;disk&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.small&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0062 / 0062 &amp;nbsp; 1 &amp;nbsp; &amp;nbsp;512 &amp;nbsp; &amp;nbsp;10&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- c1.medium&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0030 / 0030 &amp;nbsp; 1 &amp;nbsp; 1024 &amp;nbsp; &amp;nbsp;15&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.large&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0014 / 0014 &amp;nbsp; 2 &amp;nbsp; 2048 &amp;nbsp; &amp;nbsp;20&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- m1.xlarge&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0006 / 0006 &amp;nbsp; 4 &amp;nbsp; 4096 &amp;nbsp; &amp;nbsp;30&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;AVAILABILITYZONE&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;|- c1.xlarge&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; &lt;/span&gt;0002 / 0002 &amp;nbsp; 8 &amp;nbsp; 8192 &amp;nbsp; &amp;nbsp;40&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this will fix in your end.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2419691049333427131?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2419691049333427131/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2419691049333427131' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2419691049333427131'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2419691049333427131'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/eucalyptus-cannot-find-nodes.html' title='Eucalyptus - cannot find nodes'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-1873652710002809252</id><published>2011-06-14T22:47:00.001-07:00</published><updated>2011-06-14T22:47:37.193-07:00</updated><title type='text'>Eucalyptus - authorizing a port</title><content type='html'>To authorize a port in Eucalyptus from the running instance, issue this command&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;euca-authorize -P tcp -p 22 -s 0.0.0.0/0 default&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1873652710002809252?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1873652710002809252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1873652710002809252' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1873652710002809252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1873652710002809252'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/eucalyptus-authorizing-port.html' title='Eucalyptus - authorizing a port'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1467750624955828676</id><published>2011-06-13T10:06:00.000-07:00</published><updated>2011-06-13T10:09:15.300-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='internet sharing'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ip masquerading'/><title type='text'>IP Masquerading - To share internet connection within a private network</title><content type='html'>So I have this setup,&lt;br /&gt;&lt;br /&gt;SERVER1 - This connects to the LAN/Internet connection&lt;br /&gt;&lt;br /&gt;SERVER2 and SERVER3 is connected to SERVER1, where SERVER1 is acting their gateway.&lt;br /&gt;&lt;br /&gt;So SERVER1 is using CLASS A IP Address, using 10.0.2.45&lt;br /&gt;&lt;br /&gt;while SERVER2 and SERVER3 is using CLASS C, having SERVER2 as 192.168.10.2 and SERVER3 as 192.168.10.3 and SERVER1 as their gateway using 192.168.10.1 IP.&lt;br /&gt;&lt;br /&gt;Server3 has 2 interfaces, one connects to the LAN and one connects to the private network of SERVER2 and SERVER3.&lt;br /&gt;&lt;br /&gt;So to achieve SERVER2 and SERVER3 must have internet connection,&lt;br /&gt;first in SERVER1, login as root and then check if the ip forwarding is enabled by,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt; cat /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if the result is 1, leave it behind, else,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt; echo "1" &amp;gt; /proc/sys/net/ipv4/ip_forward&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then, do&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt; iptables -t nat -A POSTROUTING -o eth2 -j MASQUERADE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I'm not going to explain fully what does the command do, you can check this by doing "man iptables".&lt;br /&gt;So the "-o eth2", this is the interface that is dedicated to the LAN/internet connection. Since SERVER1 has two interfaces (namely eth0, and eth2), the eth0 is connected to SERVER2 and SERVER3 machines. So here, you should use the interface that has the internet connection to share.&lt;br /&gt;&lt;br /&gt;Now in SERVER2 and SERVER3,&lt;br /&gt;edit first /etc/resolv.conf and add the DNS that SERVER1 is using. Currently, I have SERVER1 dns to 10.0.2.1 so edit and add the line below,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;nameserver 10.0.2.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then save /etc/resolv.conf.&lt;br /&gt;&lt;br /&gt;Now, &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ping google.com&lt;/span&gt;, hopefully this works in your end.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can also add 8.8.8.8 which is a free DNS used by Google.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1467750624955828676?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1467750624955828676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1467750624955828676' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1467750624955828676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1467750624955828676'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/06/ip-masquerading-to-share-internet.html' title='IP Masquerading - To share internet connection within a private network'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1233132148576875198</id><published>2011-04-27T04:04:00.000-07:00</published><updated>2011-04-27T04:04:16.439-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='macdev'/><category scheme='http://www.blogger.com/atom/ns#' term='ios'/><category scheme='http://www.blogger.com/atom/ns#' term='iphonedev'/><title type='text'>Singleton implementation in iOS on Objective-C</title><content type='html'>Just read this very helpful &lt;a href="http://cocoasamurai.blogspot.com/2011/04/singletons-your-doing-them-wrong.html"&gt;article&lt;/a&gt; on implementing a singleton in iOS. Below is a simple snippet that is thread safe, and is indeed, faster than @synchorize when is executed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;+(MyClass *)singleton {&lt;br /&gt; static dispatch_once_t pred;&lt;br /&gt; static MyClass *shared = nil;&lt;br /&gt; &lt;br /&gt; dispatch_once(&amp;amp;pred, ^{&lt;br /&gt;  shared = [[MyClass alloc] init];&lt;br /&gt; });&lt;br /&gt; return shared;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://developer.apple.com/library/mac/#documentation/Performance/Reference/GCD_libdispatch_Ref/Reference/reference.html#//apple_ref/c/func/dispatch_once"&gt;dispatch_once()&lt;/a&gt; function is indeed mentioned in Mac Developer Library that is useful in implementing singletons or global data.&lt;br /&gt;&lt;br /&gt;Hope you found this helpful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1233132148576875198?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1233132148576875198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1233132148576875198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1233132148576875198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1233132148576875198'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/04/singleton-implementation-in-ios-on.html' title='Singleton implementation in iOS on Objective-C'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2278722442268456380</id><published>2011-02-16T07:12:00.000-08:00</published><updated>2011-02-16T07:39:51.932-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cprogramming'/><title type='text'>Reason why sizeof charstr adds another 1 byte in C Programming</title><content type='html'>Returning back to C programming again, now I was stumbling why does&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;char o[] = "1"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;sizeof o&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;returns 2, while&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;char o = '1';&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;returns 1. Or If I do&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;char o[] = "2345";&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;sizeof o&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;is 5.&amp;nbsp;It seems that when char is an array/string, it adds 1.&lt;br /&gt;&lt;br /&gt;Then I just found the answer that when it becomes a string, it includes the '\0' or null character or 0 byte mark which indicates the end of the string. Some call it as zero termination. So in the example, char o[] = "1", it goes like {'1', '\0'}.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2278722442268456380?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2278722442268456380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2278722442268456380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2278722442268456380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2278722442268456380'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/02/reason-why-sizeof-charstr-adds-another.html' title='Reason why sizeof charstr adds another 1 byte in C Programming'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8674211167024814181</id><published>2011-01-20T14:53:00.000-08:00</published><updated>2011-01-20T14:53:07.080-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scm'/><category scheme='http://www.blogger.com/atom/ns#' term='cvs'/><title type='text'>CVS - How to check the newly modified files against the repository</title><content type='html'>To check the modified files against the centralized repository, you can do&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs -nq update&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;to specify the date, you can do&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs -nq update -D "20110120 20:00"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;The date format can be passed is "YYYYMMDD HH:MM"or by its relevant format of date.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8674211167024814181?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8674211167024814181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8674211167024814181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8674211167024814181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8674211167024814181'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/01/cvs-how-to-check-newly-modified-files.html' title='CVS - How to check the newly modified files against the repository'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6421398935876355854</id><published>2011-01-06T16:07:00.000-08:00</published><updated>2011-01-06T16:07:07.201-08:00</updated><title type='text'>CVS: View History via terminal or CLI</title><content type='html'>I'm not really an expert with CVS, and unlike other VCS, running it's history would be easier, so I document this stuff which I'm forgetful when doing a history on CVS.&lt;br /&gt;&lt;br /&gt;Issuing,&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;$&amp;gt; cvs history&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and encountered the error below,&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs history: Unknown method (`extssh') in CVSROOT.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs history: in directory .:&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs history: ignoring CVS/Root because it does not contain a valid root.&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs history: No CVSROOT specified! &amp;nbsp;Please use the `-d' option&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs [history aborted]: or set the CVSROOT environment variable.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So what I did, I use the -d option and achieve the below result,&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cvs -d :ext:username@hostname:/path/cvs/project history -e&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;so the -e will do everything involve in its CVS history reports with all record types.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Hope this helps.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6421398935876355854?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6421398935876355854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6421398935876355854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6421398935876355854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6421398935876355854'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2011/01/cvs-view-history-via-terminal-or-cli.html' title='CVS: View History via terminal or CLI'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8101831831929334767</id><published>2010-12-16T16:33:00.000-08:00</published><updated>2010-12-16T16:33:55.719-08:00</updated><title type='text'>Oracle: OUTER JOIN operator</title><content type='html'>Just to note that (+) means an OUTER JOIN.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Example :&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family: 'Courier New', Courier, monospace; font-size: 12px; line-height: 18px; white-space: nowrap;"&gt;select&amp;nbsp;a2&amp;nbsp;from&amp;nbsp;table_a,table_b&amp;nbsp;where&amp;nbsp;table_a.a1=table_b.b1&amp;nbsp;(+)&amp;nbsp;and&amp;nbsp;table_b.b1=999999&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8101831831929334767?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8101831831929334767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8101831831929334767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8101831831929334767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8101831831929334767'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/12/oracle-outer-join-operator.html' title='Oracle: OUTER JOIN operator'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8487013058477277965</id><published>2010-10-26T12:58:00.000-07:00</published><updated>2010-10-26T12:58:23.132-07:00</updated><title type='text'>Mac OS X: how to list all open ports running in your machine</title><content type='html'>In Mac OS X, I do use&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;netstat -a -p tcp&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Though the ideal one to list all open ports in Mac OS X being opened is&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;lsof -i -P | grep -i "listen"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Simple command, but hope that helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8487013058477277965?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8487013058477277965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8487013058477277965' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8487013058477277965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8487013058477277965'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/mac-os-x-how-to-list-all-open-ports.html' title='Mac OS X: how to list all open ports running in your machine'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7933498618777290501</id><published>2010-10-20T11:43:00.000-07:00</published><updated>2010-10-24T05:28:21.816-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='unix'/><category scheme='http://www.blogger.com/atom/ns#' term='macosx'/><title type='text'>Issue Single Command To Kill a Process In Linux/Unix system</title><content type='html'>I am so tired of issuing back and forth this &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'ps axu'&lt;/span&gt; command thing. I was debugging stuff in JBoss and I do always&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt; 'ps axu|grep jboss'&lt;/span&gt; then I took the process id and kill it by:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;kill -9 processid&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then I just tried killing two process id at a time like for example:&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;kill -9 processid1 processid2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and that will actually kill two process id, however, that's still tedious but it does help in some way.&lt;br /&gt;&lt;br /&gt;So I figure it out that I can use &lt;a href="http://en.wikipedia.org/wiki/AWK"&gt;awk&lt;/a&gt; tool for this and get the column where the processid would be printed. So I found out a way with just one command to kill a process either in Linux/Unix system. I did this in my Mac OS X Snow Leopard.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;kill -9 $(ps -e|grep jboss|awk '{ print $1 }') &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;// works in Snow Leopard&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;kill -9 $(ps axu|grep jboss|awk '{ print $2 }') &lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;// Linux&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;the '$1' there is the index number where the process id is located. If &amp;nbsp;you have some alias with your grep, don't forget to unalias it just to assure, because I do have a alias for my grep having -rn on it.&lt;br /&gt;&lt;br /&gt;Hope this helps, with just one command, it would make your life easy. You can make this as an alias if you want also.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7933498618777290501?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7933498618777290501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7933498618777290501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7933498618777290501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7933498618777290501'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/one-command-to-kill-process-in.html' title='Issue Single Command To Kill a Process In Linux/Unix system'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7601057475875316905</id><published>2010-10-13T13:21:00.000-07:00</published><updated>2010-10-13T13:21:48.041-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>SVN: How-to view modified files being commited to central repository</title><content type='html'>In order to view base on the revision number, just use the 'svnlook' tool to achieve this.&lt;br /&gt;&lt;br /&gt;Say for example: &lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;svnlook changed -r 23 /opt/repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where /opt/repo is the central repository. svnlook will look for the 'REPO_PATH/format' file, so just check if that file exist so that you can assure it that it is the right path for your repository.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7601057475875316905?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7601057475875316905/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7601057475875316905' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7601057475875316905'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7601057475875316905'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/svn-how-to-view-modified-files-being.html' title='SVN: How-to view modified files being commited to central repository'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-9125685382769953619</id><published>2010-10-13T11:32:00.000-07:00</published><updated>2010-10-13T11:32:52.428-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Quickest way to create a table in Oracle</title><content type='html'>I found this very easy and quick to create a table, though sort of copy a table to another table.&lt;br /&gt;&lt;br /&gt;The syntax is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create table table_to_create as select * from source_table where 1=0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Hope you find this a little bit of help.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-9125685382769953619?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/9125685382769953619/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=9125685382769953619' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9125685382769953619'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9125685382769953619'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/quickest-way-to-create-table-in-oracle.html' title='Quickest way to create a table in Oracle'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7908449794633924654</id><published>2010-10-13T10:21:00.000-07:00</published><updated>2010-10-13T10:21:58.647-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='shell editor'/><title type='text'>Use Shell Editor for Eclipse for editing bash, ksh, csh in Unix/Linux system</title><content type='html'>I found ShellEd when googling for any shell editor. It was trouble at first because there's no&amp;nbsp; how-to that directs me, where I expect to have a direct link that I can copy-en-paste to my Eclipse for installation.&lt;br /&gt;&lt;br /&gt;So what I did, I download &lt;a href="http://sourceforge.net/projects/shelled/"&gt;ShellEd&lt;/a&gt; (as of this writing file version ShellEd-Update-2.0.0_M3.zip) from sourceforge.net and install, as required, the &lt;a href="http://www.eclipse.org/linuxtools/downloads.php"&gt;Linux Tools&lt;/a&gt;. After installing Linux Tools, I then locate thru archive the ShellEd zip file and install it successfully. It works good and I feel satisfied with this cool tool to be embedded in eclipse.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://i812.photobucket.com/albums/zz50/toytoygogie/shelled.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="142" src="http://i812.photobucket.com/albums/zz50/toytoygogie/shelled.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The sample attached shell script is from JBoss twiddle. It does supports syntax highlighting, intellisense which is cool. Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7908449794633924654?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7908449794633924654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7908449794633924654' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7908449794633924654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7908449794633924654'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/use-shell-editor-for-eclipse-for.html' title='Use Shell Editor for Eclipse for editing bash, ksh, csh in Unix/Linux system'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-8853003318714319843</id><published>2010-10-13T07:00:00.001-07:00</published><updated>2010-10-13T07:00:52.137-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><title type='text'>Discrimanator annotation in Hibernate</title><content type='html'>Just a note I don't want to forget, @Discriminator annotation for Hibernate, is that, it's idea is base on the enum type in database or perhaps just a type discriminator for a record on how to identify it. It's powerful, and is a helpful feature of hibernate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8853003318714319843?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8853003318714319843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8853003318714319843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8853003318714319843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8853003318714319843'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/discrimanator-annotation-in-hibernate.html' title='Discrimanator annotation in Hibernate'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-4509464862214987181</id><published>2010-10-04T10:54:00.000-07:00</published><updated>2011-01-18T17:16:20.938-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='telnet'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='web services'/><title type='text'>Test Web Services thru Telnet</title><content type='html'>&lt;div&gt;&lt;div style="margin: 0px;"&gt;I use Mac OS X here, so other OS's might vary but I think in Linux, it is still ppp0 (but not sure with that) for VPN connection interface.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;1. First, I use Wireshark in order to capture the packets.&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;2. Afterwards, I use the ppp0 interface (Mac OS X) then start&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;3. Now connect thru telnet by example:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;telnet 192.168.10.51 8080&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;4. Then paste the example POST&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;POST /api/soap/v2/loyaltyaccount HTTP/1.0&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Host: &lt;/span&gt;&lt;a href="http://192.168.10.232:8080/" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;192.168.10.232:8080&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;User-Agent: NuSOAP/0.7.3 (1.114)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Content-Type: text/xml; charset=ISO-8859-1&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;SOAPAction: ""&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Content-Length: 1189&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;s:Envelope xmlns:s='&lt;/span&gt;&lt;a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://schemas.&lt;wbr&gt;&lt;/wbr&gt;xmlsoap.org/soap/envelope/&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;lt;s:Header&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsse:Security s:mustUnderstand='1' xmlns:wsse='&lt;/span&gt;&lt;a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://docs.oasis-&lt;wbr&gt;&lt;/wbr&gt;open.org/wss/2004/01/oasis-&lt;wbr&gt;&lt;/wbr&gt;200401-wss-wssecurity-secext-&lt;wbr&gt;&lt;/wbr&gt;1.0.xsd&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsu:Timestamp xmlns:wsu='&lt;/span&gt;&lt;a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://docs.oasis-&lt;wbr&gt;&lt;/wbr&gt;open.org/wss/2004/01/oasis-&lt;wbr&gt;&lt;/wbr&gt;200401-wss-wssecurity-utility-&lt;wbr&gt;&lt;/wbr&gt;1.0.xsd&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsu:Created&amp;gt;2010-10-04T17:&lt;wbr&gt;&lt;/wbr&gt;24:48Z&amp;lt;/wsu:Created&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsu:Expires&amp;gt;2010-10-04T17:&lt;wbr&gt;&lt;/wbr&gt;25:48Z&amp;lt;/wsu:Expires&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/wsu:Timestamp&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsse:UsernameToken&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsse:Username&amp;gt;testusername&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/wsse:&lt;wbr&gt;&lt;/wbr&gt;Username&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;wsse:Password Type='&lt;/span&gt;&lt;a href="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://docs.oasis-open.&lt;wbr&gt;&lt;/wbr&gt;org/wss/2004/01/oasis-200401-&lt;wbr&gt;&lt;/wbr&gt;wss-username-token-profile-1.&lt;wbr&gt;&lt;/wbr&gt;0#PasswordText&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;testpassword&amp;lt;/&lt;wbr&gt;&lt;/wbr&gt;wsse:Password&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/wsse:UsernameToken&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/wsse:Security&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/s:Header&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;lt;s:Body xmlns:xsi='&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://www.w3.org/&lt;wbr&gt;&lt;/wbr&gt;2001/XMLSchema-instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;' xmlns:xsd='&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://www.w3.org/&lt;wbr&gt;&lt;/wbr&gt;2001/XMLSchema&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;GetTransactions xmlns='&lt;/span&gt;&lt;a href="http://testapi.com/api/loyaltyaccount/v2" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://testapi.com/api/&lt;wbr&gt;&lt;/wbr&gt;loyaltyaccount/v2&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;'&amp;gt;&amp;lt;id&amp;gt;411018&amp;lt;&lt;wbr&gt;&lt;/wbr&gt;/id&amp;gt;&amp;lt;startDate&amp;gt;2010-09-18T18:&lt;wbr&gt;&lt;/wbr&gt;00:00&amp;lt;/startDate&amp;gt;&amp;lt;endDate&amp;gt;&lt;wbr&gt;&lt;/wbr&gt;2010-09-22T18:20:00&amp;lt;/endDate&amp;gt;&amp;lt;&lt;wbr&gt;&lt;/wbr&gt;/GetTransactions&amp;gt;&amp;lt;/s:Body&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/s:Envelope&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;Server's response example:&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;HTTP/1.1 200 OK&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Server: Apache-Coyote/1.1&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;X-Powered-By: Servlet 2.5; JBoss-5.0/JBossWeb-2.1&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Content-Type: text/xml;charset=ISO-8859-1&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Content-Length: 7130&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Date: Mon, 04 Oct 2010 17:02:53 GMT&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Connection: close&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;soap:Envelope&amp;nbsp;xmlns:soap="&lt;/span&gt;&lt;a href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;htt&lt;wbr&gt;&lt;/wbr&gt;p://schemas.xmlsoap.org/soap/&lt;wbr&gt;&lt;/wbr&gt;envelope/&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;soap:Body&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;GetTransactionsResponse&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xmlns="&lt;/span&gt;&lt;a href="http://testapi.com/api/v5/testservice" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://testapi.com/api/&lt;wbr&gt;&lt;/wbr&gt;v5/testservice&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&amp;nbsp;xmlns:ns2="&lt;/span&gt;&lt;a href="http://testapi.com/api/v5/entity" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;htt&lt;wbr&gt;&lt;/wbr&gt;p://testapi.com/api/v5/entity&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xmlns:ns3="&lt;/span&gt;&lt;a href="http://testapi.com/api/v5/websitetest" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://testapi.com/&lt;wbr&gt;&lt;/wbr&gt;api/v5/websitetest&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&amp;nbsp;xmlns:ns4=&lt;wbr&gt;&lt;/wbr&gt;"&lt;/span&gt;&lt;a href="http://testapi.com/v5/faulthandler" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://testapi.com/v5/&lt;wbr&gt;&lt;/wbr&gt;faulthandler&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xmlns:ns5="&lt;/span&gt;&lt;a href="http://testapi.com/v5/core" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://testapi.com/&lt;wbr&gt;&lt;/wbr&gt;v5/core&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&amp;nbsp;xmlns:ns6="&lt;/span&gt;&lt;a href="http://testapi.com/api/v5/timestamphandler" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;testapi.com/api/v5/&lt;wbr&gt;&lt;/wbr&gt;timestamphandler&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyTransactions&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:id&amp;gt;2100334&amp;lt;/ns2:id&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:createdAt&amp;gt;2010-09-18T22:&lt;wbr&gt;&lt;/wbr&gt;55:51.458Z&amp;lt;/ns2:createdAt&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:updatedAt&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http&lt;wbr&gt;&lt;/wbr&gt;://www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;amount&amp;gt;120&amp;lt;/amount&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;balance&amp;gt;600&amp;lt;/balance&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;description&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:/&lt;wbr&gt;&lt;/wbr&gt;/www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyAccountId&amp;gt;411018&amp;lt;/loya&lt;wbr&gt;&lt;/wbr&gt;ltyAccountId&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyProgramId&amp;gt;3&amp;lt;/loyaltyPr&lt;wbr&gt;&lt;/wbr&gt;ogramId&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;pincodeId&amp;gt;439080117&amp;lt;/pincodeI&lt;wbr&gt;&lt;/wbr&gt;d&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;pincode&amp;gt;8020-003888H0F732&amp;lt;/pi&lt;wbr&gt;&lt;/wbr&gt;ncode&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;actionId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;rulename&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;auctionBidId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:&lt;wbr&gt;&lt;/wbr&gt;//www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;productPurchaseId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;wbr&gt;&lt;/wbr&gt;http://www.w3.org/2001/&lt;wbr&gt;&lt;/wbr&gt;XMLSchema-instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;productname&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:/&lt;wbr&gt;&lt;/wbr&gt;/www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;adminUserId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:/&lt;wbr&gt;&lt;/wbr&gt;/www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;optionalDetails&amp;gt;PIN Code 8020-003888H0F732&amp;lt;/optionalDet&lt;wbr&gt;&lt;/wbr&gt;ails&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/loyaltyTransactions&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyTransactions&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:id&amp;gt;2100434&amp;lt;/ns2:id&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:createdAt&amp;gt;2010-09-22T18:&lt;wbr&gt;&lt;/wbr&gt;18:18.831Z&amp;lt;/ns2:createdAt&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;ns2:updatedAt&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http&lt;wbr&gt;&lt;/wbr&gt;://www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;amount&amp;gt;123&amp;lt;/amount&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;balance&amp;gt;2553&amp;lt;/balance&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;description&amp;gt;Balance Updated:another test on 2:19pm&amp;lt;/description&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyAccountId&amp;gt;411018&amp;lt;/loya&lt;wbr&gt;&lt;/wbr&gt;ltyAccountId&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;loyaltyProgramId&amp;gt;3&amp;lt;/loyaltyPr&lt;wbr&gt;&lt;/wbr&gt;ogramId&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;pincodeId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;pincode&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;actionId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;rulename&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http://&lt;wbr&gt;&lt;/wbr&gt;www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;auctionBidId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:&lt;wbr&gt;&lt;/wbr&gt;//www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;productPurchaseId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;wbr&gt;&lt;/wbr&gt;http://www.w3.org/2001/&lt;wbr&gt;&lt;/wbr&gt;XMLSchema-instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;productname&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:/&lt;wbr&gt;&lt;/wbr&gt;/www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;adminUserId&amp;nbsp;xmlns:xsi="&lt;/span&gt;&lt;a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;http:/&lt;wbr&gt;&lt;/wbr&gt;/www.w3.org/2001/XMLSchema-&lt;wbr&gt;&lt;/wbr&gt;instance&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;xsi:nil="true"&amp;nbsp;/&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;optionalDetails&amp;gt;Balance Updated:another test on 2:19pm&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/optionalDetails&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/loyaltyTransactions&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/GetTransactionsResponse&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/soap:Body&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;lt;/soap:Envelope&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;Afterwards, I do copy paste the stuff that I have and just edit it if you have another sub-URI for your service. I think it's faster this way, for development purposes only, but not ideally for QA. Still, scripts as client like Java, PHP, Python, Ruby is of course ideal since you need automation specially when you do continuous integration.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;div style="margin: 0px;"&gt;Hope this helps.&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4509464862214987181?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4509464862214987181/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4509464862214987181' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4509464862214987181'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4509464862214987181'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/10/i-use-mac-os-x-here-so-other-oss-might.html' title='Test Web Services thru Telnet'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6751743141474595149</id><published>2010-09-28T17:23:00.000-07:00</published><updated>2010-09-28T17:23:50.270-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes</title><content type='html'>The solutions for that error is to specify thru&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;DBMS_OUTPUT.ENABLE(10000).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that the default value is 2000 characters, and maximum is 1, 000, 000.&lt;span class="Apple-style-span" style="font-family: tahoma, verdana, sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6751743141474595149?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6751743141474595149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6751743141474595149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6751743141474595149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6751743141474595149'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/09/ora-20000-oru-10027-buffer-overflow.html' title='ORA-20000: ORU-10027: buffer overflow, limit of 2000 bytes'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8738137708841075951</id><published>2010-09-28T17:20:00.000-07:00</published><updated>2010-09-28T17:20:35.804-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle - Get the last inserted id how-to</title><content type='html'>Just simple, declare a variable with that type, mostly number, then &amp;nbsp; use the 'returning' syntax &amp;nbsp; for that.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;set serveroutput on&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;declare&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;nr_id number;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;begin&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;insert into employees( id, name, age )&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;values( seq_employees.NEXTVAL, 'Jones', 33 )&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;returning id into nr_id;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;dbms_output.put_line( 'nr_id = ' || nr_id );&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;end;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;/&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;Hope this helps.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: inherit;"&gt;- Toytoy Gogie&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8738137708841075951?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8738137708841075951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8738137708841075951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8738137708841075951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8738137708841075951'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/09/oracle-get-last-inserted-id-how-to.html' title='Oracle - Get the last inserted id how-to'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-4418711125701366495</id><published>2010-09-28T17:09:00.000-07:00</published><updated>2010-09-28T17:09:59.938-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sql'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle - Create auto-increment equivalent in MySQL</title><content type='html'>So for example, I have my table below to create&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CREATE TABLE "PC2"."TMP_PRODUCT"&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;(&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"ID" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NUMBER(38,0) NOT NULL ENABLE,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"ACCOUNTCODE" &amp;nbsp; &amp;nbsp; VARCHAR2(20 BYTE),&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"PRICESEGMENT" &amp;nbsp; &amp;nbsp;VARCHAR2(20 BYTE),&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"BRAND" &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; VARCHAR2(20 BYTE),&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"PRODUCTLENGTH" &amp;nbsp; NUMBER,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"SALESID" &amp;nbsp;NUMBER(38,0),&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;CONSTRAINT "PK_TMP2_WPP_1009_ID" PRIMARY KEY ("ID") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255,&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;CONSTRAINT "FK_TMP2_WPP_1009_SID" FOREIGN KEY ("SALESID") REFERENCES "PC2"."SALES" ("ID") DEFERRABLE INITIALLY DEFERRED ENABLE&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then create a sequence which would manage the incremental part of the index key.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CREATE SEQUENCE SEQ_TMP_PRODUCT&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;START WITH 1&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;INCREMENT BY 1;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Afterwards, create a trigger which what will do is to insert the incremented key of the table.&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CREATE OR REPLACE TRIGGER "TMP_PRODUCT_ID" BEFORE&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;INSERT ON TMP_PRODUCT FOR EACH ROW WHEN (NEW.ID IS NULL) BEGIN&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;SELECT SEQ_TMP_PRODUCT.NEXTVAL INTO :NEW.ID FROM DUAL;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;END;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Just that simple. &amp;nbsp;Just be sure with the table names, sequence names as you might confuse if you base on that sample I have.&lt;br /&gt;&lt;br /&gt;Hope that helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4418711125701366495?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4418711125701366495/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4418711125701366495' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4418711125701366495'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4418711125701366495'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/09/oracle-create-auto-increment-equivalent.html' title='Oracle - Create auto-increment equivalent in MySQL'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2375818260484797530</id><published>2010-07-28T10:25:00.000-07:00</published><updated>2010-07-28T10:26:16.811-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='port forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Tunneling Oracle For Port 1521 From Other Server</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;This set up is that, I cannot open the 1521 if I do directly from the outside host to my SQLDeveloper, so what I did, I tunnel to port 1521 by opening port 1525 to forward it to 1521 to that host I wanted to logged in. Basically, I can login to that system with my ssh account. So the command I did was:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ssh -L 1525:localhost:1521 username@your-host.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;Where 1525 is your local port to open and 1521 is the port you're going to tunnel, which is the default port for Oracle.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;For some ways, you can also port forwarding like to port 80, port 110, or IRC ports like 6667-6669.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 11px;"&gt;Hope this helps.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2375818260484797530?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2375818260484797530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2375818260484797530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2375818260484797530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2375818260484797530'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/07/tunneling-oracle-for-port-1521-from.html' title='Tunneling Oracle For Port 1521 From Other Server'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7410517729406284030</id><published>2010-07-20T11:10:00.000-07:00</published><updated>2010-07-20T11:11:00.017-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>Oracle DB - Get the constraints information from a table</title><content type='html'>I'm beginning now to use Oracle fro development, now expect that I'll be having more&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SELECT table_name, column_name, CONSTRAINT_NAME&lt;br /&gt;FROM all_cons_columns&lt;br /&gt;WHERE owner='username_owner' AND&lt;br /&gt;constraint_name='UK_CONSTRAINTNAME'&lt;br /&gt;ORDER BY position;&lt;br /&gt;&lt;br /&gt;where UK_CONSTRAINTNAME is a constraintname that you named like UK_USERSPROFILE or&lt;br /&gt;UK_USERSPROFILE_FIRSTNAME.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7410517729406284030?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7410517729406284030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7410517729406284030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7410517729406284030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7410517729406284030'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/07/oracle-db-get-constraints-information.html' title='Oracle DB - Get the constraints information from a table'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-764331591708632140</id><published>2010-07-08T00:07:00.000-07:00</published><updated>2010-07-08T00:14:20.715-07:00</updated><title type='text'>Uncaught exception: this class is not key value coding-compliant for the key window</title><content type='html'>I'm thinking of this error might be a helpful hint for anybody on iPhone dev. I was encountering this error stuff I have, which you can see on the image down below,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s441.photobucket.com/albums/qq138/standardkeyboard/?action=view&amp;amp;current=error_uncaught_exception2.png" target="_blank"&gt;&lt;img alt="Photobucket" border="0" src="http://i441.photobucket.com/albums/qq138/standardkeyboard/error_uncaught_exception2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;My fix for this was under my .xib file. I just open my .xib file and check that my app delegate object has the right class, right window property, and right view controller property. Take a look at below to see how it looks like,&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s441.photobucket.com/albums/qq138/standardkeyboard/?action=view&amp;amp;current=result_fixed_for_key_coding_comp-2.png" target="_blank"&gt;&lt;img alt="Photobucket" border="0" src="http://i441.photobucket.com/albums/qq138/standardkeyboard/result_fixed_for_key_coding_comp-2.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-764331591708632140?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/764331591708632140/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=764331591708632140' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/764331591708632140'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/764331591708632140'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/07/uncaught-exception-this-class-is-not.html' title='Uncaught exception: this class is not key value coding-compliant for the key window'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-4188192812351258432</id><published>2010-07-07T23:33:00.000-07:00</published><updated>2010-07-07T23:33:50.059-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pvr'/><category scheme='http://www.blogger.com/atom/ns#' term='texturetool'/><category scheme='http://www.blogger.com/atom/ns#' term='iphonedev'/><title type='text'>Creating PVR file using texturetool for iPhone dev</title><content type='html'>To create a 2 bits per pixel of PVR file as a mipmap, then issue this command&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-2 -f PVR -o Brick_2.pvr test.png&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;To create a 4 bit, just use&amp;nbsp;&lt;i&gt;&lt;b style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; --bits-per-pixel-4 &lt;/b&gt;&lt;/i&gt;instead of&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt; &lt;i&gt;--bits-per-pixel-2.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Brick_2.pvr is the output of the file, then test.png is your file that is height and width of your image file are equivalent in numbers of pixels.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;If not a mipmap file, then just remove the -m like,&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/texturetool -e PVRTC --bits-per-pixel-2 -f PVR -o Brick_2.pvr test.png&amp;nbsp; &lt;/blockquote&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4188192812351258432?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4188192812351258432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4188192812351258432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4188192812351258432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4188192812351258432'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/07/creating-pvr-file-using-texturetool-for.html' title='Creating PVR file using texturetool for iPhone dev'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3275159092038015254</id><published>2010-06-14T07:19:00.000-07:00</published><updated>2010-06-14T13:46:39.933-07:00</updated><title type='text'>Incompatibility of iconv for PHP 5.2.13 under Mac OS X</title><content type='html'>I'm confused with this when I compiled 5.2.13 of PHP under &lt;a href="http://www.amazon.com/Mac-version-10-6-Snow-Leopard/dp/B001AMHWP8?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Mac OS X Snow Leopard&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B001AMHWP8" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /&gt;. I did update by downloading and compiling a new version of iconv at&amp;nbsp;http://www.gnu.org/software/libiconv/ and compile it by running&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;./configure --prefix=/usr/local&lt;/span&gt;&lt;/blockquote&gt;When I compile PHP with the following "configure" params as&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bind_at_load" ./configure &amp;nbsp;--prefix=/opt/local --mandir=/usr/share/man --infodir=/usr/share/info --with-config-file-path=/etc/ --enable-bcmath --enable-ctype --enable-dom --enable-fileinfo --enable-filter --enable-hash --enable-json --enable-libxml --enable-pdo --enable-phar --enable-session --enable-simplexml --enable-tokenizer --enable-xml --enable-xmlreader --enable-xmlwriter --with-bz2=/opt/local --with-mhash=/opt/local --with-pcre-regex=/opt/local --with-readline=/opt/local --with-libxml-dir=/opt/local --with-zlib=/opt/local --disable-cgi --with-ldap=/opt/local --with-apxs2=/usr/sbin/apxs --with-mysqli=/opt/local/lib/mysql/bin/mysql_config --with-openssl --with-mcrypt=/opt/local/ --with-mysql=/opt/local/lib/mysql/ --with-curl=/opt/local --enable-mbstring --with-gd --with-jpeg-dir=/opt/local --with-png-dir=/opt/local --with-freetype-dir=/opt/local --with-t1lib=/opt/local --enable-gd-native-ttf --with-ttf=/opt/local --with-pgsql=/usr/local/pgsql/ --with-iconv=/usr/local&lt;/span&gt;&amp;nbsp;&lt;/blockquote&gt;And when I run &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;"make"&lt;/span&gt; I do got these errors,&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Undefined symbols:&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"_libiconv_open", referenced from:&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_do_convert in gdkanji.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strlen in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_string in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strpos in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_substr in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_substr in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_mime_decode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_mime_decode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_stream_filter_factory_create in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"_libiconv", referenced from:&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_do_convert in gdkanji.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strlen in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_string in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_string in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strpos in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_appendl in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_appendl in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_substr in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_stream_filter_append_bucket in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_stream_filter_append_bucket in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; (maybe you meant: __libiconv_version)&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp;"_libiconv_close", referenced from:&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_do_convert in gdkanji.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strlen in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_string in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_string in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_strpos in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_substr in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_substr in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_php_iconv_stream_filter_dtor in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_mime_decode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_mime_decode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;__php_iconv_mime_decode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;_zif_iconv_mime_encode in iconv.o&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;ld: symbol(s) not found&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;collect2: ld returned 1 exit status&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make: *** [libs/libphp5.bundle] Error 1&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;I guess this is a bug from PHP in which it only base for the libiconv library under /usr/lib directory, and my fix for this is by copying the libiconv I have recently compiled from /usr/local/lib/ with the current one, which is the /usr/lib/libiconv.* files.&lt;br /&gt;So I did,&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /usr/lib&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mkdir iconv_backup&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;mv libiconv.* iconv_backup&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cp -rf /usr/local/lib/libiconv.* .&lt;/span&gt;&lt;/blockquote&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cp -rf iconv_backup/* /usr/local/lib/&lt;/span&gt;&lt;/blockquote&gt;Now, running make compiles the source code of PHP successfully.&lt;br /&gt;&lt;br /&gt;Caveat for this, my purpose of switching the libiconv files is because I have &lt;a href="http://adium.im/"&gt;Adium&lt;/a&gt; and Adium isn't compliant with the libiconv in which I have recently compiled as x86_64 architecture or 64 bit, so having them under /usr/lib/iconv_backup, I run Adium thru terminal by /Applications/Adium.app/Contents/MacOS/Adium and it works good now.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3275159092038015254?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3275159092038015254/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3275159092038015254' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3275159092038015254'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3275159092038015254'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/06/incompatibility-of-iconv-for-php-5213.html' title='Incompatibility of iconv for PHP 5.2.13 under Mac OS X'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-3168519663375410023</id><published>2010-05-11T00:19:00.000-07:00</published><updated>2010-05-11T00:19:10.854-07:00</updated><title type='text'>pdftotext not found in CentOS</title><content type='html'>&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pdftotext&lt;/span&gt; is a tool in Linux that would extract any text readable, which was formatted prior from PDF.&lt;br /&gt;&lt;br /&gt;When you arrive on not able to find this helpful tools from Linux of your favorite distro, you can find it in the net for&lt;span class="Apple-style-span" style="color: #111111; font-family: Consolas, 'Andale Mono', Monaco, Courier, 'Courier New', Verdana, sans-serif; font-size: small;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;poppler utils&lt;/span&gt;&lt;/span&gt;&amp;nbsp;which comprises the pdftotext binary file. It's codebase is base on XPdf 3.0.&lt;br /&gt;&lt;br /&gt;For CentOS, do&lt;br /&gt;&lt;blockquote&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;yum install poppler*&lt;/span&gt;&lt;/blockquote&gt;which would install the developer package, poppler package, and the util package of poppler.&lt;br /&gt;&lt;br /&gt;Hope this helps ;-).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3168519663375410023?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3168519663375410023/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3168519663375410023' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3168519663375410023'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3168519663375410023'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/05/pdftotext-not-found-in-centos.html' title='pdftotext not found in CentOS'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6955319036829894047</id><published>2010-05-02T22:48:00.000-07:00</published><updated>2010-05-02T22:48:20.326-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='postfix'/><title type='text'>Postfix + Cyrus IMAP Relay access denied (state 14)</title><content type='html'>Solving this problem was freaking easy. I just did add the user, must have the proper domain name link to your IMAP, like us, I have toytoy.is-a-geek.org.&lt;br /&gt;&lt;br /&gt;So what I did, I just add first the user's e-mail address like for example:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo "mypassword" | /usr/sbin/saslpasswd2 -p -u toytoy.homeunix.org toytoy@toytoy.homeunix.org&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;Since I have the script to create an IMAP account for Cyrus, I just run&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/path/to/imapcreate.pl -u cyrus -m "toytoy@toytoy.is-a-geek.org" -p cyruspassword -s localhost&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;then cd to the assigned virtual_alias file, if your postfix configuration doesn't modify or customized the default config, so execute (mostly /etc/postfix/virtual_alias)&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cd /etc/postfix/virtual_alias&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;echo "toytoy@toytoy.is-a-geek.org toytoy@toytoy.is-a-geek.org" &amp;gt;&amp;gt; virtual_alias&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;which postmap virtual_alias&lt;/span&gt;&lt;/blockquote&gt;Then try sending e-mails, you can check the spool at&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;/var/spool/imap/domain/t/toytoy.&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;is-a-geek&lt;/span&gt;.org/t/user/toytoy/2.&lt;/span&gt;&lt;/blockquote&gt;where "&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;2.&lt;/span&gt;" is the file.&lt;br /&gt;&lt;br /&gt;Hope this helps!&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6955319036829894047?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6955319036829894047/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6955319036829894047' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6955319036829894047'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6955319036829894047'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/05/postfix-cyrus-imap-relay-access-denied.html' title='Postfix + Cyrus IMAP Relay access denied (state 14)'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8512427847783876410</id><published>2010-04-29T02:50:00.000-07:00</published><updated>2010-04-29T02:50:32.606-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='autonf'/><title type='text'>My guide on how did I able to use autoconf</title><content type='html'>In my experience, it seems that autoconf&amp;nbsp; needs Makefile.am and configure.ac.&lt;br /&gt;&lt;br /&gt;How did I do it, I run&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;autoreconf -i -v -f Makefile.am&lt;/span&gt;&lt;/blockquote&gt;then I did run&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;automake&lt;/span&gt;&lt;/blockquote&gt;to create Makefile.in then afterwards, I was able to run&lt;br /&gt;&lt;br /&gt;./configure successfully.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8512427847783876410?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8512427847783876410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8512427847783876410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8512427847783876410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8512427847783876410'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/my-guide-on-how-did-i-able-to-use.html' title='My guide on how did I able to use autoconf'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-5144978208479663924</id><published>2010-04-28T03:15:00.000-07:00</published><updated>2010-04-28T03:15:20.789-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scons'/><title type='text'>Scons Add Prefix Before Install</title><content type='html'>For my knowledge and guide,&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;sudo scons prefix=/home/hachico/local -j 4 sdl=1 install&lt;/span&gt;&lt;/blockquote&gt;then this will put the libraries, docs, and bin accordingly into that drectory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-5144978208479663924?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/5144978208479663924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=5144978208479663924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5144978208479663924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5144978208479663924'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/scons-add-prefix-before-install.html' title='Scons Add Prefix Before Install'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6623086184306938667</id><published>2010-04-28T00:49:00.000-07:00</published><updated>2010-04-28T00:49:52.647-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='yum'/><title type='text'>Some CentOS/RHEL/Fedora rpm repositories for yum that would be helpful</title><content type='html'>I got the repository from remi for my CentOS. By issuing the following commands:&lt;br /&gt;&lt;blockquote&gt;&lt;pre style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;su -&lt;br /&gt;cd /etc/yum.repos.d&lt;br /&gt;wget http://rpms.famillecollet.com/remi-enterprise.repo&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;&amp;nbsp;For webtatic,&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;rpm –import http://repo.webtatic.com/yum/RPM-GPG-KEY-webtatic-andy&lt;br /&gt;wget -P /etc/yum.repos.d/ http://repo.webtatic.com/yum/webtatic.repo&lt;/blockquote&gt;&amp;nbsp;where I got my latest versions of PHP.&lt;br /&gt;&lt;br /&gt;For EPEL and remi,&lt;br /&gt;&lt;blockquote&gt;&lt;pre style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm&lt;br /&gt;wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm&lt;br /&gt;rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;Some warned to discourage using the RPMForge because of some conflict with the repository under EPEL. EPEL is known for the repository project for Fedora.&lt;br /&gt;&lt;br /&gt;For RPMForge, &lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;This repos might help you fixing problems on looking for available repository packages.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;This repositories are well applied for RHEL and CentOS as well as Fedora.&lt;br /&gt;&lt;br /&gt;Links that might be useful also on configuring or getting this repositories are&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;http://blog.famillecollet.com/pages/Config-en&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;http://fedoraproject.org/wiki/EPEL&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6623086184306938667?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6623086184306938667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6623086184306938667' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6623086184306938667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6623086184306938667'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/some-centosrhelfedora-rpm-repositories.html' title='Some CentOS/RHEL/Fedora rpm repositories for yum that would be helpful'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8916408884144857155</id><published>2010-04-27T22:51:00.000-07:00</published><updated>2010-04-27T23:14:41.255-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='ocr'/><title type='text'>tesseract compile with libtiff</title><content type='html'>I just stumbled upon with this &lt;a href="http://code.google.com/p/tesseract-ocr/"&gt;tesseract&lt;/a&gt; where I wasn't able to figure out what's the problem with libtiff since my libtiff, during configure, always says disabled, so I did able to fix it thru&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;./configure --prefix=/usr --with-libtiff=/usr/lib&lt;br /&gt;&lt;/span&gt;&lt;/blockquote&gt;I tried to let --with-libtiff only, not giving the specific path, but it fails. So specifying the right path, makes the problem fixed.&lt;br /&gt;&lt;br /&gt;The current version of 2.04 of tesseract, is what I am compiling for this stuff. My libtiff is, indeed, updated using the current version from http://www.remotesensing.org/libtiff.&lt;br /&gt;&lt;br /&gt;Remember to have the required librarires installed, and these are&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;libpng-dev&lt;br /&gt;libjpeg-dev&lt;br /&gt;libtiff-dev&lt;br /&gt;zlibg-dev&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;leptonica &lt;/span&gt;&lt;/blockquote&gt;which all of them are separate libraries that you need to install. &lt;a href="http://www.leptonica.org/"&gt;Leptonica&lt;/a&gt; does image analysis and image processing, which is really cool. tesseract use this as it helps them to &lt;a href="http://www.amazon.com/Handbook-Character-Recognition-Document-Analysis/dp/981022270X?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;OCR&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=981022270X" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=1573227749" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt; images.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8916408884144857155?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8916408884144857155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8916408884144857155' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8916408884144857155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8916408884144857155'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/tesseract-compile-with-libtiff.html' title='tesseract compile with libtiff'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2275058363316939396</id><published>2010-04-27T08:26:00.000-07:00</published><updated>2010-04-27T08:26:36.962-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='bash'/><title type='text'>Awk and Bash: Print Linux/Unix User Accounts</title><content type='html'>There are ways how to do this:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;awk -F':' '{ print $1 "\t"&amp;nbsp; $3 }' /etc/passwd&lt;/span&gt;&lt;/blockquote&gt;That would&amp;nbsp; print the username and the UID. You can also add the sort command at the end like&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;awk -F':' '{ print $1 "\t"&amp;nbsp; $3 }' /etc/passwd | sort&lt;/span&gt;&lt;/blockquote&gt;and this will sort alphabetically.&lt;br /&gt;&lt;br /&gt;To add filter in the result, you can&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;awk -F':' '$1 == "hachiko" { print $1 "\t"&amp;nbsp; $3 }' /etc/passwd | sort&lt;/span&gt;&lt;/blockquote&gt;where hachiko is a username you wanted to print with its UID.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2275058363316939396?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2275058363316939396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2275058363316939396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2275058363316939396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2275058363316939396'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/awk-and-bash-print-linuxunix-user.html' title='Awk and Bash: Print Linux/Unix User Accounts'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3176618981217518046</id><published>2010-04-26T08:49:00.000-07:00</published><updated>2010-04-26T09:18:02.884-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>MySQL: Create user and grant a user</title><content type='html'>To create a user, do&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;create user 'myuser' identified by 'iampassword';&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;To grant a user, do&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;grant select, alter, alter routine, create, create routine, create temporary tables, create user, create view, delete, drop, execute, file, grant option, index, insert, lock tables, process, references, reload, replication client,replication slave, show databases, show view, update, usage on *.* TO 'ipyrusc'@'localhost';&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;The strings "select, lock, alter, alter routine, etc..." are privileges that you can select to what privilige you want the user created to have. Note that the 'myuser' is specified when granting the priviliges.&lt;br /&gt;&lt;br /&gt;To assure this user exist, you can do query by&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;select user,host from mysql.user;&lt;/span&gt;&lt;/blockquote&gt;to show the users of &lt;a href="http://www.amazon.com/MySQL-4th-Paul-DuBois/dp/0672329387?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;MySQL&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0672329387" style="border: medium none ! important; margin: 0px ! important; padding: 0px ! important;" width="1" /&gt;.&lt;br /&gt;&lt;br /&gt;To know more about this, check the page about &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/create-user.html"&gt;granting&lt;/a&gt; and &lt;a href="http://dev.mysql.com/doc/refman/5.1/en/create-user.html"&gt;adding a user&lt;/a&gt; at &lt;a href="http://dev.mysql.com/"&gt;MySQL website&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3176618981217518046?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3176618981217518046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3176618981217518046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3176618981217518046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3176618981217518046'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/mysql-create-user-and-grant-user.html' title='MySQL: Create user and grant a user'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7508429051745962196</id><published>2010-04-26T02:52:00.000-07:00</published><updated>2010-04-26T02:52:11.373-07:00</updated><title type='text'>Just a Quick Guide For iptables</title><content type='html'>For adding a chain entry:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 80 -j ACCEPT &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 443 -j ACCEPT&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 21 -j ACCEPT&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 22 -j ACCEPT &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 110 -j ACCEPT &lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 143 -j ACCEPT&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -p tcp --dport 3000 -j ACCEPT&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -A INPUT -j DROP&lt;/span&gt;&lt;br style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;" /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; iptables -I INPUT 8 -p tcp --dport 9999 -j ACCEPT&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;First entry, adds port 80 (http) to be accepted, port 443 (https), port 21 (ftp), port 22 (ssh,scp, sftp), port 110 (pop3), port 143 (imap), port 3000 (custom set port for thin server--a ruby web server).&lt;br /&gt;&lt;br /&gt;Then,&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -A INPUT -j DROP&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;will drop everything that would connect to the server.&lt;br /&gt;&lt;br /&gt;The last entry&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -I INPUT 8 -p tcp --dport 9999 -j ACCEPT&lt;/span&gt;&lt;/blockquote&gt;will insert into the list at the 8 row of the entry, this is useful when you will be setting a specific priority of filtering a port.&lt;br /&gt;&lt;br /&gt;To delete an entry, you can do,&lt;br /&gt;&lt;blockquote&gt;&amp;nbsp;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -D INPUT 2&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;to delete the second row of the list, list can be viewed by issuing the command&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -L&lt;/span&gt;&lt;/blockquote&gt;&amp;nbsp;To flush all the result, you can do &lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -F&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;To add a chain that would only be specific to port intervals, let say, ban all the port that goes from port 20 - port 80, you can execute or add&lt;br /&gt;&lt;blockquote&gt; &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables -A INPUT -p tcp --dport 20:80 -m state --state NEW,ESTABLISHED -j REJECT&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;where --dport specifies the 20:80 (colon as the delimiter), and -m for extended match and may load extension (here the state), and --state for specifying the states (valid states are INVALID, NEW, ESTABLISHED), and -j to reject the attempt of opening a connection.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;To save your rules, you can execute&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;iptables-save &amp;gt; /etc/sysconfig/iptables&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;if your iptables config is in that directory path.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7508429051745962196?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7508429051745962196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7508429051745962196' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7508429051745962196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7508429051745962196'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/just-quick-guide-for-iptables.html' title='Just a Quick Guide For iptables'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-610262332228737783</id><published>2010-04-25T23:44:00.000-07:00</published><updated>2010-04-25T23:44:31.981-07:00</updated><title type='text'>CentOS "apxs" command not found</title><content type='html'>apxs is an Apachec extension tool.&lt;br /&gt;&lt;br /&gt;I realize that this tool, is by default, not installed under CentOS (or perhaps even RedHat).&lt;br /&gt;To fix this, just install it using yum by:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;yum install httpd-devel.i386&lt;/span&gt;&lt;/blockquote&gt;where apxs is installed under "httpd-devel" package.&lt;br /&gt;&lt;br /&gt;Hope this helps.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-610262332228737783?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/610262332228737783/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=610262332228737783' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/610262332228737783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/610262332228737783'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/centos-apxs-command-not-found.html' title='CentOS &quot;apxs&quot; command not found'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-9003392294763352478</id><published>2010-04-21T21:47:00.000-07:00</published><updated>2010-04-21T21:47:24.313-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='yum'/><title type='text'>Understanding The "yum.conf " and How Does It Like</title><content type='html'>&lt;h2&gt;&lt;a href="" name="SECTION00061000000000000000"&gt;&lt;/a&gt; &lt;/h2&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;So, what's a "yum.conf" can do?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;yum.conf is where you can meet your specific needs and support your own local repositories.  This is the route that will almost certainly be taken by most systems administrators who build their own repository.  To do this, start by &lt;em&gt;reading the yum.conf man pages&lt;/em&gt; that should have come with your distribution.  &lt;em&gt;Look over&lt;/em&gt; the default /etc/yum.conf that was installed by the RPM.  Finally, browse through the additional examples below.  Chances are pretty good that one of these will resources will provide a template that is adequate to get you started, and once you get things running at all a bit of experimentation will soon make you an expert.   So let's look at a yum.conf file that is fairly minimal - just enough to get you started:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[main]&lt;br /&gt;cachedir=/var/cache/yum&lt;br /&gt;debuglevel=2&lt;br /&gt;logfile=/var/log/yum.log&lt;br /&gt;&lt;br /&gt;[fedora-core]&lt;br /&gt;name = Fedora Core&lt;br /&gt;baseurl=http://www.myserver.org/fedora/&lt;br /&gt;gpgcheck=1&lt;/pre&gt;&lt;/blockquote&gt;&lt;pre&gt;&lt;/pre&gt;&lt;pre&gt;&lt;/pre&gt;Systems persons who are building a fedora mirror as we proceed should note that this yum.conf uses the repository we ``built'' in the previous section, where of course the actual URL should point to that repository.   Users who want to accomplish the same thing could instead paste in an entry from the list of public yum repositories linked above.  For example, here is a yum.conf file containing several repositories from that list:&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[main]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;cachedir=/var/cache/yum&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;debuglevel=2&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;logfile=/var/log/yum.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[fedora-stable-9]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;name=Fedora Project Stable RPMS for RHL 9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;baseurl=http://download.fedora.us/fedora/redhat/9/i386/yum/stable/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gpgcheck=1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;[fedora-updates-9]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;name=Fedora Project update RPMS for RHL 9&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;baseurl=http://download.fedora.us/fedora/redhat/9/i386/yum/updates/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;gpgcheck=1&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;br /&gt;From the comments, one could hope that these two repositories contain what is effectively Red Hat 9, as ported into the Fedora project, plus updates.  Note that we've turned on gpgcheck under the assumption that this is a good thing to do to ensure that the RPMs we grab haven't been trojanned.&lt;br /&gt;&lt;br /&gt;Note that yum has &lt;em&gt;many&lt;/em&gt; options that can be selected in the yum.conf file, only a &lt;em&gt;few&lt;/em&gt; of which are illustrated in these examples.  Each baseurl can have additional fallback repositories for additional stability and robustness.  gpgchecking can be enabled (causing each rpm to be examined to ensure that it is correctly signed).&lt;br /&gt;&lt;br /&gt;The &lt;b&gt;debuglevel&lt;/b&gt; can be cranked up or down to help diagnose problems. &lt;b&gt;pkgpolicy&lt;/b&gt; can be set to determine the order in which yum chooses to decide between two versions of the same package on different repositories it is using at the same time.  Packages can be listed to &lt;b&gt;&lt;em&gt;exclude&lt;/em&gt;&lt;/b&gt; them from the automated update process.&lt;br /&gt;&lt;br /&gt;The&lt;b&gt; failover method&lt;/b&gt; yum uses to select a server to use from a list of servers in a baseurl can be chosen.  More options may have been added since this article was written, or old options may have gone away.&lt;br /&gt;&amp;nbsp; &lt;br /&gt;So &lt;em&gt;read the man pages&lt;/em&gt; on yum.conf.  It is the &lt;em&gt;only&lt;/em&gt;  thing likely to be authoritative.  &lt;br /&gt;At this point we will assume that you are on a client, that you have a functional /etc/yum.conf installed that directs your system to a repository (that you built yourself or not) that is consistent with your system's existing RPM distribution, and that &lt;tt&gt;yum list&lt;/tt&gt; &lt;em&gt;works&lt;/em&gt; (as root) to list packages on the repository.  Now let's see what yum can do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-9003392294763352478?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/9003392294763352478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=9003392294763352478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9003392294763352478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9003392294763352478'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/understanding-yumconf-and-how-does-it.html' title='Understanding The &quot;yum.conf &quot; and How Does It Like'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1929201829022053104</id><published>2010-04-20T20:30:00.000-07:00</published><updated>2010-04-21T12:24:44.210-07:00</updated><title type='text'>CentOS php-common during updating PHP 5.2.13 version trouble</title><content type='html'>I went stumble with this php-common package which errs when I tried to install the PHP 5.2.13 version.&lt;br /&gt;&lt;br /&gt;So what I did, I do the command &lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;yum whatprovides php-curl&lt;/blockquote&gt;And the result gives me the following lines below:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Loaded plugins: fastestmirror, priorities&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Loading mirror speeds from cached hostfile&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* addons: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* base: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* extras: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* turbopanel-base: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* turbopanel-centos5: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;* update: p3plmirror02.prod.phx3.secureserver.net&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;addons                                                                                                                  |  951 B     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;addons/primary                                                                                                          |  201 B     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;base                                                                                                                    | 2.1 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;base/primary_db                                                                                                         | 1.6 MB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;extras                                                                                                                  | 1.1 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;extras/primary                                                                                                          | 107 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;extras                                                                                                                                 325/325&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-base                                                                                                         |  951 B     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-base/primary                                                                                                 |  72 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-base                                                                                                                        494/494&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-centos5                                                                                                      |  951 B     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-centos5/primary                                                                                              | 2.1 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;turbopanel-centos5                                                                                                                         8/8&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;update                                                                                                                  | 1.9 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;update/primary_db                                                                                                       | 463 kB     00:00&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;php-common-5.1.6-23.2.el5_3.i386 : Common files for PHP&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Repo        : base&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Matched from:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Other       : php-curl&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;php-common-5.1.6-24.el5_4.5.i386 : Common files for PHP&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Repo        : update&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Matched from:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Other       : php-curl&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;php-common-5.3.2-1.i386 : Common files for PHP&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Repo        : installed&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Matched from:&lt;/div&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Other       : Provides-match: php-curl&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Indeed, I do have 5.3.2--the latest PHP release, as of this posting--but I do need yet 5.2 version because of incompatibilities with the code which has done thru a rigorous testing.&lt;br /&gt;&lt;br /&gt;Since php-common has (-) dash inside the string, so I issue this command to remove the package php-common&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;yum remove php*5*3*&lt;/span&gt;&lt;/blockquote&gt;My main purpose of removing it was that, I installed the PHP 5.3 which is not the needed version of PHP I want, and php-common confuses the installation/update, indeed backward installation.&lt;br /&gt;&lt;br /&gt;After this, installing PHP by issuing the command&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;yum --disablerepo=* --enablerepo=webtatic --exclude=php*5.3* install php&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;installs everything that I need. Notice the repository named "webtatic", I installed this repo from it's website, or read this &lt;a href="http://www.webtatic.com/blog/2009/06/php-530-on-centos-5/"&gt;link&lt;/a&gt; how did I grab it or you can also try this repo from &lt;a href="http://blog.famillecollet.com/pages/Config-en"&gt;remi&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Issuing the command&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;php -v&lt;/div&gt;&lt;/blockquote&gt;&lt;br /&gt;shows&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;PHP 5.2.13 (cli) (built: Feb 28 2010 16:22:50)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Copyright (c) 1997-2010 The PHP Group&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies&lt;/span&gt;&lt;/blockquote&gt;Hope this makes helpful.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1929201829022053104?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1929201829022053104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1929201829022053104' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1929201829022053104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1929201829022053104'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/04/centos-php-common-during-updating-php.html' title='CentOS php-common during updating PHP 5.2.13 version trouble'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-5444023053826978013</id><published>2010-03-14T14:41:00.000-07:00</published><updated>2010-03-14T14:41:31.790-07:00</updated><title type='text'>Installing swftools on FreeBSD using port tools</title><content type='html'>Doing a &lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pkg_which swftools&lt;/span&gt; show nothing, and swftools needs to be installed. So what I did,&lt;br /&gt;I changed directory by&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /usr/ports/graphics/swftools/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then issued command&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make install clean&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;and encountered this error&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;===&amp;gt; &amp;nbsp; jpeg-8_1 depends on package: libtool&amp;gt;=2.2 - not found&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;===&amp;gt; &amp;nbsp; Found libtool-1.5.26, but you need to upgrade to libtool&amp;gt;=2.2.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;so I issued portupgrade command to upgrade my libtool by&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;portupgrade -r libtool&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /usr/ports/graphics/swftools/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;yet, another error I encountered.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;===&amp;gt; &amp;nbsp; An older version of graphics/jpeg is already installed (jpeg-6b_7)&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;You may wish to ``make deinstall'' and install this port again&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;by ``make reinstall'' to upgrade it properly.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;If you really wish to overwrite the old port of graphics/jpeg&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;without deleting it first, set the variable "FORCE_PKG_REGISTER"&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;in your environment or the "make install" command line.&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;i&gt;*** Error code 1&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then jpeg needs to be upgraded, I did uninstall the jpeg tool located in "&lt;i&gt;graphics/jpeg"&lt;/i&gt; under ports directory thru command:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd ../jpeg&lt;/span&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make deinstall&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make reinstall&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;then I go back to&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cd /usr/ports/graphics/swftools/&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and install thru command&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;make install clean&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After installation is finished, try issuing the command pdf2swf to test if it's properly installed and here's what I got:&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Usage: pdf2swf [-options] file.pdf -o file.swf&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-h , --help &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Print short help message and exit&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-V , --version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Print version info and exit&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-o , --output file.swf &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Direct output to file.swf. If file.swf contains '%' (file%.swf), then each page goes to a seperate file.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-p , --pages range &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Convert only pages in range with range e.g. 1-20 or 1,4,6,9-11 or&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-P , --password password &amp;nbsp; &amp;nbsp; &amp;nbsp; Use password for deciphering the pdf.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-v , --verbose &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Be verbose. Use more than one -v for greater effect.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-z , --zlib &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Use Flash 6 (MX) zlib compression.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-i , --ignore &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Allows pdf2swf to change the draw order of the pdf. This may make the generated&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-j , --jpegquality quality &amp;nbsp; &amp;nbsp; Set quality of embedded jpeg pictures to quality. 0 is worst (small), 100 is best (big). (default:85)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-s , --set param=value &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Set a SWF encoder specific parameter. &amp;nbsp;See pdf2swf -s help for more information.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-w , --samewindow &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;When converting pdf hyperlinks, don't make the links open a new window.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-t , --stop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Insert a stop() command in each page.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-T , --flashversion num &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Set Flash Version in the SWF header to num.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-F , --fontdir directory &amp;nbsp; &amp;nbsp; &amp;nbsp; Add directory to the font search path.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-b , --defaultviewer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Link a standard viewer to the swf file.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-l , --defaultloader &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Link a standard preloader to the swf file which will be displayed while the main swf is loading.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-B , --viewer filename &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Link viewer filename to the swf file.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-L , --preloader filename &amp;nbsp; &amp;nbsp; &amp;nbsp;Link preloader filename to the swf file.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-q , --quiet &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Suppress normal messages. &amp;nbsp;Use -qq to suppress warnings, also.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-S , --shapes &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Don't use SWF Fonts, but store everything as shape.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-f , --fonts &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Store full fonts in SWF. (Don't reduce to used characters).&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-G , --flatten &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Remove as many clip layers from file as possible.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-I , --info &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Don't do actual conversion, just display a list of all pages in the PDF.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-Q , --maxtime n &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Abort conversion after n seconds. Only available on Unix.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;so it's installed now. After I see it's already installed, I issued the command&amp;nbsp;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pkg_add -r swftools&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;However, I got an error&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/swftools.tbz: File unavailable (e.g., file not found, no access)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/swftools.tbz' by URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;root@mullimps21:/usr/ports/graphics/swftools &amp;gt; pkg_add -r swftools-0.9.0_2&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/swftools-0.9.0_2.tbz: File unavailable (e.g., file not found, no access)&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.3-release/Latest/swftools-0.9.0_2.tbz' by URL&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span class="Apple-style-span" style="font-family: Times;"&gt;but that's ok. pkg_add command installs the package to put under pakage list&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So that's all I did. Hope this helps ;-)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-5444023053826978013?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/5444023053826978013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=5444023053826978013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5444023053826978013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5444023053826978013'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/03/installing-swftools-on-freebsd-using.html' title='Installing swftools on FreeBSD using port tools'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3718988649002463175</id><published>2010-02-09T23:53:00.000-08:00</published><updated>2010-02-09T23:53:20.746-08:00</updated><title type='text'>Using sed with backreference as the replacement pattern</title><content type='html'>Tinkering with sed, I have manage to try using regular expressions using backreferences using the most common \N where N is the number of position inside the parenthesis.&lt;br /&gt;&lt;br /&gt;Searches and replaces the zoo.color to zoo['color'] or zoo.animals to zoo['animals']:&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;cat zoo.js | sed -E "s/(zoo)(\.)([a-zA-Z0-9]*)/\1['\3']/g"|less&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;\1&lt;/span&gt; = is the characters inside the first parenthesis w/c is the zoo&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;\3&lt;/span&gt; = is the characters inside the third parenthesis which involves alpha-numeric&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;"&gt;-E&lt;/span&gt; will interpret as regular expressions&amp;nbsp;as extended (modern) regular expressions rather than basic regular expressions (BRE's)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3718988649002463175?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3718988649002463175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3718988649002463175' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3718988649002463175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3718988649002463175'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/02/using-sed-with-backreference-as.html' title='Using sed with backreference as the replacement pattern'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-5931100346182057089</id><published>2010-01-31T22:42:00.000-08:00</published><updated>2010-01-31T22:42:02.838-08:00</updated><title type='text'>What is Love and Importance of Love?</title><content type='html'>&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; border-collapse: collapse; font-family: Verdana, helvetica, clean, sans-serif; font-size: small; line-height: 15px;"&gt;&lt;b style="line-height: 1.2em; outline-color: initial; outline-style: none; outline-width: initial;"&gt;First Letter to the Corinthians 12:31.13:1-13.&lt;/b&gt;&lt;br style="line-height: 1.2em; outline-color: initial; outline-style: none; outline-width: initial;" /&gt;&lt;br style="line-height: 1.2em; outline-color: initial; outline-style: none; outline-width: initial;" /&gt;Strive eagerly for the greatest&amp;nbsp;&lt;span class="yshortcuts" id="lw_1265005554_4" style="line-height: 1.2em; outline-color: initial; outline-style: none; outline-width: initial;"&gt;spiritual gifts&lt;/span&gt;. But I shall show you a still more excellent way. If I speak in human and angelic tongues but do not have love, I am a resounding gong or a clashing &lt;a href="http://www.amazon.com/Zildjian-14-Inch-ZBT-Crash-Cymbal/dp/B0002IP49W?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;cymbal&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=B0002IP49W" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /&gt;. And if I have the gift of prophecy and comprehend all mysteries and all knowledge; if I have all faith so as to move mountains but do not have love, I am nothing. If I give away everything I own, and if I hand my body over so that I may boast but do not have love, I gain nothing. &lt;a href="http://www.amazon.com/Other-Peoples-Love-Letters-Never/dp/0307382648?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;Love&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=0307382648" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /&gt; is patient, love is kind. It is not jealous, (love) is not pompous, it is not inflated, it is not rude, it does not seek its own interests, it is not quick-tempered, it does not brood over injury, it does not rejoice over wrongdoing but rejoices with the truth. It bears all things, believes all things, hopes all things, endures all things. Love never fails. If there are prophecies, they will be brought to nothing; if tongues, they will cease; if knowledge, it will be brought to nothing. For we know partially and we &lt;a href="http://www.amazon.com/Prophecy-Christopher-Walken/dp/6305268819?ie=UTF8&amp;amp;tag=toytosgeek-20&amp;amp;link_code=btl&amp;amp;camp=213689&amp;amp;creative=392969" target="_blank"&gt;prophesy&lt;/a&gt;&lt;img alt="" border="0" height="1" src="http://www.assoc-amazon.com/e/ir?t=toytosgeek-20&amp;amp;l=btl&amp;amp;camp=213689&amp;amp;creative=392969&amp;amp;o=1&amp;amp;a=6305268819" style="border: none !important; margin: 0px !important; padding: 0px !important;" width="1" /&gt; partially, but when the perfect comes, the partial will pass away. When I was a child, I used to talk as a child, think as a child, reason as a child; when I became a man, I put aside&amp;nbsp;&lt;span class="yshortcuts" id="lw_1265005554_5" style="-webkit-background-clip: initial; -webkit-background-origin: initial; background-attachment: initial; background-color: transparent; background-image: initial; background-position: initial initial; background-repeat: initial; border-bottom-color: initial; border-bottom-style: none; border-bottom-width: initial; cursor: pointer; line-height: 1.2em; outline-color: initial; outline-style: none; outline-width: initial;"&gt;childish things&lt;/span&gt;. At present we see indistinctly, as in a mirror, but then face to face. At present I know partially; then I shall know fully, as I am fully known. So faith, hope, love remain, these three; but the greatest of these is love.&amp;nbsp;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-5931100346182057089?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/5931100346182057089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=5931100346182057089' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5931100346182057089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5931100346182057089'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/01/what-is-love-and-importance-of-love.html' title='What is Love and Importance of Love?'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-7000462298443007533</id><published>2010-01-28T09:21:00.000-08:00</published><updated>2010-06-13T13:09:53.337-07:00</updated><title type='text'>Mac OS X Install MySQL, Apache + mod_xsendfile, PHP with iconv, gd, pdo, and bug fixes, and PHPMyAdmin</title><content type='html'>apache:&lt;br /&gt;- for apache + mod_xsendfile, read the &lt;a href="http://toytoygogie.blogspot.com/2010/01/modxsendfile-compiling-in-mac-os-x.html"&gt;blog post&lt;/a&gt; regarding on mod_xsendfile compiling w/in mac os x for apache module&lt;br /&gt;&lt;br /&gt;&lt;span style="color: #333333; font-family: Verdana, Arial, sans-serif; font-size: 12px;"&gt;&lt;/span&gt;php:&lt;br /&gt;&lt;br /&gt;sudo CFLAGS="-arch x86_64 -g -Os -pipe -no-cpp-precomp" CCFLAGS="-arch x86_64 -g -Os -pipe" CXXFLAGS="-arch x86_64 -g -Os -pipe" LDFLAGS="-arch x86_64 -bind_at_load" './configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-config-file-path=/etc/' '--with-config-file-scan-dir=/opt/local/var/db/php5' '--enable-bcmath' '--enable-ctype' '--enable-dom' '--enable-fileinfo' '--enable-filter' '--enable-hash' '--enable-json' '--enable-libxml' '--enable-pdo' '--enable-phar' '--enable-session' '--enable-simplexml' '--enable-tokenizer' '--enable-xml' '--enable-xmlreader' '--enable-xmlwriter' '--with-bz2=/opt/local' '--with-mhash=/opt/local' '--with-pcre-regex=/opt/local' '--with-readline=/opt/local' '--with-libxml-dir=/opt/local' '--with-zlib=/opt/local' '--disable-cgi' '--with-ldap=/usr' '--with-apxs2=/opt/local/apache2/bin/apxs' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-openssl' '--with-mcrypt=/opt/local/' '--with-mysql=/usr/local/mysql-5.1.42-osx10.6-x86_64/' '--with-iconv=/usr' '--with-curl=/opt/local' '--enable-mbstring' '--with-gd' '--with-jpeg-dir=/opt/local' '--with-png-dir=/opt/local' '--with-freetype-dir=/opt/local' '--with-t1lib=/opt/local' '--enable-gd-native-ttf' &amp;nbsp;--with-ttf&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;- afer running ./configure successfully, vi Makefile, then add -lresolv in EXTRA_LIBS assignment which would avoid the "error&amp;nbsp;_res_9_dn_expand" as undefined symbol (in php 5.2.12 this is fixed and won't be encountered anymore).&lt;br /&gt;- save then run make&lt;/div&gt;&lt;div&gt;- with-iconv problem bug was "_iconv_close" undefined symbol and the fix was&amp;nbsp; I did use the php 5.2.12 version and it works smoothly. &lt;br /&gt;- for php with mysql, use the downloaded mysql which are located in /usr/local/mysql-5.1.42-osx10.6-x86_64/ which contains the headers and the source, then point that thru '--with-mysql=/usr/local/mysql-5.1.42-osx10.6-x86_64/'&lt;br /&gt;- --with-ttf and&amp;nbsp;--enable-gd-native-ttf&amp;nbsp;will avoid this error:&lt;br /&gt;&lt;code&gt;&lt;span class="html"&gt;Fatal error: Call to undefined function  imagettftext()&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;Encountering the error above, you must also make clean before issuing the "make" command, else error will still keep resuming&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;mysql:&lt;/div&gt;&lt;div&gt;- http://dev.mysql.com/downloads/mysql/4.0.html then chose the&amp;nbsp;&lt;span style="color: #555555; font-family: verdana, arial, helvetica, sans-serif; font-size: 13px; line-height: 23px;"&gt;&lt;b style="background-color: transparent; border-width: 0px; font-size: 13px; margin: 0px; outline-width: 0px; padding: 0px; vertical-align: baseline;"&gt;Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;- install&lt;/div&gt;&lt;div&gt;- system preferences, start mysql or start mysql &amp;nbsp;on startup&lt;br /&gt;- files are in /usr/local/mysql&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;phpmyadmin:&lt;/div&gt;&lt;div&gt;-&amp;nbsp;PHP Fatal error: Class 'ArrayObject' not found in /www/phpmyadmin/libraries/List.class.php on line 14&lt;/div&gt;&lt;div&gt;- workaround is download thru PEAR though I manage it by copying the PEAR contents from my slackware linux box&lt;br /&gt;- ArrayObject is part of SPL (Standard PHP Library)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7000462298443007533?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7000462298443007533/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7000462298443007533' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7000462298443007533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7000462298443007533'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/01/mac-os-x-install-mysql-apache.html' title='Mac OS X Install MySQL, Apache + mod_xsendfile, PHP with iconv, gd, pdo, and bug fixes, and PHPMyAdmin'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-1209458860652941894</id><published>2010-01-28T09:16:00.000-08:00</published><updated>2010-01-28T09:16:15.490-08:00</updated><title type='text'>Mounting A Shared Folder from Mac OS X running samba to Linux</title><content type='html'>By executing the code below:&lt;br /&gt;&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&lt;span style="font-size: small;"&gt;mount -t cifs -o uid=1001,gid=100,username=boboyshariff //mymacosxnetbiosname/www ws_mac/www/&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;-t = cifs is the filing system rather than smbfs where CIFS stands for Common Internet File System (CIFS) is a &lt;a class="inline" href="http://searchnetworking.techtarget.com/sDefinition/0,,sid7_gci212839,00.html"&gt;protocol&lt;/a&gt; that lets programs make requests for files and services on remote computers on the Internet. When trying to use smbfs, you will be prompted by a kernel warning saying &lt;i&gt;"smbfs is deprecated and will be removed from the 2.6.27 kernel. Please migrate to cifs"&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;-o = if you specify some options specially when dealing with file permission and ownership or account credentials on accessing the smb server remotely. uid is what user id is to be used when it's shared to your linux local, gid where the group id to be used for the directory permission and username is the username from remote server running samba. Note that password will be prompted afterwards which is pretty secure.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note also that mymacosxnetbiosname can be an ip or a domain name.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1209458860652941894?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1209458860652941894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1209458860652941894' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1209458860652941894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1209458860652941894'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/01/mounting-shared-folder-from-mac-os-x.html' title='Mounting A Shared Folder from Mac OS X running samba to Linux'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-719377328166531866</id><published>2010-01-18T00:07:00.000-08:00</published><updated>2010-01-18T00:07:15.911-08:00</updated><title type='text'>mod_xsendfile compiling in mac os x leopard and snow leopard for i386 or x86_64 arch type</title><content type='html'>&lt;a href="http://tn123.ath.cx/mod_xsendfile/"&gt;&lt;i&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;Mod_Xsendfile&lt;/span&gt;&lt;/i&gt;&lt;/a&gt;&lt;i&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;&amp;nbsp;i&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="font-family: 'Trebuchet MS', sans-serif;"&gt;s a small Apache2 module that processes&amp;nbsp;X-SENDFILE headers registered by the original output handler."&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;If you did encountered trouble integrating the module for XSendfile for Apache in Mac OS X, I manage to compile it by passing the flags which would suffice the architecture of the processor's model.&lt;br /&gt;&lt;br /&gt;apxs -cia -Wc,"-arch x86_64" -Wl,"-arch x86_64" mod_xsendfile.c&lt;br /&gt;&lt;br /&gt;&lt;b&gt;-Wc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;the compiler flags&lt;br /&gt;&lt;b&gt;-Wl &lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; the linker flags.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That is applicable only if your arch type is x86_64 in Mac. I have Snow Leopard in my desktop, priorly it was Leopard 10.5.8.&lt;br /&gt;&lt;br /&gt;For Leopard 10.5.8, It does works when you pass "-arch i386" for compiler flags and linker flags. This works like a charm and Apache doesn't end up segmentation fault anymore.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-719377328166531866?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/719377328166531866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=719377328166531866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/719377328166531866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/719377328166531866'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/01/modxsendfile-compiling-in-mac-os-x.html' title='mod_xsendfile compiling in mac os x leopard and snow leopard for i386 or x86_64 arch type'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2666239014831824967</id><published>2010-01-17T04:42:00.000-08:00</published><updated>2010-01-17T04:59:08.109-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Java - make a jar file and include external classes or jar files, creating keystore, and signing a jar app</title><content type='html'>&lt;h2&gt;Compiling java app&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;D:\java_apps\myapp&amp;gt;javac -verbose -sourcepath src_code_dir -classpath extlib\jai-1_1_4-pre-dr-b03-lib-windows-i586-28_Sep_2009\lib\ext\jai_codec.jar;"C:\Program Files\Java\jre6\lib\plugin.jar"; -d sod sod\org\myapp\ScanDriverApplet.java&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;-d&lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; destination directory for class files&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;-verbose &lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;includes information about each class loaded and each source&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file compiled.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;b&gt;-classpath&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;Set the user class path, overriding the user class path in the&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;CLASSPATH&amp;nbsp;environment variable. If neither&amp;nbsp;CLASSPATH&amp;nbsp;or&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -classpath&amp;nbsp;is specified, the user class path consists&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; of the current directory. See&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.blogger.com/classpath.html"&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;Setting the Class Path&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;for more&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; details.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; If the&amp;nbsp;-sourcepath&amp;nbsp;option is not specified, the user class path&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is searched for source files as well as class files.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;Creating a keystore&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;D:\java_apps\myapp&amp;gt;keytool -keystore&amp;nbsp;mykeystorefilename&amp;nbsp;-genkey -alias myappalias&lt;br /&gt;&lt;br /&gt;-keystore &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;The keystore (database file) location. Defaults to the file&amp;nbsp;&lt;em&gt;.keystore&lt;/em&gt;&amp;nbsp;in the user's home directory, as determined by the "user.home" system property, whose value is described in&lt;a href="http://www.blogger.com/post-edit.g?blogID=727845593412176314&amp;amp;postID=2666239014831824967#KeystoreLoc"&gt;Keystore Location&lt;/a&gt;.&lt;br /&gt;-genkey &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Generates a key pair (a public key and associated private key)&lt;br /&gt;-alias &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; alias will be used to&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Results to:&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Enter keystore password:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Re-enter new password:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is your first and last name?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]:&amp;nbsp; My Sample Inc.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is the name of your organizational unit?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]: &amp;nbsp;My Sample Inc.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is the name of your organization?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is the name of your City or Locality?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is the name of your State or Province?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;What is the two-letter country code for this unit?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [Unknown]:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Is CN=My Sample Inc., OU=My Sample Inc., O=Unknown, L=Unknown, ST=Unknown, C&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;=Unknown correct?&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; [no]:&amp;nbsp; yes&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;Enter key password for &lt;/span&gt;&lt;/span&gt;&lt;braynechildscanner&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (RETURN if same as keystore password):&lt;br /&gt;&lt;br /&gt;D:\java_apps\myapp&amp;gt;&lt;/span&gt; &lt;/span&gt; &lt;/braynechildscanner&gt;&lt;br /&gt;&lt;braynechildscanner&gt;&lt;br /&gt;&lt;/braynechildscanner&gt;&lt;br /&gt;&lt;h2&gt;Creating a jar file&lt;/h2&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;D:\java_apps\my_app&amp;gt;jar -cvfe ../myapp.jar -C org&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;-C &lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt;T&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;emporarily changes directories (&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;cd&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;dir&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;) during execution of the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;jar&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;command while processing the following&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;em&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;inputfiles&lt;/span&gt;&lt;/span&gt;&lt;/em&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;argument. Its operation is intended to be similar to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;-C&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;option of the UNIX&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;tar&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;utility. For example:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;jar uf foo.jar -C classes bar.class&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;would change to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;classes&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;directory and add the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bar.class&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;from that directory to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;foo.jar&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;. The following command,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;jar uf foo.jar -C classes . -C bin xyz.class&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;would change to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;classes&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;directory and add to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;foo.jar&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;all files within the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;classes&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;directory (without creating a classes directory in the jar file), then change back to the original directory before changing to the&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bin&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;directory to add&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;xyz.class&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;foo.jar&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;. If&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;classes&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;holds files&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bar1&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;bar2&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;, then here's what the jar file would contain using&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;jar tf foo.jar&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;pre&gt;&lt;span style="font-size: small;"&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;META-INF/&lt;br /&gt;META-INF/MANIFEST.MF&lt;br /&gt;bar1&lt;br /&gt;bar2&lt;br /&gt;xyz.class&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;/blockquote&gt;&lt;braynechildscanner&gt;&lt;br /&gt;&lt;br /&gt;&lt;/braynechildscanner&gt;&lt;br /&gt;&lt;h2&gt;Signing a jar app: This avoid "Unable to create temporary file" and permission issues, while running applet...&lt;/h2&gt;D:\java_apps\my_app&amp;gt;jarsigner -keystore&amp;nbsp;mykeystorefilename&amp;nbsp;myapp.jar&amp;nbsp;myappalias&lt;br /&gt;&lt;b&gt;Results to:&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-family: 'Courier New', Courier, monospace;"&gt;&lt;span style="font-size: small;"&gt; Enter Passphrase for keystore:&lt;br /&gt;&lt;br /&gt;Warning:&lt;br /&gt;The signer certificate will expire within six months.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The file size of the jar file will be updated.&lt;/span&gt;   &lt;/span&gt;&lt;span style="font-size: small;"&gt;   &lt;/span&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2666239014831824967?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2666239014831824967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2666239014831824967' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2666239014831824967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2666239014831824967'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2010/01/java-make-jar-file-and-include-external.html' title='Java - make a jar file and include external classes or jar files, creating keystore, and signing a jar app'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-589435104751918865</id><published>2009-11-10T14:58:00.000-08:00</published><updated>2009-11-10T15:15:04.323-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Happy 5th Year Firefox! Would It Still Be The Best Browser In The Future?</title><content type='html'>&lt;div style="font-family: &amp;quot;Helvetica Neue&amp;quot;,Arial,Helvetica,sans-serif; text-align: center;"&gt;&lt;span style="font-size: large;"&gt;&lt;b&gt;&lt;a href="http://www.spreadfirefox.com/5years/en-US/"&gt;Happy 5th Birthday Firefox&lt;/a&gt;!&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: auto; padding: 2px; text-align: center;"&gt;&lt;a href="http://www.spreadfirefox.com/5years/en-US/"&gt;&lt;img border="0" src="http://mozgull.bogomil.info/Firefox5b.png" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Glad to hear and celebrate a prospering success of an open source browser, Firefox, in 5 years in a row beating the Microsoft's Internet Explorer. Firefox was release on November 9, 2004 written by the Mozilla geeks which I would say, runs in a cross-platform (M$ Window$, Mac OS X, Linux/Unix) just like &lt;a href="http://java.sun.com/"&gt;Sun Microsystem's Java&lt;/a&gt; programming language results in &lt;i&gt;"software that is portable across multiple machine architectures, operating systems, and graphical user interfaces, secure, and high performance"&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;Due to Firefox innovative technology in the browser arena, many of the browsers that are up-to-date being innovative, and does alleviate its flaws to something more reliable &lt;a href="http://en.wikipedia.org/wiki/User_experience"&gt;User Experience&lt;/a&gt;, obviously, Internet Explorer 8 (I feel being cynical).&lt;br /&gt;&lt;br /&gt;Firefox still my best choice, not to mention the fast pacing Google's Chrome browser, compared to other browsers. Safari does a good job specially loading a heavy AJAX application. &lt;br /&gt;&lt;br /&gt;So what makes Firefox be my best choice and be my best browser of all? Well, Firefox is extensible and does has lots of add-on's, just like your favorite Youtube downloader :D. It's very helpful for a developer, it has lots of promises that can offer and bring forth to me as a user or a developer. You can check also for Firefox's &lt;a href="http://hacks.mozilla.org/2009/10/orientation-for-firefox/"&gt;"new device API for Firefox 3.6: orientation"&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;However, it seems that Google's Chrome is going more far from its infancy and they are really doing a pretty good job, specially on their development for Chrome OS and their &lt;a href="http://wave.google.com/help/wave/about.html#video"&gt;Google Wave&lt;/a&gt;. Google focuses much more on desktop applications that is optimized for data exchange and software in the cloud. I found it more innovative in their focus on making OS in the cloud, whereas Firefox is on the user-level but extensible on making it just like Chrome.&lt;br /&gt;&lt;br /&gt;Chrome is much better on loading AJAX requests load than Firefox. Mostly I got hangs or browser crash which I think it's because of too much add-on's I installed or there's really an underlying bug in Firefox (though I experience this in my Slack).&lt;br /&gt;&lt;br /&gt;Well, still, Firefox is my best friend! I have &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/1843"&gt;firebug&lt;/a&gt;, I have &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/60"&gt;web developer tools&lt;/a&gt;, I have a validator for my XHTML/CSS tags (&lt;a href="http://www.totalvalidator.com/tool/extension.html"&gt;Total Validator&lt;/a&gt; or &lt;a href="http://users.skynet.be/mgueury/mozilla/"&gt;HTML Validator&lt;/a&gt;, I have &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/3829"&gt;Live HTTP headers&lt;/a&gt;, Web Mail Notifier, Answer.com's very helpful add-on, and as well, I can transfer through FTP using &lt;a href="http://fireftp.mozdev.org/"&gt;FireFTP &lt;/a&gt;and install FireFTP if my privileges are stricted for any installation, like Filezilla FTP.&lt;br /&gt;&lt;br /&gt;I might rather say that, Firefox still has success in the user-level and deemed to be most usable browser as an alternative to Internet Explorer. However, Google might be enthroned if Firefox cannot take the advantage of it's massive users to take thrive more on it's development tools (XUL), extensibility, and its innovative philosophy. We know Google is really kicking asses because of their cool technologies developed, and made it open source as well, which worries the Firefox community.&lt;br /&gt;&lt;br /&gt;Some articles I've read which you might also be interested are:&lt;br /&gt;&lt;a href="http://www.pcworld.com/businesscenter/article/181854/can_firefox_last_five_more_years_forecast_cloudy.html"&gt;Can Firefox Last Five More Years? Forecast: Cloudy&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.pcworld.com/businesscenter/article/181746/firefox_five_years_in_the_open_source_hen_house.html"&gt;Firefox: Five Years In The Open Source Hen House&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Checkout also FFEHR (an electronic health record) &lt;a href="http://trac.afterfivetech.com/ffehr/"&gt;http://trac.afterfivetech.com/ffehr/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enjoy reading!!! =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-589435104751918865?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/589435104751918865/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=589435104751918865' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/589435104751918865'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/589435104751918865'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/11/happy-5th-year-firefox-would-it-still.html' title='Happy 5th Year Firefox! Would It Still Be The Best Browser In The Future?'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8823182698002564573</id><published>2009-11-08T20:05:00.000-08:00</published><updated>2009-11-08T21:15:53.487-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Changing the Keyword Location Search Engine For Firefox</title><content type='html'>If you might notice, installing Yahoo toolbars might override the settings in your Mozilla Firefox browser. I am not quite fan of Yahoo's search algorithm, as it seems quite naive to me, and I need to change the search engine using Google.&lt;br /&gt;&lt;br /&gt;To change it, just type &lt;i&gt;(see image below)&lt;/i&gt;:&lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;about:config &lt;br /&gt;&lt;/div&gt;&lt;br /&gt;on the location toolbar of your Mozilla Firefox browser. Then search for &lt;br /&gt;&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;keyword.URL&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;then double click it or right click, and select &lt;b&gt;Modify &lt;/b&gt;and paste this&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;http://www.google.com/search?btnI=I'm+Feeling+Lucky&amp;amp;q=&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Try typing keywords on your location bar and hit enter, you will be redirected to a particular site, or else the Google's default search page.&lt;br /&gt;&lt;br /&gt;Happy Googling!!! ;-)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s812.photobucket.com/albums/zz50/toytoygogie/?action=view&amp;amp;current=aboutconfig.jpg" target="_blank"&gt;&lt;img alt="about config" border="0" src="http://i812.photobucket.com/albums/zz50/toytoygogie/aboutconfig.jpg" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden" /&gt;&lt;input id="jsProxy" onclick="jsCall();" type="hidden" /&gt;&lt;br /&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;br /&gt;If you're viewing this blog from a feed, &lt;a href="http://toytoygogie.blogspot.com/2009/11/changing-keyword-location-search-engine.html"&gt;click here&lt;/a&gt; to fully read this post =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8823182698002564573?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8823182698002564573/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8823182698002564573' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8823182698002564573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8823182698002564573'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/11/changing-keyword-location-search-engine.html' title='Changing the Keyword Location Search Engine For Firefox'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-5507429271472572183</id><published>2009-11-07T10:27:00.000-08:00</published><updated>2009-11-07T11:07:57.591-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sports'/><title type='text'>Pacquiao vs. Cotto bout on November 14, 2009</title><content type='html'>I just see the HBO's Episode for the fight of &lt;a href="http://en.wikipedia.org/wiki/Manny_Pacquiao"&gt;Manny "Pacman" Pacquiao&lt;/a&gt; over Puerto Rico's pride, &lt;a href="http://en.wikipedia.org/wiki/Miguel_%C3%81ngel_Cotto"&gt;Miguel Cotto&lt;/a&gt; in youtube.com.&lt;br /&gt;&lt;br /&gt;Most analysts, still favors Manny Pacquiao for his abilities in the boxing ring, with speed, strong punches, and a good training along with his coach, &lt;a href="http://en.wikipedia.org/wiki/Freddy_Roach"&gt;Freddie Roach&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Miguel Cotto stands at 5'7 with with 34 winds, 27 knockouts, and 1 Loss. While Manny Pacquiao has 49 wins, 37 knockouts, 3 losses, and 2 draws.&lt;br /&gt;&lt;br /&gt;Both of them shares the prominence and noble respect with their respective country, &lt;a href="http://en.wikipedia.org/wiki/Philippines"&gt;Philippines&lt;/a&gt; for Pacquiao, and &lt;a href="http://en.wikipedia.org/wiki/Puerto_Rico"&gt;Puerto Rico&lt;/a&gt;, for Miguel Cotto, as heroes bringing forth the name of their country on their behalf in the sports entertainment. &lt;br /&gt;&lt;br /&gt;I both salute for these guys but only one can win on their match. I love Manny's speed and strong punches, and I love Cotto's stance, looks like a ferocious bull to me, and his devastating punches just like Manny too.&lt;br /&gt;&lt;br /&gt;We'll see what they can do in the ring, and of course, entertain us with full satisfaction! On November 14 (15 hours ahead of our time), watch their fight which will be aired via pay-per-view. &lt;br /&gt;&lt;br /&gt;I will try to find a live streaming for their fight, with no commercial breaks, and put the link here in my blog. &lt;br /&gt;&lt;br /&gt;Watch the video for the first Episode of their fight. Hope you'll enjoy!&lt;br /&gt;&lt;br /&gt;&lt;object height="340" width="560"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/SB4IEQzm7uE&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube-nocookie.com/v/SB4IEQzm7uE&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;If you're viewing this blog from a feed, &lt;a href="http://toytoygogie.blogspot.com/2009/11/i-just-see-hbos-episode-for-fight-of.html"&gt;click here to fully read this post&lt;/a&gt; =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-5507429271472572183?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/5507429271472572183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=5507429271472572183' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5507429271472572183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5507429271472572183'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/11/i-just-see-hbos-episode-for-fight-of.html' title='Pacquiao vs. Cotto bout on November 14, 2009'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6209142978212044376</id><published>2009-11-07T09:29:00.000-08:00</published><updated>2009-11-07T11:08:54.946-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='comedy'/><title type='text'>Skeleton Prank Riding on Bike and Taxicab - Very Funny</title><content type='html'>I really love this very funny prank video from Brazil. It's about frightening the people, wittingly, with those skeleton props using a remote device to obtain manipulation over the vehicles had been used for this video.&lt;br /&gt;&lt;br /&gt;The first video, shows a skeleton--resembles like "&lt;a href="http://ia.media-imdb.com/images/M/MV5BMTk1Mjc5MDg4M15BMl5BanBnXkFtZTYwNDc4MTU3._V1._SX485_SY273_.jpg"&gt;Ghost Rider&lt;/a&gt;"--riding on a bike and yawping on those people walking alongside the cemetery. Watch it and, I bet no penny would be wasted on your time. It really scrumbles my stomach because of so much laughter. I can't imagine if I would be the victim, I might perhaps throw a heavy stuff I can grab on that Skeleton! LOL!!!! I put the translation on the first video below the video object. &lt;img border="0" src="http://1.bp.blogspot.com/_YYvOx35ywi4/SvWtfIA9s8I/AAAAAAAAABA/d1DMIdShuw4/s200/laugh.png" style="border: 0px none; vertical-align: text-bottom;" /&gt;&lt;br /&gt;&lt;br /&gt;Note: For the translation on the first video, I just relay on one of the comments where the skeleton&lt;br /&gt;is saying, "Hey you, do you want a ride to hell muahahahaha, don't run I will get you one by one!",&lt;br /&gt;and on the drunk or the hobo part, he said "hey you drunk let me take you to hell muahahahahaha"...&lt;br /&gt;Really, hahahaha! Very funny!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/4PPLAi7mPM0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube-nocookie.com/v/4PPLAi7mPM0&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The second video, is still the same, but on a different vehicle which is a taxicab.&amp;nbsp; Very funny prank!!! Watch them, and hope you'll enjoy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/SBJ7NM-O3Is&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube-nocookie.com/v/SBJ7NM-O3Is&amp;hl=en&amp;fs=1&amp;color1=0x2b405b&amp;color2=0x6b8ab6&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you're viewing this blog from a feed, &lt;a href="http://toytoygogie.blogspot.com/2009/11/i-really-love-this-very-funny-prank.html"&gt;click here to fully read this post&lt;/a&gt; =)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6209142978212044376?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6209142978212044376/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6209142978212044376' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6209142978212044376'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6209142978212044376'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/11/i-really-love-this-very-funny-prank.html' title='Skeleton Prank Riding on Bike and Taxicab - Very Funny'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_YYvOx35ywi4/SvWtfIA9s8I/AAAAAAAAABA/d1DMIdShuw4/s72-c/laugh.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-4610427585886906197</id><published>2009-11-02T03:27:00.000-08:00</published><updated>2009-11-02T04:06:18.982-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='philippines'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><title type='text'>Higante of Ely Buendia and Francis "Kiko" Magalona</title><content type='html'>Have you heard of this song?&lt;br /&gt;&lt;br /&gt;Such a great composition! I was waiting for this album to be release and hearing this significant collaboration of two&lt;br /&gt;famous legendary music icon in the Philippines, &lt;a href="http://en.wikipedia.org/wiki/Ely_Buendia"&gt;Ely Buendia&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Francis_Magalona"&gt;Francis Durango Magalona&lt;/a&gt;. Their hit song entitled "Higante" (which means Giant) top at the Philippine charts at #20 in Myx and ended at #10 in the month of October.&lt;br /&gt;&lt;br /&gt;The lyrics of the song seems embodies some political views or power because of the abusive power that the "Higante" has, oppressing "Higante's" diminutives.&lt;br /&gt;&lt;br /&gt;Have a listen to their video, it's really a cool song!&lt;br /&gt;Here's the video of their gigantic song, "Higante" courtesy of &lt;a href="http://www.youtube.com/"&gt;Youtube&lt;/a&gt;:&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/scZfP3NYJr0&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube-nocookie.com/v/scZfP3NYJr0&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6&amp;amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I posted the lyrics of the song below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Higante Lyrics&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;(Ely Buendia)&lt;br /&gt;Narito palagi&lt;br /&gt;Di nawawala&lt;br /&gt;Ang bendisyon ng pari&lt;br /&gt;Laging nasakanya&lt;br /&gt;'Sing taas ng ulap&lt;br /&gt;Ang kanyang tindig&lt;br /&gt;Nakaupo sa palad&lt;br /&gt;Ang buong daigdig&lt;br /&gt;&lt;br /&gt;Chorus:&lt;br /&gt;Ahhhhhh&lt;br /&gt;Siya ay dambuhala&lt;br /&gt;Siya'y nakakalula&lt;br /&gt;Dadalhin ka niya&lt;br /&gt;Sa sukdulan&lt;br /&gt;&lt;br /&gt;(Francis M.)&lt;br /&gt;Tumingala sa langit&lt;br /&gt;Kung nais mong makita&lt;br /&gt;Ang higanteng panget&lt;br /&gt;Tila naninindak&lt;br /&gt;Sa noo nakasipa&lt;br /&gt;Ang aking saltik&lt;br /&gt;Sa lakas ng tira&lt;br /&gt;Sa lupa siya humalik&lt;br /&gt;&lt;br /&gt;Chorus:&lt;br /&gt;Ahhhhhh&lt;br /&gt;Siya ay dambuhala&lt;br /&gt;Siya'y nakakalula&lt;br /&gt;Dadalhin ka niya&lt;br /&gt;Sa sukdulan&lt;br /&gt;&lt;br /&gt;maliliit na tao ay walang kalaban-laban&lt;br /&gt;sino ka kung makaasta&lt;br /&gt;isa kang kontra bida diba&lt;br /&gt;maliliit na tulad namin sinasaktan mo at kinakain&lt;br /&gt;magtago ka na dambuhala kakampi namin si bathala&lt;br /&gt;kung ayaw mo na maniwala sa bato mapipinsala&lt;br /&gt;&lt;br /&gt;Ahhhhhh&lt;br /&gt;http://www.elyricsworld.com/higante_lyrics_ely_buendia.html&lt;br /&gt;Siya ay dambuhala&lt;br /&gt;Siya'y nakakalula&lt;br /&gt;Dadalhin ka niya&lt;br /&gt;&lt;br /&gt;Ahhhhhh&lt;br /&gt;Siya ay dambuhala&lt;br /&gt;Siya'y nakakalula&lt;br /&gt;Dadalhin ka niya&lt;br /&gt;Sa sukdulan&lt;br /&gt;&lt;br /&gt;Ahhhhhh Ahhhhh&lt;br /&gt;Siya ay dambuhala&lt;br /&gt;Siya'y nakakalula&lt;br /&gt;Dadalhin ka niya&lt;br /&gt;Sa sukdulan&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4610427585886906197?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4610427585886906197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4610427585886906197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4610427585886906197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4610427585886906197'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/11/higante-of-ely-buendia-and-francis-kiko.html' title='Higante of Ely Buendia and Francis &quot;Kiko&quot; Magalona'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2099637067081340768</id><published>2009-10-30T20:23:00.000-07:00</published><updated>2009-10-30T21:07:58.542-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><category scheme='http://www.blogger.com/atom/ns#' term='technology'/><category scheme='http://www.blogger.com/atom/ns#' term='computing'/><title type='text'>Cloud Computing - What is it?</title><content type='html'>"Soon thereafter, everything we are using will stay in the cloud!"&lt;br /&gt;&lt;br /&gt;Well, what does really "&lt;a href="http://en.wikipedia.org/wiki/Cloud_computing"&gt;Cloud Computing&lt;/a&gt;" means?&lt;br /&gt;&lt;br /&gt;Salesforce.com has a pretty decent explanation about cloud computing on how this operates between the user and within the Internet. Cloud means, the Internet. Conceptually, Cloud Computing is designed to make abstracted behind the users of the software, where no need for in-depth knowledge of some specific software. Actually, Cloud Computing will be far more adapted&lt;br /&gt;for so many years.&lt;br /&gt;&lt;br /&gt;Watch this movie from Salesforce.com:&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/ae_DKNwK_ms&amp;amp;rel=0&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;feature=player_profilepage&amp;amp;fs=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/ae_DKNwK_ms&amp;amp;rel=0&amp;amp;color1=0xb1b1b1&amp;amp;color2=0xcfcfcf&amp;amp;feature=player_profilepage&amp;amp;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;Well, why should I say that? Well, as we all know, globally, we are down with such crisis. Financially really hit many countries down, specially the United States of America (well, thanks God, this happens because alternatives are arising!). Cloud computing doesn't want you to buy or pay every applications you use. It does only counts every time you use your applications, basing on how much have you used or scaling your statistics of usage with the applications you have utilized, by either personal, business, or some social networking. It's actually ideal and of course, economical.&lt;br /&gt;&lt;br /&gt;I would say, Cloud Computing has a vast idea behind other known computing development technology, such as &lt;a href="http://en.wikipedia.org/wiki/Grid_computing"&gt;Grid Computing&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/Utility_computing"&gt;Utility Computing&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;And what are those things might we consider as disadvantages of this?&lt;br /&gt;Well, this is really tough for us, like Software Engineers. Since users behind the cloud computing, it's predictable that it's rapid&lt;br /&gt;growth of traffic, and of course subscription, might deliver from pain-in-the-ass sticking in our neck. Well, it's very tough, of course, to handle such a massive amount of networks, but if a good or perfect algorithm has been appropriately applied and involved as a practice, as well as smart people are living in, well, this can be just a plain documentation.&lt;br /&gt;&lt;br /&gt;Cloud computing is much known for running virtualization  which is, typically a perfect tool because, cloud computing involves cost-cutting, of course! What's the benefit of this approach, if we don't think of a much better solution, isn't it?&lt;br /&gt;&lt;br /&gt;As of today, various companies are really developing on these stuffs. IBM has their Autonomic Computing, which heals by itself, fix itself, and it does also optimization being transparent to the user. I actually love how their algorithm behind it's philosophies are applied. It follows actually how our motor neurons work. Sounds interesting? Well have a visit on their page &lt;a href="http://www.ibm.com/autonomic/"&gt;http://www.ibm.com/autonomic/&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;With all these stuffs, I'm so happy that these various technologies, including Cloud Computing is emerging. It phases our knowledge, mind, and impossibilities to possibilities where people can think of various alternatives for a better live, in virtual world.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2099637067081340768?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2099637067081340768/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2099637067081340768' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2099637067081340768'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2099637067081340768'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/cloud-computing-what-is-it.html' title='Cloud Computing - What is it?'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3420152794403292332</id><published>2009-10-29T01:50:00.000-07:00</published><updated>2009-10-30T08:47:32.430-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Installing wpa_supplicant in Slackware</title><content type='html'>Ever since I'm connecting to my wireless router &lt;a href="http://www.superwarehouse.com/Linksys_Wireless-G_Broadband_Router_for_Linux/WRT54GL/ps/664524"&gt;WRT54GL&lt;/a&gt; from LinkSys, I never thought of WPA and the wpa_supplicant for my &lt;a href="http://slackware.com/"&gt;Slackware&lt;/a&gt; &lt;a href="http://distrowatch.org"&gt;Linux&lt;/a&gt; box. I do connect through &lt;a href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy"&gt;WEP&lt;/a&gt; security mode for my encryption algorithm. I know it's just a basic authorization for my wireless, instead with wpa_supplicant for WPA, until I found out that my neighbors are abusing my connection, and don't want my stuffs to be exposed.&lt;br /&gt;&lt;br /&gt;It was funny actually when my neighbors approach me and ask me if I'm the owner of that connection that they able to detect, and say, "hey, don't put any password on that". Really, it sounds daring and hilarious but rude.&lt;br /&gt;&lt;br /&gt;I do connect from my Slackware Linux via shell using the commands:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;$&gt; ifconfig wlan0 up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; iwlist wlan0 scan&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;$&gt; iwconfig wlan0 essid "myssid" key "8EEDEEFE41"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&gt; dhcpcd wlan0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The first command will take my wireless LAN card to be up, which actually down during start up. Somewhat like, disable and enable if in Windows environment.  The second command will scan for available wireless connections in my area. It's actually fine to not do this, but I do usually check how my wireless status is, and if I have some available connections that I can reach through, that is lurking for some free connections. The third command will be the one to grant me access for my router and lastly, dhcpcd will connect the interface through the Internet.&lt;br /&gt;&lt;br /&gt;WEP, which stands for Wired Equivalent Privacty, is already a deprecated algorithm for wireless connections. There are actually lots of issues with its algorithm for being weak and is also susceptible to be hacked easily. I remember, I found some videos in the Internet able to grant the WEP key but there's a lot of tools involve to achieve this. Because of those things, I choose to use WPA.&lt;br /&gt;&lt;br /&gt;That's all about with WEP!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WPA stands for &lt;a href="http://en.wikipedia.org/wiki/Wi-Fi_Protected_Access"&gt;Wi-Fi Protected Access&lt;/a&gt;. My setup is just simple, achieving to connect through my WPA setup in my wireless network. Installing wpa_supplicant is easier through Slackbuilds, though I use the binary package, the .tgz file for my installation.&lt;br /&gt;&lt;br /&gt;So I downloaded the package for wpa_supplicant for my Slackware at http://connie.slackware.com/~alien/slackbuilds/wpa_supplicant/pkg/12.0/wpa_supplicant-0.5.9-i486-1.tgz at http://connie.slackware.com/~alien/slackbuilds/wpa_supplicant/pkg/12.0/ list.&lt;br /&gt;&lt;br /&gt;Then issue the command:  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;$&gt; installpkg wpa_supplicant-0.5.9-i486-1.tgz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Afterwards, I move first the original file named /etc/wpa_supplicant.conf to /etc/wpa_supplicant.conf.backup and edit the contents leaving only the required things I need to have for my connection.  My ssid is "myssid" and the WPA shared key is "mysecretcode".&lt;br /&gt;&lt;br /&gt;I then issue the command:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; wpa_passphrase myssid mysecretcode&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and the output is:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;network={&lt;/span&gt;&lt;br /&gt;&lt;div style="padding: 0px 0px 0px 10px;"&gt;&lt;span style="font-family:courier new;"&gt;      ssid="myssid"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      #psk="mysecretcode"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;      psk=9130f740db6dfd521e34dd89524221d66b8be1dbeeaa0b0a2131f81807374265&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:courier new;"&gt;}&lt;/span&gt;&lt;br /&gt;So I edit the file with my favorite editor, &lt;a href="http://en.wikipedia.org/wiki/Vi"&gt;vi&lt;/a&gt;  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;$&gt; vi /etc/wpa_supplicant.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;With contents:  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;ctrl_interface=/var/run/wpa_supplicant&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;ctrl_interface_group=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#eapol_version=1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#ap_scan=2&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;fast_reauth=1&lt;/span&gt;  &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;network={&lt;/span&gt;&lt;br /&gt;&lt;div style="padding: 0px 0px 0px 10px;"&gt;   &lt;span style="font-family:courier new;"&gt;ssid="myssid"&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;proto=WPA&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;key_mgmt=WPA-PSK&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;pairwise=TKIP&lt;/span&gt;&lt;br /&gt;  &lt;span style="font-family:courier new;"&gt;group=TKIP&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;#psk="mysecretcode"&lt;/span&gt;&lt;br /&gt; &lt;span style="font-family:courier new;"&gt;psk=9130f740db6dfd521e34dd89524221d66b8be1dbeeaa0b0a2131f81807374265&lt;/span&gt; &lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;}&lt;br /&gt;&lt;br /&gt;As you can see, I put the generated psk after I ran the command wpa_passphrase.&lt;br /&gt;&lt;br /&gt;Afterwards, I run this command:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where&lt;br /&gt;-B = runs in the background&lt;br /&gt;-D = specifies the driver to use. Mine is generic, which is shifted by Intel, so I use wext.&lt;br /&gt;-i  = specifies the interface to listen&lt;br /&gt;-c = specifies the path of the configuration file.&lt;br /&gt;&lt;br /&gt;In my opinion, I don't like to configure my stuffs automatically during start up, instead it would be great to create a bash script instead of putting them in somewhere else while I might forgetting them.&lt;br /&gt;&lt;br /&gt;Afterwards I do:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; ifconfig wlan0 up&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; dhcpcd wlan0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt;   ping toytoygogie.blogspot.com&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For some external resources, I recommend &lt;a href="http://www.thinkwiki.org/wiki/Wpa_supplicant"&gt;http://www.thinkwiki.org/wiki/Wpa_supplicant&lt;/a&gt; this page, so check it out.&lt;br /&gt;&lt;br /&gt;Although there are some reports about the algorithm of WPA specially with TKIP, my guide here is to achieve installing wpa_supplicant in Slackware Linux. I will post more about the exploits that WPA encounters soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3420152794403292332?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3420152794403292332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3420152794403292332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3420152794403292332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3420152794403292332'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/installing-wpasupplicant-in-slackware.html' title='Installing wpa_supplicant in Slackware'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-9026145318498811904</id><published>2009-10-28T09:04:00.000-07:00</published><updated>2009-10-30T05:35:27.807-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='prosperity'/><category scheme='http://www.blogger.com/atom/ns#' term='incites'/><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='general information'/><title type='text'>Prosperity  - List of Countries in 2009</title><content type='html'>In reference from the site of &lt;a href="http://www.prosperity.com/"&gt;Prosperity.com&lt;/a&gt;, please see the image posted below for the list of country rankings for Prosperity in 2009.&lt;br /&gt;&lt;br /&gt;As far as I've read their &lt;a href="http://www.prosperity.com/downloads/2009LegatumProsperityIndexReport.pdf"&gt;downloadable PDF file&lt;/a&gt; , Legatum are basing their surveys from an objective data and subjective responses. These involve the status quo of every country in its stance.&lt;br /&gt;&lt;br /&gt;Prosperity embodies health, personal freedom, wealth or financial security, good fortune, as well as environmental living, success, and flourishing. My country, Philippines, is enlisted in the rank 55&lt;sup&gt;th&lt;/sup&gt; position.&lt;br /&gt;&lt;br /&gt;I'm just curious why USA is enlisted at the 9th position. I thought, the USA are much bogged with the global financial crisis, but well, President Barack Obama did aleviate its prosperity back astir.&lt;br /&gt;&lt;br /&gt;I've read the &lt;a href="http://news.yahoo.com/s/nm/20091027/lf_nm_life/us_prosperity_index"&gt;article &lt;/a&gt;from Yahoo, seemingly agreeing it's position. The country has it's economic boom, but their government and politics are too tight for me, to think of, when it comes to personal freedom.&lt;br /&gt;&lt;br /&gt;One thing I might, in my opinion, have to be consider of, are countries tradition and the language. There are languages that are hard to learn, albeit English language is mostly used, but there are among the countries doesn't talk English. Filipinos are good though, and we have long lands too that I consider a paradise and as well, the "Prosperity" in its existence. I'm proud anyway Philippines is not too deep in the list.&lt;br /&gt;&lt;br /&gt;Well, it is how we, humans, do create prosperity and so retain also the prosperity by our own nature and own values.&lt;br /&gt;&lt;br /&gt;How about you? Do you have prosperity in life now?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s812.photobucket.com/albums/zz50/toytoygogie/?action=view&amp;amp;current=first.jpg" target="_blank"&gt;&lt;img src="http://i812.photobucket.com/albums/zz50/toytoygogie/first.jpg" alt="Photobucket" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s812.photobucket.com/albums/zz50/toytoygogie/?action=view&amp;amp;current=second.jpg" target="_blank"&gt;&lt;img src="http://i812.photobucket.com/albums/zz50/toytoygogie/second.jpg" alt="Photobucket" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-9026145318498811904?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/9026145318498811904/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=9026145318498811904' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9026145318498811904'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/9026145318498811904'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/prosperity-list-of-countries-in-2009.html' title='Prosperity  - List of Countries in 2009'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1516814539577839317</id><published>2009-10-27T00:37:00.000-07:00</published><updated>2009-10-27T00:44:58.937-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pop'/><category scheme='http://www.blogger.com/atom/ns#' term='band'/><category scheme='http://www.blogger.com/atom/ns#' term='music'/><category scheme='http://www.blogger.com/atom/ns#' term='song'/><title type='text'>It's Gonna Make Sense - Michael Learns To Rock</title><content type='html'>My first impression for this song was from a boy band, and I hate boy band. Never knew that this from MLTR (&lt;a href="http://en.wikipedia.org/wiki/MLTR"&gt;Michael Learns To Rock&lt;/a&gt;) band. I love MLTR, of course, back in my younger years playing with my guitars.&lt;br /&gt;&lt;br /&gt;Have a try to listening to their song. It's a pop song but it's actually a cool song.&lt;br /&gt;&lt;br /&gt;&lt;object height="344" width="425"&gt;&lt;param name="movie" value="http://www.youtube-nocookie.com/v/iL_R---mDhc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6&amp;amp;hd=1"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube-nocookie.com/v/iL_R---mDhc&amp;amp;hl=en&amp;amp;fs=1&amp;amp;color1=0x2b405b&amp;amp;color2=0x6b8ab6&amp;amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;I have pasted also the lyrics, so if you wanna song feeling like in a karaoke bar (so do I?), have fun singing the song.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-family:lucida grande;" &gt;It’s Gonna Make Sense&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Life comes in many shapes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;You think you know what you got&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;untill it changes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;And life will take you high and low&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;you gotta learn how to walk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;and then which way to go&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Every choice you make&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;when you’re lost&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Every step you take&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;has it’s cause&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Chorus:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;After you clear your eyes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;you’ll see the light&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;somewhere in the darkness&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;After the rain has gone&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;you’ll feel the sun comes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;and though it seems your sorrow never ends&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;someday its gonna make sense&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Tears you shed are all the same&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;when you laughed ’till you cried&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;or broken down in pain&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;All the hours you have spent in the past&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;worrying about&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;a thing that didn’t last&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Everything you saw&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;played a part&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;in everything you are&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;in your heart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Chorus:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;After you clear your eyes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;you’ll see the light&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;somewhere in the darkness&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;After the rain has gone&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;you’ll feel the sun comes&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;and though it seems your sorrow never ends&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;someday its gonna make sense&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Release:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Someday you’re gonna find the answers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;To all the things you’ve become and all they’ve done&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;At your expence&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:lucida grande;"&gt;Someday it’s gonna make sense&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1516814539577839317?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1516814539577839317/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1516814539577839317' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1516814539577839317'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1516814539577839317'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/its-gonna-make-sense-michael-learns-to.html' title='It&apos;s Gonna Make Sense - Michael Learns To Rock'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-4469705278145136416</id><published>2009-10-26T22:28:00.000-07:00</published><updated>2009-10-26T23:05:29.133-07:00</updated><title type='text'>Trouble WIth BIOS After a Failure Update Is Just an Easy Fix</title><content type='html'>Updating a computer BIOS is really trivial. Once you come up into trouble with your BIOS, like a failure during update, or an error that will cause it a failure update, might turn you into trouble by perhaps a total replacement of your motherboard, unless you are really prepared for things to do.&lt;br /&gt;&lt;br /&gt;In my experience, it's not that, it's actually easier than what I think before taking an attempt to update. My CPU's motherboard is &lt;a href="http://reviews.cnet.com/motherboards/msi-pm8pm-v-motherboard/1707-3049_7-32007484.html"&gt;PM8PM-V&lt;/a&gt; from &lt;a href="http://www.msicomputer.com/"&gt;MSI&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I follow the guidelines I have read from MSI, using their live update, but it comes into trouble when it goes a failure update. Now, since I did skip the "Create a disk Recovery", where it needs a floppy drive (but who uses a floppy drive this days?), and now, I'm in trouble with my BIOS.&lt;br /&gt;&lt;br /&gt;Since I have my floppy, but have never used for almost more than 2 years, now it seemed my floppy drive is a little bit dusty inside because it always fails to ready any floppy disk I have. Luckily, I have a floppy disk cleaner I bought last 2003, so that was 6 years ago LOL! I put my floppy cleaner and it works reading my floppies.&lt;br /&gt;&lt;br /&gt;So back again, what I did is, I found my BIOS version that bypasses that LiveUpdate (only just files) which I get from here, &lt;a href="http://forum-en.msi.com/index.php?action=dlattach;topic=124428.0;attach=5328"&gt;http://forum-en.msi.com/index.php?action=dlattach;topic=124428.0;attach=5328&lt;/a&gt;. Then I save those files into my floppy diskette, and create an "&lt;a href="http://en.wikipedia.org/wiki/AUTOEXEC.BAT"&gt;AUTOEXEC.BAT&lt;/a&gt;" file with its contents "AWDFLH.EXE W7222VMS.330" (without the quotes).&lt;br /&gt;&lt;br /&gt;After I reboot and after I encountered that failure on BIOS update using the window version update, I encountered this message, like the image shown below:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s812.photobucket.com/albums/zz50/toytoygogie/?action=view&amp;amp;current=bootblock.jpg" target="_blank"&gt;&lt;img src="http://i812.photobucket.com/albums/zz50/toytoygogie/bootblock.jpg" alt="Photobucket" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Everything on my UI hardware stops to work like my mouse and my keyboard. When you encounter this trouble, the BIOS&lt;br /&gt;by default will look for the floppy drive and detects if it's a BIOS program or not. If it's not a BIOS program, it will give you a message anyway.&lt;br /&gt;&lt;br /&gt;After I put my floppy during reboot, the BIOS will be automatically be flashed and reads that content in the floppy I have stored. It will actually look or execute the AUTOEXEC.BAT and read it's contents inside that file.&lt;br /&gt;&lt;br /&gt;Now, after flashing my BIOS, you will see a status of "complete" or a "reset" button will be colored. Now, you can push the reset button of your CPU, and everything will be back to normal.&lt;br /&gt;&lt;br /&gt;Hence, my BIOS version also has been updated, and I conclude that, it was easier than i think of.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4469705278145136416?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4469705278145136416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4469705278145136416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4469705278145136416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4469705278145136416'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/trouble-with-bios-after-failure-update.html' title='Trouble WIth BIOS After a Failure Update Is Just an Easy Fix'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8354342336116624481</id><published>2009-10-25T21:20:00.000-07:00</published><updated>2009-10-26T16:15:44.806-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='yahoo'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='hosting'/><title type='text'>Geocities Marks it's Goodbye on October 26, 2009</title><content type='html'>It's the mark of the end from the starter back on the early years of Yahoo. Founded by &lt;a href="http://en.wikipedia.org/wiki/David_Bohnett" title="David Bohnett"&gt;David Bohnett&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/John_Rezner" title="John Rezner"&gt;John Rezner&lt;/a&gt;, the company is shutting down it's service effective this October 26, 2009. Maybe later, my time here is GMT +8:00.&lt;br /&gt;&lt;br /&gt;Geocities have been a massive users using it's service. It's actually cool back then, some of it's competitors like &lt;a href="http://en.wikipedia.org/wiki/Angelfire"&gt;Angelfire&lt;/a&gt; which was also ceased it's opertion in 2002.&lt;br /&gt;&lt;br /&gt;&lt;a name='more'&gt;&lt;/a&gt; &lt;br /&gt;One of the things they realize with Geocities is that it's free, it's famous, but they aren't much making money with their free-base service. Yahoo is encouraging it's users to upgrade on it's fee-base service, but who the hell wants to try? I'll choose anyway &lt;a href="http://pages.google.com/"&gt;Googlepages&lt;/a&gt;, it's free anyway and it's really cool though.&lt;br /&gt;&lt;br /&gt;Still, it would be great if Geocities would still have the archives because there are lots of pages created and was stored in their service.&lt;br /&gt;&lt;br /&gt;Yahoo has been reported for cost-cutting and instead, focus more on customer relationship in some other areas they focus. Well, let's take it that Google is really dominating against them. Yahoo focus much more on entertainment, and marketing of their products but less technology compared with Google.&lt;br /&gt;&lt;br /&gt;I grab some images from Yahoo showing their service will be totally of effective on October 26, 2009 and it's a goodbye.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s303.photobucket.com/albums/nn122/may_cutie_21/?action=view&amp;amp;current=geocities-shutdown.jpg" target="_blank"&gt;&lt;img src="http://i303.photobucket.com/albums/nn122/may_cutie_21/geocities-shutdown.jpg" alt="geocities" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was really an avid user of Geocities, and now it's just a history and will be a great memory in the Internet. It's one of the greatest tools or service I have used back on the early days of Yahoo's supremacy in the Internet.&lt;br /&gt;&lt;br /&gt;Well, I guess this is what would happen if a service would be lacking such consideration in it's future aspect. 15 years of service is huge to me and a waste if shutting down in the line of many years grabbing millions of users.&lt;br /&gt;&lt;br /&gt;For those not much familiar with &lt;a href="http://en.wikipedia.org/wiki/Geocities"&gt;Yahoo! Geocities&lt;/a&gt;, checkout on Wikipedia. They have much detailed information for perusal anyway.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8354342336116624481?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8354342336116624481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8354342336116624481' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8354342336116624481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8354342336116624481'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/geocities-marks-its-goodbye-on-october.html' title='Geocities Marks it&apos;s Goodbye on October 26, 2009'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-779973176438244275</id><published>2009-10-25T08:05:00.000-07:00</published><updated>2009-10-25T08:12:43.186-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='google'/><title type='text'>Make HTML a PDF via Internet</title><content type='html'>There are many tools in the internet built now these days. One of the tools I mostly used is to convert a page, an HTML page, to PDF because I like PDF format to read and and shared also with my friends.&lt;br /&gt;&lt;br /&gt;I use this tools in the net:&lt;br /&gt;&lt;a href="http://www.htm2pdf.co.uk/default.aspx"&gt;http://www.htm2pdf.co.uk/default.aspx&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.htmltopdf.co.uk/"&gt;http://www.htmltopdf.co.uk/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;And after I grab this pdf convert pages, I stored it via &lt;a href="http://docs.google.com"&gt;Google docs&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;When storing in Google Docs, I do always make my documents in order so that it would be easier for me to locate things I need to find or use.&lt;br /&gt;&lt;br /&gt;Try it, and it's really helpful to store your documents in PDF being centralized. PDF viewer from Google too is really awesome!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-779973176438244275?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/779973176438244275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=779973176438244275' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/779973176438244275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/779973176438244275'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/make-html-pdf-via-internet.html' title='Make HTML a PDF via Internet'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8406140826582132529</id><published>2009-10-25T07:18:00.000-07:00</published><updated>2009-10-25T07:20:53.110-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='davao city'/><title type='text'>CCTV in Davao City Caught a Man Murdered</title><content type='html'>This video was caught on CCTV (Closed-Circuit Television) where a man, who was identified as Chris Anthony Togle, a City Hall employee&lt;br /&gt;of Davao City.&lt;br /&gt;&lt;br /&gt;Just watch the video below, and this guys are really exchanging bullets with the heat they feel without thinking they might be dead or they&lt;br /&gt;would kill their fellowmen.&lt;br /&gt;&lt;br /&gt;I hope there will be more CCTV's here in Davao.&lt;br /&gt;&lt;br /&gt;&lt;iframe src="http://www9.gmanews.tv/evideo/49365/murder-of-davao-city-hall-employee-caught-on-cctvlinkevideo=http://www9.gmanews.tv/evideo/49365/murder-of-davao-city-hall-employee-caught-on-cctv" frameborder="0" style="width:360px; height:290px; display:block; background: black;" scrolling="no"&gt;&lt;/iframe&gt;&lt;br /&gt;&lt;a href="http://www.gmanews.tv/"&gt;For the latest Philippine news stories and videos, visit GMANews.TV&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8406140826582132529?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8406140826582132529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8406140826582132529' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8406140826582132529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8406140826582132529'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/cctv-in-davao-city-caught-man-murdered.html' title='CCTV in Davao City Caught a Man Murdered'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-372290595544531237</id><published>2009-10-22T07:11:00.000-07:00</published><updated>2009-10-22T07:17:37.345-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ImageMagick'/><category scheme='http://www.blogger.com/atom/ns#' term='libMagickCore.so.1'/><title type='text'>libMagickCore.so.1 No such file or directory</title><content type='html'>&lt;a href="http://www.imagemagick.org"&gt;ImageMagick&lt;/a&gt; is such a very cool tool for editing/modifying images through shell. However, when I ran out of trouble encountering the problem like, example running the "convert" (one of the ImageMagick tools)command:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&gt; convert test.png test.pdf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;convert: error while loading shared libraries: libMagickCore.so.1: cannot open shared object file: No such file or directory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and doing:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&gt; locate libMagickCore.so.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;/usr/lib/libMagickCore.so.1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;which means, it does exist. In order to fix this, just run:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&gt; ldconfig&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;and everything will solve the problem!&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-372290595544531237?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/372290595544531237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=372290595544531237' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/372290595544531237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/372290595544531237'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/libmagickcoreso1-no-such-file-or.html' title='libMagickCore.so.1 No such file or directory'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1363068646639450239</id><published>2009-10-18T02:20:00.000-07:00</published><updated>2009-10-19T21:25:37.957-07:00</updated><title type='text'>Make Youtube or AVI Movies to DVD in Linux</title><content type='html'>Tools I did download:&lt;br /&gt;&lt;br /&gt;- &lt;a href="http://ffmpeg.org/download.html"&gt;ffmpeg&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://dvdauthor.sourceforge.net/"&gt;Dvdauthor&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://fy.chalmers.se/%7Eappro/linux/DVD+RW/tools/"&gt;dvd+rw-tools&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.transcoding.org/transcode"&gt;transcode&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://mjpeg.sourceforge.net/"&gt;Mjpegtools&lt;/a&gt;&lt;br /&gt;- &lt;a href="http://www.mplayerhq.hu/design7/dload.html"&gt;mplayer&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I installed library dependencies which are libdvdread, libdvdcss, libquicktime, amrwb, libdc1394, libgsm, x264, libraw1394, and libmpeg2.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I use the online downloader &lt;a href="http://online.movavi.com/"&gt;http://online.movavi.com/&lt;/a&gt; and enables me to download the "flv" file format of the file. Afterwards I use ffmpeg to convert the file from flv to avi with this command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; ffmpeg -i video.flv -y -f avi -b 1150 -s 320x240 -r 29.97 -g 12 -qmin 3 -qmax 13 -ab 224 -ar 44100 -ac 2 -acodec libmp3lame -target dvd youtube_movie.avi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Afterwards, I use transcode to convert my avi files to mc3 and m2v format where the audio and video are being separated. I use the command to convert it through:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; transcode -i youtube_movie.avi -y ffmpeg --export_prof dvd-ntsc --export_asr 3 -o movie -D0 -N 0x55 -s2 -m movie.ac3 -J modfps=clonetype=3 --export_fps 29.9 -f 3 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The fps of 29.9 can be set manually. I set that since i was trying hard to get the timing of the frames per second of the video from youtube I got.&lt;br /&gt;&lt;br /&gt;Afterwards, I combine them together, video and audio with this command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; mplex -f 8 -o youtube_movie.mpg movie.m2v movie.ac3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;And then to create a dvd formatted files, I use the dvdauthor to make the job done. The command I use is:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;$&gt; dvdauthor -x dvdauthor.xml&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In my dvdauthor.xml file, I have two movies where the contents is:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;dvdauthor dest="DVD"&amp;gt;&lt;br /&gt; &amp;lt;vmgm /&amp;gt;&lt;br /&gt; &amp;lt;titleset&amp;gt;&lt;br /&gt;     &amp;lt;titles&amp;gt;&lt;br /&gt;         &amp;lt;pgc&amp;gt;&lt;br /&gt;             &amp;lt;vob file="dvd_movie.mpg" chapters="0,15:00,30:00,45:00,1:00:00"/&amp;gt;&lt;br /&gt;         &amp;lt;/pgc&amp;gt;&lt;br /&gt;         &amp;lt;pgc&amp;gt;&lt;br /&gt;             &amp;lt;vob file="youtube_movie.mpg" chapters="0,15:00,30:00,45:00,1:00:00"/&amp;gt;&lt;br /&gt;         &amp;lt;/pgc&amp;gt;&lt;br /&gt;     &amp;lt;/titles&amp;gt;&lt;br /&gt; &amp;lt;/titleset&amp;gt;&lt;br /&gt;&amp;lt;/dvdauthor&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then I test my movies by issuing the command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; xine dvd:/my/full/path/of/DVD/VIDEO_TS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then I burn to my DVD by issuing the command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; growisofs -Z /dev/hda -dvd-video DVD/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In reference from linuxquestions.org &lt;a href="http://www.linuxquestions.org/linux/answers/Applications_GUI_Multimedia/AVI_to_DVD"&gt;post&lt;/a&gt;, I arrive to make youtube or&lt;br /&gt;AVI movies to DVD in Linux successfully.&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1363068646639450239?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1363068646639450239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1363068646639450239' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1363068646639450239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1363068646639450239'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/make-youtube-or-avi-movies-to-dvd-in.html' title='Make Youtube or AVI Movies to DVD in Linux'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2978504198428280729</id><published>2009-10-09T08:08:00.000-07:00</published><updated>2009-10-22T07:11:04.676-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='xargs'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='copy'/><title type='text'>Linux Using xargs to Copy All Files in Directory or Subdirectory</title><content type='html'>To copy all the files, for example, mp3 files in a directory/subdirectory to another directory in Linux, you can use the xargs command and the find but by using "sed" tool to also filter the quotes of file names.&lt;br /&gt;&lt;br /&gt;The command is pretty simple which is write down below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$&gt; find . -name "*.mp3" | sed -r "s/'/\\\\\'/g" | xargs -t -I '{}' cp '{}' /media/disk/Music/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What it does, is that, it will find any files that ends with *.mp3 file extension from the current directory the command is being executed, and sed will will apply a regular expression to filter the quotes and replace it with "\'" (a slash and a single quote). After this, xargs command will catch the lines outputed by the find command but filtered with sed and executes a cp command and directs it to /media directory.&lt;br /&gt;&lt;br /&gt;find options:&lt;br /&gt;-name = specifies the name to find&lt;br /&gt;&lt;br /&gt;sed options:&lt;br /&gt;-r = will do an extended regular expression&lt;br /&gt;&lt;br /&gt;xargs options:&lt;br /&gt;-t = print the command line (which is the cp) in the standard error output before executing the command&lt;br /&gt;-I = replaces the brackets '{}' with the input from find and sed (or the initial-arguments with names read from standard input) and it's separator is the new line&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2978504198428280729?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2978504198428280729/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2978504198428280729' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2978504198428280729'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2978504198428280729'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/10/linux-using-xargs-to-copy-all-files-in.html' title='Linux Using xargs to Copy All Files in Directory or Subdirectory'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-3779632886675079400</id><published>2009-09-25T04:41:00.000-07:00</published><updated>2009-10-18T06:07:07.192-07:00</updated><title type='text'>Explaining About Bittorrent Encryption</title><content type='html'>&lt;span style="line-height: 200%;"&gt;&lt;span&gt;&lt;span style="font-family:trebuchet ms;"&gt;I remember I downloaded a torrent with KTorrent in my Slackware-Linux box, thinking that everything is alright, but that was in the office. After I downloaded that source, which is an ISO file, I told my boss to share that I did download an updated version of that file. Then he look at me and ask me disparagingly, "Are you downloading it securely or using encryption?". I ask myself, "dang, what did I do?" and stuck in a moment, geeze! We'll he told me to download anything since our internet is faster than a DSL.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;Okay, cut the crap! I'm not digressing here.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;So I did a research about encryption and other stuffs with Bittorrent and this will be explained!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;I read some articles "&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;a href="http://torrentfreak.com/how-to-encrypt-bittorrent-traffic/"&gt;How To Encrypt BitTorrent Traffic&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:trebuchet ms;"&gt;", "&lt;/span&gt;&lt;a style="font-family: trebuchet ms;" href="http://torrentfreak.com/bittorrent-encryption-myths-071108/"&gt;BitTorrent Encryption Confuses the BPI, ISPs and Journalists Who Don’t Research&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;", and "&lt;/span&gt;&lt;a style="font-family: trebuchet ms;" href="http://filesharingz.com/guides/bittorrent-encryption-myths.php"&gt;BitTorrent Encryption Myths&lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;" and learned that encryption doesn't do anything about hiding user's end information or even the data packets being shared are not encrypted in a way that, you can hide the data being transmitted from one user to another user's end. AFAIK, in P2P system, IP is not hidden from it's origin.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a style="font-family: trebuchet ms;" href="http://www.answers.com/topic/comparison-of-bittorrent-clients"&gt;Bittorrent clients &lt;/a&gt;&lt;span style="font-family:trebuchet ms;"&gt;that implements encryption are using MSE/PE (Message Stream Encryption/Protocol Encryption) or PHE (Protocol Header Encryption). Its purpose &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:trebuchet ms;" &gt;IS NOT TO PROVIDE ANONYMITY OR CONFIDENTIALITY&lt;/span&gt;&lt;span&gt;&lt;span style="font-family:trebuchet ms;"&gt; of files being shared/transferred. This encryption only aims to speed up the download at full-speed using bittorrent clients which avoids the third parties (ISP's) to throttle the traffic in a peer-to-peer network.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;I don't think so that a P2P system that enables a massive downloads by user's would enable the encryption that makes your data secure or anonymously hide your information from the provider, though it is but it worth a penny and I cannot call it as massive or swarm uploads.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;I realize that, the thoughts that my boss he has was wrong with encryption in bittorrent clients implicitly saying that "it would provide data security or anonymity to user using bittorrent clients", sorry but it's not that way.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:trebuchet ms;"&gt;At least, I made it clear now. =)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-3779632886675079400?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/3779632886675079400/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=3779632886675079400' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3779632886675079400'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/3779632886675079400'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/09/is-bittorrent-or-downloading-torrent.html' title='Explaining About Bittorrent Encryption'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6687041117070461501</id><published>2009-09-23T22:34:00.000-07:00</published><updated>2009-09-23T22:47:04.451-07:00</updated><title type='text'>Removing of Multiple Files with Exception Using "rm" command in Linux</title><content type='html'>Now I get into this point. I remember I did some simple command, back then, by using "&lt;a href="http://linux.die.net/man/1/rm"&gt;rm&lt;/a&gt;" command in Linux. Try searching in the net but none of it provides me the answer.&lt;br /&gt;&lt;br /&gt;The goal was that, I have a directory named, "reports" with lots of files/directories/sub-directories inside it, and try to delete all of them but with exclusion of the files that starts with the word "report-" (ex. report-2009-10-19.html).&lt;br /&gt;&lt;br /&gt;I thought the command issued in my shell&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; rm -rf $(ls reports/|grep -e '[^report-*]') &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;would enable me to delete the files but it seems it doesn't work. My expectation was the files that &lt;span style="font-weight: bold;"&gt;does not&lt;/span&gt; start with "reports" word will be deleted. Then I read the manual of rm ("man rm" in bash), I found that the -v would  select those non-matching lines.&lt;br /&gt;&lt;br /&gt;Now, issuing the commands in my shell&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; cd reports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; $&gt; rm -rf $(ls .|grep -v '[report-*]') &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;enables me to delete the files that starts with the word "report-".&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6687041117070461501?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6687041117070461501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6687041117070461501' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6687041117070461501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6687041117070461501'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/09/removing-of-multiple-files-with.html' title='Removing of Multiple Files with Exception Using &quot;rm&quot; command in Linux'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-727845593412176314.post-210869893011888406</id><published>2009-09-22T19:55:00.000-07:00</published><updated>2009-09-22T20:11:54.708-07:00</updated><title type='text'>Connecting Samba 3 from Linux to Mac OS X Leopard</title><content type='html'>I'm so befuddled yesterday until I figured it out that it works from Mac OS X to Mac OS X Leopard with Samba 3. I thought my smb.conf doesn't work. &lt;br /&gt;&lt;br /&gt;Now, Linux to Mac OS X was hard because I thought, I must ran smbpasswd to provide password for the username I have to used.  I was thinking that Mac OS X's Samba configuration directs the use to able to check on the user's of the machine with it's account information (username and password of the Mac OS X Leopard machine).&lt;br /&gt;&lt;br /&gt;It does able me to authenticate and access my folder via that Mac OS X machine.&lt;br /&gt;&lt;br /&gt;I found this article also, seems we have the same issue faced.&lt;br /&gt;http://discussions.apple.com/thread.jspa?threadID=2086667&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-210869893011888406?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/210869893011888406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=210869893011888406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/210869893011888406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/210869893011888406'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/09/connecting-samba-3-from-linux-to-mac-os.html' title='Connecting Samba 3 from Linux to Mac OS X Leopard'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2356524143159636149</id><published>2009-07-01T16:26:00.001-07:00</published><updated>2009-07-08T17:47:17.046-07:00</updated><title type='text'>delete multiple files/directory with exclusion</title><content type='html'>I have multiple files in a directory and I was logged in thru my bash shell. Then I just issue the command below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;rm -rf $(ls|grep -E '[^(^ext$)|(mootools)]')&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;grep -E will execute an extended regular expression so ext and mootools will be retain or excluded upon deletion of files in the current directory.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2356524143159636149?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2356524143159636149/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2356524143159636149' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2356524143159636149'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2356524143159636149'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/07/delete-multiple-files-with-exclusion.html' title='delete multiple files/directory with exclusion'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-4104637835963323954</id><published>2009-06-21T05:36:00.000-07:00</published><updated>2009-07-01T16:37:21.287-07:00</updated><title type='text'>eavesdropping in ssh</title><content type='html'>This happens when we are switching from old server to another server and assigned a different IP address from the specific domain name.&lt;br /&gt;&lt;br /&gt;bash-3.1$ ssh myname@example.com&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;@       WARNING: POSSIBLE DNS SPOOFING DETECTED!          @&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;The RSA host key for example.com has changed,&lt;br /&gt;and the key for the according IP address 198.2.1.1&lt;br /&gt;is unchanged. This could either mean that&lt;br /&gt;DNS SPOOFING is happening or the IP address for the host&lt;br /&gt;and its host key have changed at the same time.&lt;br /&gt;Offending key for IP in /home/myname/.ssh/known_hosts:16&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @&lt;br /&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br /&gt;IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!&lt;br /&gt;Someone could be eavesdropping on you right now (man-in-the-middle attack)!&lt;br /&gt;It is also possible that the RSA host key has just been changed.&lt;br /&gt;The fingerprint for the RSA key sent by the remote host is&lt;br /&gt;60:9a:52:78:03:1e:66:78:33:25:19:ae:44:08:01:89.&lt;br /&gt;Please contact your system administrator.&lt;br /&gt;Add correct host key in /home/myname/.ssh/known_hosts to get rid of this message.&lt;br /&gt;Offending key in /home/myname/.ssh/known_hosts:13&lt;br /&gt;RSA host key for example.com has changed and you have requested strict checking.&lt;br /&gt;Host key verification failed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This is how ssh works, but if you know that your server is really which is which. Though dig-ging it might be a help.&lt;br /&gt;example in your bash shell, type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; dig example.com&lt;/span&gt;&lt;br /&gt;or&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;$&gt; dig -x example.com&lt;/span&gt;&lt;br /&gt;with -x if you want to know the reverse lookups, mapping addresses to names&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-4104637835963323954?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/4104637835963323954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=4104637835963323954' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4104637835963323954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/4104637835963323954'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/06/eavesdropping-of-ssh.html' title='eavesdropping in ssh'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-7034688674042252839</id><published>2009-06-05T16:13:00.000-07:00</published><updated>2009-06-07T02:01:27.137-07:00</updated><title type='text'>find and perl as alternative for sed</title><content type='html'>In continuation of my migration, some directories with HTML contents their are manually inputted by strings that would let a typical user to edit manually all the HTML files for just a sake of changing a text. However, Perl as an alternative for sed is quite helpful.&lt;br /&gt;&lt;br /&gt;The command goes like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;perl -e "s/www\.hawaiifsbos\.com/test\.hawaiifsbos\.com/g;" -pi $(find . -type f)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;-p&lt;/span&gt; = will do a loop sequence. For more info, read the page in "&lt;a href="http://www.cs.cf.ac.uk/Dave/PERL/node164.html#SECTION001832000000000000000"&gt;Using the -n and -p option&lt;/a&gt;"&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;-i&lt;/span&gt;   = will modify file in-place. providing after the "i" letter with a word, will be used as a back-up suffix of a file. (Ex. -pi.bak)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;-e&lt;/span&gt;  = means execute&lt;br /&gt;&lt;br /&gt;This is the same thing as&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;find . -name "*.*" -type f -exec sed -i 's/www.mysite.com/test.mysite.com/g' {} \;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The above works in my Slack, but it seems weird it doesn't do in FreeBSD, but the perl is there as my alternative.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-7034688674042252839?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/7034688674042252839/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=7034688674042252839' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7034688674042252839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/7034688674042252839'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/06/find-and-perl-as-alternative-for-sed.html' title='find and perl as alternative for sed'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-2703105843339888496</id><published>2009-06-05T01:25:00.000-07:00</published><updated>2009-07-01T16:38:26.651-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='migration'/><category scheme='http://www.blogger.com/atom/ns#' term='rsync'/><title type='text'>rsync: avoid overwriting of files</title><content type='html'>I was migrating this stuffs we have from an old FreeBSD 4.0 Server to a new FreeBSD 6.0 Server hosted at Verio. I was fumbled and tumbled when I use this rsync tool by migrating the files to our new server.&lt;br /&gt;&lt;br /&gt;The situation is that, in every directories we have being assigned in a virtual host and its &lt;a href="http://httpd.apache.org/docs/2.2/mod/core.html#documentroot"&gt;DocumentRoot&lt;/a&gt; are having different owners and group assigned. The old server we have is having a version of an old &lt;a href="http://www.apache.org/"&gt;Apache&lt;/a&gt;. Now, in order to achieve the exact ruling or permission, rsync is a tool that enables you to preserve ownership as well as its permission of the files/directories that you're going to copy--or shall we use the term "migrate".&lt;br /&gt;&lt;br /&gt;My mistake was that, migrating with files using rsync is a little bit tricky. Ending a copy like this, for example:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rsync -r -e "ssh -l ahkmed" localhost:/home/ahkmed/documents /www/documents&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;is a different story than&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rsync -r -e "ssh -l ahkmed" localhost:/home/ahkmed/documents/ /www/documents&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note the ending has slash in it while the first one has no slash in it at "&lt;span style="font-family:courier new;"&gt;/home/ahkmed/documents/"&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The first one will copy the "documents" folder and its contents to /www/documents. So this will result into /www/documents/documents. If you're intending to grab the "documents" folder and put it in /www/documents only the contents of that "documents" folder, you need to use the second rsync command that I have shown above, i.e. with trailing slash (/) at the end.&lt;br /&gt;&lt;br /&gt;You should really be aware of the differences between the two because you might end up fumble and tumble as what I did. The story goes like this. I have the files in /usr/local/apache/htdocs from an old server and I made the stupid thing when I issue like:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rsync -r --delete -e "ssh -l ahkmed" oldserver.com:/usr/local/apache/htdocs/ ../&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where the current directory I am in the new server is at &lt;span style="font-family:courier new;"&gt;/usr/local/apache2/htdocs/. &lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;This means that, delete all the files if not existent at &lt;/span&gt;&lt;span style="font-family:courier new;"&gt;/usr/local/apache2/&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;in the new server. Dang, it really works deleting it, but it's a mistake! However, I do make backups of course.&lt;br /&gt;&lt;br /&gt;Now, here's another stuff what I learned from rsync also, you can do filter files like you don't want to be deleted or updated.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;rsync -o -p -g -v -r -a -u --update --exclude={camping,journey,files.txt} -e "ssh -l ahkmed" localhost:/home/&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;ahkmed&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;/Desktop/pics .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-u&lt;/span&gt; = will tell that the receiver has the updated file&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;--exclude &lt;/span&gt;= will do a filter, excluding a directory name (whether it's a subdirectory of a directory). Appending lots of filters, I suggest to you --exclude-file=FILE_FILTERS.&lt;br /&gt;&lt;br /&gt;This prevents an rsync copy that has contents been modified and also a directory that you don't want to update anymore, somewhat like the subdirectory is a final copy, while others needs to be copied if newer files has been copied.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-2703105843339888496?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/2703105843339888496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=2703105843339888496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2703105843339888496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/2703105843339888496'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/06/rsync-avoid-overwriting-of-files.html' title='rsync: avoid overwriting of files'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-359210093034325908</id><published>2009-05-19T14:09:00.000-07:00</published><updated>2009-05-19T14:24:13.194-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='freebsd'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><title type='text'>Installing MySQL v6  in FreeBSD</title><content type='html'>FreeBSD places its packages under /usr/ports/. Now for databases, types this command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;cd /usr/ports/databases/mysql60-server &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then issue&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;make&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;after make, issue&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can even specify it's configuration options like --prefix by doing &lt;span style="font-family: courier new;"&gt;"make install --prefix=/usr/local" &lt;/span&gt;where it will install the mysql packages.&lt;br /&gt;&lt;br /&gt;This is applied also to the client package, just follow the steps how the server is being installed.&lt;br /&gt;&lt;br /&gt;Create /var/db/mysql if that direcotry doesn't exist, then "&lt;span style="font-family: courier new;"&gt;chown mysql:mysql /var/db/mysql&lt;/span&gt;" and "&lt;span style="font-family: courier new;"&gt;chmod 770 /var/db/mysql&lt;/span&gt;" for security. Run the &lt;span style="font-family: courier new;"&gt;mysql_install_db&lt;/span&gt;  command which will create default tables that mysql will used on its server process.&lt;br /&gt;&lt;br /&gt;Run the mysql background process by issuing the command "&lt;span style="font-family: courier new;"&gt;/usr/local/etc/rc.d/mysql-server start&lt;/span&gt;" or perhaps it might be "&lt;span style="font-family: courier new;"&gt;/usr/local/etc/rc.d/mysql-server.sh start&lt;/span&gt;". I think older BSD preserves the .sh suffix on the start up scripts.&lt;br /&gt;&lt;br /&gt;Don't forget to provide password to your root. Issue this command "&lt;span style="font-family: courier new;"&gt;mysqladmin -u root password egret&lt;/span&gt;"  where "&lt;span style="font-family: courier new;"&gt;egret&lt;/span&gt;" is my database password, just an example.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-359210093034325908?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/359210093034325908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=359210093034325908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/359210093034325908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/359210093034325908'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/05/installing-mysql-v6-in-freebsd.html' title='Installing MySQL v6  in FreeBSD'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8780714686275889095</id><published>2009-05-10T16:14:00.000-07:00</published><updated>2009-05-10T16:27:52.479-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sudo'/><category scheme='http://www.blogger.com/atom/ns#' term='ssh'/><category scheme='http://www.blogger.com/atom/ns#' term='rsync'/><title type='text'>rsync using ssh via a sudo command</title><content type='html'>My main goal for this is, I was migrating from an old server to a new BSD server.  In order to make preservation of user accounts,&lt;br /&gt;I manage it with this command below using rsync tool to transfer or copy the files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;"rsync -p -o -g -r -a -v -e "ssh -l normaluseraddedviasudoers" --rsync-path "sudo rsync"  --delete oldserver.com:/home . --log-file=/tmp/rsynclogs.txt "&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-p means to preserve the permission, -o means to preserve the ownership, -g means to preserve the group.&lt;br /&gt;&lt;br /&gt;-r means to recurse into ts sub-directories, -a means to archive them, -v means to use the verbose mode, -e specifies the remote login to use. With --rsync-path, it makes how to run rsync which this means like run the rsync via sudo or via root.&lt;br /&gt;&lt;br /&gt;Now, I am able to copy all the files under /home directories without prior chmod afterwards when you are on the new server. It makes the rsync set everything for you and not worrying if the files has been able to copy or not it's because you might not copy everything because files/directories was not able to read because the user has no permission. With that command, that will help you solve your problem.&lt;br /&gt;&lt;br /&gt;Note: You must add the &lt;span style="font-family:courier new;"&gt;normaluseraddedviasudoers &lt;/span&gt;with no password, that is:&lt;br /&gt;Let say you are on the oldserver shell issue&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;$root@host &gt; visudo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;then locate root, and add it below the line&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;normaluseraddedviasudoers ALL = NOPASSWD: ALL&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8780714686275889095?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8780714686275889095/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8780714686275889095' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8780714686275889095'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8780714686275889095'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2009/05/rsync-using-ssh-via-sudo-command.html' title='rsync using ssh via a sudo command'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-5520400131420969160</id><published>2008-09-30T09:34:00.000-07:00</published><updated>2008-09-30T11:39:26.752-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='event'/><category scheme='http://www.blogger.com/atom/ns#' term='DOM'/><category scheme='http://www.blogger.com/atom/ns#' term='capture'/><category scheme='http://www.blogger.com/atom/ns#' term='mouseclick'/><title type='text'>Javascript catching mouse click event and know what DOM element is being clicked</title><content type='html'>&lt;span style="font-family:verdana;"&gt;Asking some great encoders in irc.freenode at #javascript channel, people are having an extensive help to me.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;I got this code working, but here I use the &lt;/span&gt;&lt;a style="font-family: verdana;" href="http://mootools.net/"&gt;mootools&lt;/a&gt;&lt;span style="font-family:verdana;"&gt; JS Library but still the same as native javascript syntax.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    $(document).addEvent('click', function(e){&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;        console.info(e.target.get('id'));&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;    });&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;// This works in IE&lt;br /&gt;     $(document).attachEvent('onclick', function(e){&lt;br /&gt;         alert(e.srcElement.id) // gives the id of the element being clicked&lt;br /&gt;     });&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;Through it, it does prints or gives me the id of the element being clicked. It's really cool knowing this technique.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-5520400131420969160?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/5520400131420969160/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=5520400131420969160' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5520400131420969160'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/5520400131420969160'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/09/javascript-catching-mouse-click-event.html' title='Javascript catching mouse click event and know what DOM element is being clicked'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1454434080819272555</id><published>2008-09-15T09:26:00.000-07:00</published><updated>2008-09-15T09:35:04.166-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='count'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><category scheme='http://www.blogger.com/atom/ns#' term='tables'/><title type='text'>Counting the tables in MySQL Database</title><content type='html'>&lt;span style="font-family:arial;"&gt;Finding ou how cool MySQL is, I gathered this statement that might be useful when doing a CLI tasks.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;select count(*) as number_of_tables from information_schema.tables WHERE table_schema='schema_name';&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;OR&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;select count(*) as number_of_tables from information_schema.tables WHERE table_schema='schema_name' &lt;/span&gt;&lt;span style="font-family: courier new;"&gt;and     table_type = 'BASE TABLE'&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;The latter one does only selects those base tables, BASE TABLE is actually a MySQL valid value of a table_type. This link can give some information about schema -&gt; http://dev.mysql.com/doc/refman/5.0/en/information-schema.html&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1454434080819272555?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1454434080819272555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1454434080819272555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1454434080819272555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1454434080819272555'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/09/counting-tables-in-mysql-database.html' title='Counting the tables in MySQL Database'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6357462489591493261</id><published>2008-09-06T14:09:00.000-07:00</published><updated>2008-09-06T14:23:14.855-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='problem'/><category scheme='http://www.blogger.com/atom/ns#' term='download'/><category scheme='http://www.blogger.com/atom/ns#' term='msie'/><category scheme='http://www.blogger.com/atom/ns#' term='ie'/><category scheme='http://www.blogger.com/atom/ns#' term='explorer'/><category scheme='http://www.blogger.com/atom/ns#' term='internet'/><category scheme='http://www.blogger.com/atom/ns#' term='inline'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><title type='text'>Inline-download problem with IE browsers</title><content type='html'>&lt;span style="font-family:arial;"&gt;    IE's problem again faces some criticism to my part. I came up of  this snippet&lt;br /&gt;that does an inline download of a file.&lt;br /&gt;&lt;br /&gt;Adding of&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;header("Cache-Control: maxage=1"); //In seconds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header("Pragma: public");&lt;br /&gt;heals the problem when a file is in buffer at the client's browser. Problem occurs here is when a&lt;br /&gt;user attempts to open a file, it does tells that the file sort of not found or whatever Microsoft tells.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;"&lt;br /&gt;&lt;samp&gt;&lt;br /&gt;filename = unique_string(8);&lt;/samp&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    $fp = fopen("/tmp/{$filename}", 'w');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    fwrite($fp, $contents);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    fclose($fp);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header("Cache-Control: maxage=1"); //In seconds&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header("Pragma: public");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header( 'Content-Type: ' . 'application/pdf' );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header( 'Content-Disposition: inline; filename="' . basename("/tmp/{$filename}") . '.pdf' . '"');&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    // Add the rest of the headers&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header( 'Cache-Control: public' );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header( 'Content-Transfer-Encoding: binary' );&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    header("Content-Length: " . filesize("/tmp/{$filename}"));&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    readfile("/tmp/{$filename}");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;    unlink("/tmp/{$filename}");&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Viewing the file through an inline-download is over HTTPS so this is a SSL problem with IE.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6357462489591493261?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6357462489591493261/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6357462489591493261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6357462489591493261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6357462489591493261'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/09/ies-problem-again-faces-some-criticism.html' title='Inline-download problem with IE browsers'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8912263030531051178</id><published>2008-09-06T13:21:00.000-07:00</published><updated>2008-09-06T13:58:31.184-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='javascript'/><category scheme='http://www.blogger.com/atom/ns#' term='plugins'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='detection'/><category scheme='http://www.blogger.com/atom/ns#' term='vbscript'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><category scheme='http://www.blogger.com/atom/ns#' term='browser'/><category scheme='http://www.blogger.com/atom/ns#' term='activex'/><title type='text'>Detecting plugins for pdf</title><content type='html'>&lt;div style="width: 100%"&gt;&lt;br /&gt;I just found this site that can detect acrobat reader in browser plugins.&lt;br /&gt;Here's the link: http://gemal.dk/browserspy/acrobat.html&lt;br /&gt;&lt;br /&gt;Viewing the source code of that page, i found these lines in the script which does the detection of pdf plugin.&lt;br /&gt;&lt;br /&gt;&amp;lt;object id="ocx_pdf" classid="clsid:{CA8A9780-280D-11CF-A24D-444553540000}" style="display:none"&amp;gt;&amp;lt;/object&amp;gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&amp;lt;!--&lt;br /&gt;var i_acrobatreader;&lt;br /&gt;&lt;br /&gt;var v_acrobatreader;&lt;br /&gt;&lt;br /&gt;var a_acrobatreader;&lt;br /&gt;&lt;br /&gt;if (obj(navigator.plugins)) {&lt;br /&gt;&lt;br /&gt;for (var i=0; i &amp;lt; navigator.plugins.length; i++) {&lt;br /&gt;&lt;br /&gt;if (navigator.plugins[i].name.toLowerCase().indexOf("adobe acrobat") &amp;gt;= 0) {&lt;br /&gt;&lt;br /&gt;i_acrobatreader = true;&lt;br /&gt;&lt;br /&gt;v_acrobatreader = navigator.plugins[i].description.substring(navigator.plugins[i].description.toLowerCase().lastIndexOf("version ") + 8, navigator.plugins[i].description.toLowerCase().lastIndexOf(" for"));&lt;br /&gt;&lt;br /&gt;break;&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/vbscript"&amp;gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;on error resume next&lt;br /&gt;&lt;br /&gt;num = 0&lt;br /&gt;&lt;br /&gt;myarray = array("PDF.PdfCtrl.1", "PDF.PdfCtrl.2", "PDF.PdfCtrl.3", "PDF.PdfCtrl.4", "PDF.PdfCtrl.5", "PDF.PdfCtrl.6", "PDF.PdfCtrl.7")&lt;br /&gt;&lt;br /&gt;do until num = 6&lt;br /&gt;&lt;br /&gt;set tmp = CreateObject(myarray(num))&lt;br /&gt;&lt;br /&gt;if IsObject(tmp) then&lt;br /&gt;&lt;br /&gt;i_acrobatreader = true&lt;br /&gt;&lt;br /&gt;v_acrobatreader = num&lt;br /&gt;&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;num = num + 1&lt;br /&gt;&lt;br /&gt;loop&lt;br /&gt;&lt;br /&gt;if IsObject(ocx_pdf) and i_acrobatreader then&lt;br /&gt;&lt;br /&gt;a_acrobatreader = ocx_pdf.GetVersions&lt;br /&gt;&lt;br /&gt;end if&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;if (i_acrobatreader) {&lt;br /&gt;&lt;br /&gt;document.writeln("Yes");&lt;br /&gt;&lt;br /&gt;if (v_acrobatreader) {&lt;br /&gt;&lt;br /&gt;document.writeln(" - version " + v_acrobatreader);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} else {&lt;br /&gt;&lt;br /&gt;document.writeln("No or unable to detect...");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;script type="text/javascript"&amp;gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;if (i_acrobatreader) {&lt;br /&gt;&lt;br /&gt;if (a_acrobatreader) {&lt;br /&gt;&lt;br /&gt;var comps = a_acrobatreader.split(",");&lt;br /&gt;&lt;br /&gt;for (var i = 0; i &amp;lt; comps.length; i++) {&lt;br /&gt;&lt;br /&gt;var detail = comps[i].split("=");&lt;br /&gt;&lt;br /&gt;if (detail[0])&lt;br /&gt;&lt;br /&gt;document.writeln(detail[0] + " version " + detail[1]+"&amp;lt;br /&amp;gt;");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} else {&lt;br /&gt;&lt;br /&gt;document.writeln("Unable to detect...");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;} else {&lt;br /&gt;&lt;br /&gt;document.writeln("Acrobat Reader not installed.");&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In my previous applications, by garnering some concepts from other snippets, I came up to this:&lt;br /&gt;&lt;br /&gt;&amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&amp;lt;![CDATA[*/&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var hasAcrobat = navigator.mimeTypes &amp;amp;&amp;amp; navigator.mimeTypes[&amp;quot;application/pdf&amp;quot;];&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*]]&amp;gt;*/&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&amp;nbsp; &amp;lt;script type=&amp;quot;text/vbscript&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&lt;br /&gt;on error resume next&lt;br /&gt;num = 0&lt;br /&gt;myarray = array(&amp;quot;PDF.PdfCtrl.1&amp;quot;, &amp;quot;PDF.PdfCtrl.2&amp;quot;, &amp;quot;PDF.PdfCtrl.3&amp;quot;, &amp;quot;PDF.PdfCtrl.4&amp;quot;, &amp;quot;PDF.PdfCtrl.5&amp;quot;, &amp;quot;PDF.PdfCtrl.6&amp;quot;, &amp;quot;PDF.PdfCtrl.7&amp;quot;)&lt;br /&gt;do until num = 6&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set tmp = CreateObject(myarray(num))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if IsObject(tmp) then&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; hasAcrobat = true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; v_acrobatreader = num&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num = num + 1&lt;br /&gt;loop&lt;br /&gt;&lt;br /&gt;// --&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&amp;nbsp; &amp;lt;script language=&amp;quot;javascript&amp;quot; type=&amp;quot;text/javascript&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;!--&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*&amp;lt;![CDATA[*/&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (! hasAcrobat) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.location = '&amp;lt;?=$_SERVER['REQUEST_URI']?&amp;gt;&amp;amp;forceDL';&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; window.location = 'some_php_script.php?filesrc=&amp;lt;?=base64_encode($sourceDoc)?&amp;gt;';&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; /*]]&amp;gt;*/&lt;br /&gt;//--&amp;gt;&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8912263030531051178?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8912263030531051178/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8912263030531051178' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8912263030531051178'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8912263030531051178'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/09/detecting-plugins-for-pdf.html' title='Detecting plugins for pdf'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-8060589594778145458</id><published>2008-09-02T10:06:00.000-07:00</published><updated>2008-09-06T13:59:01.212-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disable'/><category scheme='http://www.blogger.com/atom/ns#' term='ajax'/><category scheme='http://www.blogger.com/atom/ns#' term='background'/><category scheme='http://www.blogger.com/atom/ns#' term='css'/><title type='text'>CSS Hide Background</title><content type='html'>I just found this css snippet to somewhat like disabling the elements behind if a dialog box appears.&lt;br /&gt;&lt;br /&gt;/* Enables to disable elements behind */&lt;br /&gt;.somethingDialogUnderlayWrapper {&lt;br /&gt; position: absolute;&lt;br /&gt; left: 0px;&lt;br /&gt; top: 0px;&lt;br /&gt; z-index: 998;&lt;br /&gt; display: none;&lt;br /&gt; background: transparent;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;/* colors to a disabled-color */&lt;br /&gt;.somethingDialogUnderlay {&lt;br /&gt; background: #eeeeee;&lt;br /&gt; opacity: 0.5;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-8060589594778145458?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/8060589594778145458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=8060589594778145458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8060589594778145458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/8060589594778145458'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/09/css-hide-background.html' title='CSS Hide Background'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-1394648636933361142</id><published>2008-05-19T12:19:00.000-07:00</published><updated>2008-05-19T12:57:53.576-07:00</updated><title type='text'>WebFaction.com details on their tools and customer service</title><content type='html'>&lt;pre&gt;&lt;span style="font-family:arial;"&gt;This morning, I was spending my time looking for web hosting and I got this WebFaction.com.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Previously, it was recommended also to me by &lt;/span&gt;&lt;a style="font-family: arial;" href="http://wilsonminer.com/"&gt;Wilson Miner&lt;/a&gt;&lt;span style="font-family:arial;"&gt; (one of Django Framework's developer).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Well definitely, as a programmer, you would be glad to know others suggestions or recommendations&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;whom you might have to think as a guru or expert in some other fields that you would like to be.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;I did send a message to WebFaction.com, and I say wow to their fast reply. They have a good customer&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;service and good technical staff, if you might be getting some of the topics on their forum.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Here's what I've got from them...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;"&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;Hi Paul,&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; Hi WebFaction,&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; I would like to know the versions of tools you have in the server for&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; a shared hosting plan.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; - PHP (if it's php 5 or lower, and what version is it 5.2? 5.3?)&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;v5.2.4&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; - Apache&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;v2.2.3&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; - Python&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;v2.5.1, v2.4.3&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; - Mysql&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;v5.0.22&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; - Ruby&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;v1.8.6&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; &lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; I wanted also to know if WebFaction runs the PHP as a CGI in Apache&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; or if it runs PHP as a module. Or is it possible to make these both&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; running or perhaps if not, possible to change like from PHP on apache&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; module to PHP on CGI or vice versa.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;PHP runs as a module on our main Apache instance. If you need some&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; other configuration, you could compile, configure, and run your own Apache&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; from your home directory.&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;&gt; I'm hoping for you reply because I love to avail on your hosting but&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt; I need first the assurances I wanna have!&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;Thanks for considering WebFaction for your hosting needs :)&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;Regards,&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:trebuchet ms;font-size:130%;"  &gt;Sean Fulmer&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;span style="font-size:130%;"&gt;"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;Well, seems like they are a type of hosting that is running for Web 2.0 standards. Great to have them!&lt;br /&gt;The are ultimately gaining up their popularity in the web hosting business.&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:trebuchet ms;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-1394648636933361142?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/1394648636933361142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=1394648636933361142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1394648636933361142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/1394648636933361142'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2008/05/webfaction-details-on-their-tools-they.html' title='WebFaction.com details on their tools and customer service'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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-727845593412176314.post-6049368410590640199</id><published>2007-11-27T11:07:00.000-08:00</published><updated>2008-05-19T12:37:18.142-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='signature'/><category scheme='http://www.blogger.com/atom/ns#' term='eric'/><category scheme='http://www.blogger.com/atom/ns#' term='dover'/><category scheme='http://www.blogger.com/atom/ns#' term='blues'/><category scheme='http://www.blogger.com/atom/ns#' term='cliffs'/><category scheme='http://www.blogger.com/atom/ns#' term='johnson'/><title type='text'>Eric Johnson's song on cliffs of dover</title><content type='html'>&lt;span style="font-family: arial;"&gt;He's ultimately gaining on the scene of fusion style of music (rock, blues, instrumental, etc.) inspired by Jimi Hendrix, Steve Ray Vaughn, Chuck Berry, James Brown and others.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Watch his video performing this soulful song "Cliffs of Dover"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;object height="373" width="425"&gt;&lt;param name="movie" value="http://www.youtube.com/v/5llfHPzt4H4&amp;amp;hl=en&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;border=1"&gt;&lt;param name="wmode" value="transparent"&gt;&lt;embed src="http://www.youtube.com/v/5llfHPzt4H4&amp;amp;hl=en&amp;amp;rel=0&amp;amp;color1=0xe1600f&amp;amp;color2=0xfebd01&amp;amp;border=1" type="application/x-shockwave-flash" wmode="transparent" height="373" width="425"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/727845593412176314-6049368410590640199?l=toytoygogie.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://toytoygogie.blogspot.com/feeds/6049368410590640199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=727845593412176314&amp;postID=6049368410590640199' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6049368410590640199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/727845593412176314/posts/default/6049368410590640199'/><link rel='alternate' type='text/html' href='http://toytoygogie.blogspot.com/2007/11/eric-johnson-on-cliffs-of-dover.html' title='Eric Johnson&apos;s song on cliffs of dover'/><author><name>Toytoy</name><uri>http://www.blogger.com/profile/12653118018641958630</uri><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>1</thr:total></entry></feed>
