<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DUYNQnc6fyp7ImA9WhRaFEw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983</id><updated>2012-02-16T10:33:13.917-08:00</updated><category term="postgres" /><category term="cache" /><category term="jndi" /><category term="jira" /><category term="tomcat" /><category term="scim" /><category term="ps" /><category term="fedora" /><category term="dvd" /><category term="suse" /><category term="gnome" /><category term="firefox" /><category term="awk" /><category term="jni" /><category term="proxy_ajp" /><category term="ldap" /><category term="ibm" /><category term="shell" /><category term="python" /><category term="websphere" /><category term="C code" /><category term="avi" /><category term="keyboard" /><category term="windows" /><category term="freebsd" /><category term="linpus" /><category term="eclipse" /><category term="db2 linux" /><category term="solaris" /><category term="NetworkManager" /><category term="empathy" /><category term="tesseract" /><category term="notes" /><category term="linux" /><category term="apache" /><category term="k3b" /><category term="svndumpfilter" /><category term="htpasswd" /><category term="meego" /><category term="cuda" /><category term="java" /><category term="mysql" /><category term="usb" /><category term="php" /><category term="jpeg" /><category term="vmware" /><category term="AspireOne" /><category term="jsp" /><category term="SD" /><category term="hudson" /><category term="vnc" /><category term="kde" /><category term="build" /><category term="Active Directory" /><category term="ipod" /><category term="unix" /><category term="wav" /><category term="mp3" /><category term="concrete5" /><category term="ubuntu" /><category term="gd" /><category term="j2ee" /><category term="proxy_balancer" /><category term="subversion" /><title>Formosa Monkey on Tech</title><subtitle type="html">monkey's tech scratch pad</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://formosamonkeyontech.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>51</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/FormosaMonkeyOnTech" /><feedburner:info uri="formosamonkeyontech" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DkAFQHo5fyp7ImA9WhRbFkg.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-811391575832601372</id><published>2012-02-07T14:45:00.000-08:00</published><updated>2012-02-07T14:45:11.427-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-07T14:45:11.427-08:00</app:edited><title>picasa on linux cannot gmail</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5hyg7hYBZ5RizQx0wPKnyFhihkU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5hyg7hYBZ5RizQx0wPKnyFhihkU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5hyg7hYBZ5RizQx0wPKnyFhihkU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5hyg7hYBZ5RizQx0wPKnyFhihkU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
first of all, I don't know why Google doesn't offer picasa linux version download anymore! it's really annoying. &amp;nbsp;Good that I kept a .deb file downloaded somewhere from the past. &amp;nbsp;With picasa installed on Ubuntu 11.10, I had problems sending out pictures through my gmail!&lt;br /&gt;
&lt;br /&gt;
looking at the logs, it doesn't tell you much...&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601742] id 1: Attempting connection type 0 (attempt 0)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601765] InternetQueryOption failed (87)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601775] Proxy information for connection: LAN Connection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Using direct connection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601777] InternetQueryOption failed (87)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601779] Proxy information for default connection:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Using direct connection&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601786] id 1: Stream summary:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;POST request: https://www.google.com/accounts/ClientAuth (0)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Modified request headers:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;&amp;nbsp;Added header: Content-Type: application/x-www-form-urlencoded; charset=utf-8&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Added header: Accept-Encoding: gzip&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;BindStatus messages received: 70,&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Request made via proxy&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;Post data size: 112&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601788] id 1: Error: HttpOpenRequest failed (12157)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601789] id 1: Failed to establish connection. &amp;nbsp;will retry if possible&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601791] id 1: Attempting connection type 1 (attempt 1)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;[173601796] id 1: Stream summary:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;POST request: https://www.google.com/accounts/ClientAuth (0)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
It turns out on my Ubuntu11 it's got&amp;nbsp;libssl1.0.0 installed, but picasa is looking for&lt;br /&gt;
libssl0.9.8, so just install it picasa would work again through gmail!&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style="color: blue;"&gt;apt-get install libssl0.9.8&lt;/span&gt;&lt;/b&gt;&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/6535434445655852983-811391575832601372?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/s-9ZJtseI8E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/811391575832601372/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=811391575832601372" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/811391575832601372?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/811391575832601372?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/s-9ZJtseI8E/picasa-on-linux-cannot-gmail.html" title="picasa on linux cannot gmail" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2012/02/picasa-on-linux-cannot-gmail.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEACQX8-fCp7ImA9WhRbEkU.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6094581278705917042</id><published>2012-02-03T07:26:00.000-08:00</published><updated>2012-02-03T07:26:00.154-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-03T07:26:00.154-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="websphere" /><category scheme="http://www.blogger.com/atom/ns#" term="ibm" /><title>IBM Installation Manager record &amp; silent install</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/7dEnWyZFQ1DXbVxy_qBHIBMu6aI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7dEnWyZFQ1DXbVxy_qBHIBMu6aI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/7dEnWyZFQ1DXbVxy_qBHIBMu6aI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/7dEnWyZFQ1DXbVxy_qBHIBMu6aI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
to record:&lt;br /&gt;
&lt;span style="color: blue;"&gt;./IBMIM -record was8-install.xml&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
to install:&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue;"&gt;./IBMIM --launcher.ini silent-install.ini -input ./was8-install.xml -acceptLicense&lt;/span&gt;&lt;/div&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/6535434445655852983-6094581278705917042?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/pYKYUn7tjMA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6094581278705917042/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6094581278705917042" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6094581278705917042?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6094581278705917042?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/pYKYUn7tjMA/ibm-installation-manager-record-silent.html" title="IBM Installation Manager record &amp; silent install" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2012/02/ibm-installation-manager-record-silent.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MHRXk7cCp7ImA9WhRbEUw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-7883522520290949083</id><published>2011-12-24T10:30:00.000-08:00</published><updated>2012-02-01T07:50:34.708-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-01T07:50:34.708-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="vnc" /><category scheme="http://www.blogger.com/atom/ns#" term="suse" /><title>VNC on SuSE and openSuSE</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MRHQ4nb7RTEX3PKYv95qU0sNloM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRHQ4nb7RTEX3PKYv95qU0sNloM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MRHQ4nb7RTEX3PKYv95qU0sNloM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MRHQ4nb7RTEX3PKYv95qU0sNloM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;wanted to have VNC server installed on SUSE10 and openSUSE12&lt;br /&gt;
but it looks like both vino and Xvnc doesn't support copy &amp;amp; paste between local and remote...&lt;br /&gt;
found&amp;nbsp;x11vnc works out of the box with copy &amp;amp; paste, to have to up running by default after server boots up:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: white;"&gt;
&lt;div&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;cat /etc/SuSE-release&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;openSUSE 12.1 (x86_64)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;VERSION = 12.1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;CODENAME = Asparagus&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
- x11vnc is in the repo of openSUSE12&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;&lt;span style="color: blue;"&gt;zypper install x11vnc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
&lt;span style="color: blue;"&gt;x11vnc -storepasswd /etc/x11vnc.passwd&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
-&amp;nbsp;&lt;a href="http://formosamonkeyontech.blogspot.com/2011/12/rclocal-on-suse-and-opensuse.html"&gt;get rclocal running under /etc/rc.d/rclocal&lt;/a&gt;&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
- add the following line to rclocal:&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
&lt;span style="background-color: lime;"&gt;/usr/bin/x11vnc -sleepin 30 -o /var/log/x11vnc.log -forever -noncache -noxfixes -noxdamage -rfbauth /etc/x11vnc.passwd -display :0 -auth `ps -eaf | grep Xorg | awk {'print $15'}` &amp;amp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="background-color: white; font-family: 'Times New Roman'; font-size: medium;"&gt;
&lt;span style="font-family: arial; font-size: x-small;"&gt;cat /etc/SuSE-release&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: white;"&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
SUSE Linux Enterprise Server 10 (x86_64)&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
VERSION = 10&lt;/div&gt;
&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
- find&amp;nbsp;&lt;b&gt;x11vnc-0.9.2-1.guru.suse101.x86_64.rpm&lt;/b&gt; and install it&lt;/div&gt;
&lt;div style="font-family: arial; font-size: small;"&gt;
&lt;div style="background-color: white;"&gt;
-&amp;nbsp;&lt;a href="http://formosamonkeyontech.blogspot.com/2011/12/rclocal-on-suse-and-opensuse.html"&gt;get rclocal running under /etc/rc.d/rclocal&lt;/a&gt;&lt;/div&gt;
&lt;div style="background-color: white;"&gt;
- add the following line to rclocal:&lt;/div&gt;
&lt;div&gt;
&lt;span style="background-color: lime;"&gt;/usr/bin/x11vnc -sleepin 30 -o /var/log/x11vnc.log -forever -noncache -noxfixes -noxdamage -rfbauth /etc/x11vnc.passwd -display :0 -auth /var/lib/gdm/:0.Xauth &amp;amp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="background-color: white; font-family: arial; font-size: small;"&gt;
&lt;br /&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/6535434445655852983-7883522520290949083?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/kx-9iGEoEgo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/7883522520290949083/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=7883522520290949083" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7883522520290949083?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7883522520290949083?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/kx-9iGEoEgo/vnc-on-suse-and-opensuse.html" title="VNC on SuSE and openSuSE" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/12/vnc-on-suse-and-opensuse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEECQX85eip7ImA9WhRXFE8.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-1907433201183636963</id><published>2011-12-20T15:11:00.000-08:00</published><updated>2011-12-20T15:11:00.122-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-20T15:11:00.122-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="suse" /><title>rc.local on SuSE and openSuSE</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ygHEntglx5LrWHxSyyoauTY4rAg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ygHEntglx5LrWHxSyyoauTY4rAg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ygHEntglx5LrWHxSyyoauTY4rAg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ygHEntglx5LrWHxSyyoauTY4rAg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;create a file under:&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;/etc/rc.d/rclocal&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: white;"&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;--- USE the following header in the file content ---&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: white;"&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;#! /bin/sh&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: white;"&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Author: Felix Wu&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# /etc/init.d/rclocal&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;#&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;### BEGIN INIT INFO&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Provides: rclocal&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Required-Start: $network $remote_fs&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Required-Stop: $network $remote_fs&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Default-Start: 5&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Default-Stop: 0 1 2 3 6&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;# Description: Felix's rclocal&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;### END INIT INFO&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;--- EOF ---&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;to make it effective:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;chmod 755 rclocal&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif; font-size: x-small;"&gt;chkconfig rclocal on&lt;/span&gt;&lt;/b&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/6535434445655852983-1907433201183636963?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/ttXzwfrJG24" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/1907433201183636963/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=1907433201183636963" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/1907433201183636963?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/1907433201183636963?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/ttXzwfrJG24/rclocal-on-suse-and-opensuse.html" title="rc.local on SuSE and openSuSE" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/12/rclocal-on-suse-and-opensuse.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMER34yeip7ImA9WhRQE0s.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-7581186522631255434</id><published>2011-12-08T08:53:00.001-08:00</published><updated>2011-12-08T08:56:46.092-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-08T08:56:46.092-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title># of threads in a process under Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NHrD3Hc5Ao7YBo_RCg12PCxvJsE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NHrD3Hc5Ao7YBo_RCg12PCxvJsE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NHrD3Hc5Ao7YBo_RCg12PCxvJsE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NHrD3Hc5Ao7YBo_RCg12PCxvJsE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;How to check number of threads in a process under Linux? top doesn't show it, but option "m" in ps will.&lt;br /&gt;
I put a space in front and after PID so it doesn't grep longer PID that contains the shorter PID in same sequence.&lt;br /&gt;
&lt;br /&gt;
ps -elm | grep " $PID " | grep -v grep | wc -l&lt;br /&gt;
e.g.&lt;br /&gt;
&lt;br /&gt;
ps -elm | grep " 9919 " | grep -v grep | wc -l&lt;br /&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/6535434445655852983-7581186522631255434?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/0fzJc-Jp9wE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/7581186522631255434/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=7581186522631255434" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7581186522631255434?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7581186522631255434?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/0fzJc-Jp9wE/of-threads-in-process-under-linux.html" title="# of threads in a process under Linux" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/12/of-threads-in-process-under-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUQAQHg-fip7ImA9WhRQEkU.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-4772808293020803482</id><published>2011-12-07T10:37:00.001-08:00</published><updated>2011-12-07T10:42:21.656-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-07T10:42:21.656-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="notes" /><category scheme="http://www.blogger.com/atom/ns#" term="eclipse" /><title>speed up Notes under Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5-YlzcZHiSMTwu-H2_BzsgQ8M_g/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-YlzcZHiSMTwu-H2_BzsgQ8M_g/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5-YlzcZHiSMTwu-H2_BzsgQ8M_g/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5-YlzcZHiSMTwu-H2_BzsgQ8M_g/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;
This is only tested undre an eclipse based Notes under Linux.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I changed the following, adjust the memory size to fit your system:&lt;/div&gt;
/opt/ibm/lotus/notes/framework/rcp/deploy/jvm.properties&lt;div&gt;
&lt;div&gt;
vmarg.Xmx=-Xmx768m&lt;/div&gt;
&lt;div&gt;
vmarg.Xms=-Xms512m&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I see the following files for sametime and Symphony, so probably the same jvm parameters for those but I have not tested them:&lt;/div&gt;
&lt;div&gt;
/opt/ibm/lotus/Sametime/rcp/deploy/jvm.properties&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
/opt/ibm/lotus/Symphony/framework/rcp/deploy/jvm.properties&lt;/div&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/6535434445655852983-4772808293020803482?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/RrHJO9PIHYg" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/4772808293020803482/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=4772808293020803482" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4772808293020803482?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4772808293020803482?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/RrHJO9PIHYg/speed-up-notes-under-linux.html" title="speed up Notes under Linux" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/12/speed-up-notes-under-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUADRngycCp7ImA9WhRRF0Q.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-4008675060582234471</id><published>2011-12-01T19:44:00.001-08:00</published><updated>2011-12-01T19:49:37.698-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T19:49:37.698-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="meego" /><category scheme="http://www.blogger.com/atom/ns#" term="AspireOne" /><title>meego 1.2 syslinux hang after boot</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6boM1WVBw-jMavh0a5A9EJwnMGU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6boM1WVBw-jMavh0a5A9EJwnMGU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6boM1WVBw-jMavh0a5A9EJwnMGU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6boM1WVBw-jMavh0a5A9EJwnMGU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;installed meego-netbook-ia32-chrome-1.2.0 on my very first AspireOne A110L&lt;br /&gt;
it randomly hangs when boot up, quite annoying that I need to power on and off several times to get pass by this...&lt;br /&gt;
the&amp;nbsp;screen would show a SYSLINUX message then everything just frozen!&lt;br /&gt;
&lt;br /&gt;
looks like some boot loader timing issue to me, the following change seems to do the trick:&lt;br /&gt;
/boot/extlinux/extlinux.conf&lt;br /&gt;
prompt 1&lt;br /&gt;
&lt;br /&gt;
timeout 10&lt;br /&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/6535434445655852983-4008675060582234471?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/OETm-oiC-fU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/4008675060582234471/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=4008675060582234471" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4008675060582234471?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4008675060582234471?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/OETm-oiC-fU/meego-12-syslinux-hang-after-boot.html" title="meego 1.2 syslinux hang after boot" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/12/meego-12-syslinux-hang-after-boot.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMDSX86cCp7ImA9WhRRFkw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-5462815135118457752</id><published>2011-11-30T17:20:00.000-08:00</published><updated>2011-11-29T17:27:58.118-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T17:27:58.118-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="suse" /><category scheme="http://www.blogger.com/atom/ns#" term="gnome" /><title>unlock desktop under openSUSE12</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6gRFMjhMi4ckIQ_2LC-WF6Kg-Zg/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6gRFMjhMi4ckIQ_2LC-WF6Kg-Zg/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6gRFMjhMi4ckIQ_2LC-WF6Kg-Zg/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6gRFMjhMi4ckIQ_2LC-WF6Kg-Zg/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Not sure if this is just an openSUSE default gnome setting or a new gnome setting, but after you installed openSUSE12 with gnome desktop, the desktop is locked! cannot right click, cannot see any files/directories under your desktop, it is just weird. &amp;nbsp;To unlock it, run gnome-tweak-tool from terminal:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;gnome-tweak-tool&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Desktop -&amp;gt; Have file manager handle the desktop&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span style="background-color: transparent; color: black; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Back to normal again :-)&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/6535434445655852983-5462815135118457752?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/ERnEKGYVZEQ" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/5462815135118457752/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=5462815135118457752" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5462815135118457752?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5462815135118457752?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/ERnEKGYVZEQ/unlock-desktop-under-opensuse12.html" title="unlock desktop under openSUSE12" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/11/unlock-desktop-under-opensuse12.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEIHRnw8fyp7ImA9WhRRFkw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6716666279052345589</id><published>2011-11-29T17:12:00.001-08:00</published><updated>2011-11-29T17:28:57.277-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-29T17:28:57.277-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="vnc" /><category scheme="http://www.blogger.com/atom/ns#" term="windows" /><title>Windows Server 2008R2 CTRL-ALT-DEL doesn't work for VNC</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/CIOBJp3AELkwJSEHSmuB_7hwpBE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CIOBJp3AELkwJSEHSmuB_7hwpBE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/CIOBJp3AELkwJSEHSmuB_7hwpBE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/CIOBJp3AELkwJSEHSmuB_7hwpBE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.5020708574447781" style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;So MS decided to disable software emulation of CTRL-ALT-DEL in Windows Server 2008R2, guess it propose some more vulnerability to Windows.. it caused some grief when using VNC viewer..&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.5020708574447781" style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span id="internal-source-marker_0.5020708574447781" style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;1. run -&amp;gt; gpedit.msc&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="background-color: transparent;"&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;2. Computer Configuration &amp;gt; Administrative Templates &amp;gt; Windows components -&amp;gt; Windows Logon Options&lt;/span&gt;&lt;span style="background-color: transparent; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline;"&gt;&amp;nbsp;-&amp;gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 15px; white-space: pre-wrap;"&gt; "Disable or enable software Secure Attention Sequence".&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;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;/span&gt;3. Change the following:&lt;br /&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Enabled&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;Services and Ease of Access applications&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 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;
Reference:&lt;br /&gt;
&lt;span style="background-color: transparent; font-family: Arial; font-size: 15px; font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; vertical-align: baseline; white-space: pre-wrap;"&gt;&lt;a href="http://forum.ultravnc.info/viewtopic.php?t=17476&amp;amp;sid=c4d9c14d4d7ef4884d4d92984577bb6d"&gt;http://forum.ultravnc.info/viewtopic.php?t=17476&amp;amp;sid=c4d9c14d4d7ef4884d4d92984577bb6d&lt;/a&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/6535434445655852983-6716666279052345589?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/vBUDj4ASNZU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6716666279052345589/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6716666279052345589" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6716666279052345589?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6716666279052345589?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/vBUDj4ASNZU/windows-server-2008r2-ctrl-alt-del.html" title="Windows Server 2008R2 CTRL-ALT-DEL doesn't work for VNC" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/11/windows-server-2008r2-ctrl-alt-del.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8BRHs_eyp7ImA9WhRRF0Q.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-3462002335642126973</id><published>2011-11-24T07:11:00.001-08:00</published><updated>2011-12-01T19:50:55.543-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T19:50:55.543-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="python" /><title>python web login script</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/a4WLHRmYO7CYJFSLJkK_n_y2-dQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a4WLHRmYO7CYJFSLJkK_n_y2-dQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/a4WLHRmYO7CYJFSLJkK_n_y2-dQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/a4WLHRmYO7CYJFSLJkK_n_y2-dQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;this script assumes the login website first return a page with session ID, second page would present the login and password field associated with the session ID.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;on redhat, make sure you have python installed and also install mechanize:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="background-color: white;"&gt;&lt;span class="Apple-style-span" style="color: #38761d; font-family: Arial, Helvetica, sans-serif;"&gt;yum install python-mechanize.noarch&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;#!/usr/bin/python&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;import mechanize&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;from urllib2 import urlopen&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;from ClientForm import ParseResponse&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;res1 = mechanize.urlopen("http://login.domain.com/")&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;#print res1.read()&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;forms = ParseResponse(res1, backwards_compat=False)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;form1 = forms[0]&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;print "sessionID "&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;print form1["sessionID"]&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;res2 = mechanize.urlopen(form1.click())&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;#print res2.read()&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;forms = ParseResponse(res2, backwards_compat=False)&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;form2 = forms[0]&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;print form2&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;form2["username"] = "myusername"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;form2["password"] = "mypassword"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;urlopen(form2.click())&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;print urlopen(form2.click()).read()&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-3462002335642126973?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/GTvyeBilRVY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/3462002335642126973/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=3462002335642126973" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/3462002335642126973?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/3462002335642126973?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/GTvyeBilRVY/python-web-login-script.html" title="python web login script" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/11/python-web-login-script.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0QCQHY7eyp7ImA9WhRSFU4.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-5037238070244669509</id><published>2011-11-17T06:15:00.001-08:00</published><updated>2011-11-17T06:16:01.803-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-17T06:16:01.803-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="java" /><title>java default sizes</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W7jEaEVpXN239KewxT_3iWAjh6Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W7jEaEVpXN239KewxT_3iWAjh6Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W7jEaEVpXN239KewxT_3iWAjh6Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W7jEaEVpXN239KewxT_3iWAjh6Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;to see the default stack, heap sizes in IBM JRE/JDK, run this command:&lt;br /&gt;
java -verbose:sizes -version&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-5037238070244669509?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/2r8MoMTpG30" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/5037238070244669509/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=5037238070244669509" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5037238070244669509?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5037238070244669509?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/2r8MoMTpG30/java-default-sizes.html" title="java default sizes" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/11/java-default-sizes.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMAQH8zcSp7ImA9WhRTF0o.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-9065902525562786522</id><published>2011-11-08T09:47:00.000-08:00</published><updated>2011-11-08T09:47:21.189-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-11-08T09:47:21.189-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Ubuntu chkconfig equivalent</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LwhOSL5phCi1ujOeVARu_a39-UQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LwhOSL5phCi1ujOeVARu_a39-UQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LwhOSL5phCi1ujOeVARu_a39-UQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LwhOSL5phCi1ujOeVARu_a39-UQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;what's the command line service config tool in ubuntu for different runlevel?&lt;br /&gt;
&lt;br /&gt;
apt-get install&amp;nbsp;sysv-rc-conf&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-9065902525562786522?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/iun-ipJxgS0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/9065902525562786522/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=9065902525562786522" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/9065902525562786522?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/9065902525562786522?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/iun-ipJxgS0/ubuntu-chkconfig-equivalent.html" title="Ubuntu chkconfig equivalent" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/11/ubuntu-chkconfig-equivalent.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQGQXs9eSp7ImA9WhdSGEw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6336175050034559747</id><published>2011-07-27T17:52:00.000-07:00</published><updated>2011-07-27T17:52:00.561-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-27T17:52:00.561-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="empathy" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Empathy logs in Ubuntu</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/xo3bTZ73pkh6xhSbBbngfp_Ma98/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xo3bTZ73pkh6xhSbBbngfp_Ma98/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/xo3bTZ73pkh6xhSbBbngfp_Ma98/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/xo3bTZ73pkh6xhSbBbngfp_Ma98/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Empathy logs your conversation by default and it seems to store its log in different locations between different releases? on ubuntuforum thread people found it under:&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;~/.gnome2/Empathy/logs&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;~/.local/share/Empathy/logs&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;~/.local/share/empathy&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;On my Ubuntu 10.10 I found them here:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, Arial, Tahoma;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;~/.local/share/TpLogger/logs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="font-family: Verdana, Arial, Tahoma; font-size: 12px;"&gt;Reference:&amp;nbsp;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: small;"&gt;&lt;a href="http://ubuntuforums.org/showthread.php?t=1163726"&gt;http://ubuntuforums.org/showthread.php?t=1163726&lt;/a&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/6535434445655852983-6336175050034559747?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/lf7GyN9QVt0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6336175050034559747/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6336175050034559747" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6336175050034559747?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6336175050034559747?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/lf7GyN9QVt0/empathy-logs-in-ubuntu.html" title="Empathy logs in Ubuntu" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/07/empathy-logs-in-ubuntu.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYFSHo8eCp7ImA9WhRbEE8.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-4432996186484259688</id><published>2011-07-08T20:54:00.001-07:00</published><updated>2012-01-31T07:01:59.470-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-01-31T07:01:59.470-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="AspireOne" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Ubuntu 10.10 on Acer AspireOne 522</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/9DQb2md-pec9qKOJHGsHpJhxo28/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9DQb2md-pec9qKOJHGsHpJhxo28/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/9DQb2md-pec9qKOJHGsHpJhxo28/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/9DQb2md-pec9qKOJHGsHpJhxo28/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;quite a few issues with&amp;nbsp;Ubuntu 10.10 on AOD522&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;Problem #1 - it keeps hanging after login:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;disable the atl1c driver and update the initramfs image:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;add in &lt;span style="background-color: lime;"&gt;/etc/modprobe.d/blacklist.conf&lt;/span&gt; this line&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="background-color: blue;"&gt;blacklist atl1c&lt;/span&gt;&lt;br /&gt;&lt;span style="color: blue;"&gt;update-initramfs -u&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;b&gt;Problem #2 - getting AMD video driver to work:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/maverick&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;apt-get install -y debhelper dh-modaliases libqtgui4 execstack&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;sh ati-driver-installer-11-6-x86.x86_64.run --buildpkg Ubuntu/lucid&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;aticonfig --initial&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;aticonfig --resolution=0,1280x720&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;b&gt;Problem #3 - speaker doesn't turn off after headset plugged in:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;apt-get install pavucontrol&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif;"&gt;/etc/modprobe.d/options.conf&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif;"&gt;options snd-hda-intel model=laptop,dell-vostro position_fix=0,1&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style="font-family: Verdana, sans-serif;"&gt;If you don't like the new interface with mutter, you can get the old netbook-launcher back:&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;apt-get install netbook-launcher-efl&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Verdana, Arial, Tahoma;"&gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Verdana, Arial, Tahoma;"&gt;&lt;span style="font-size: 12px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-4432996186484259688?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/r735DJOUE9E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/4432996186484259688/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=4432996186484259688" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4432996186484259688?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4432996186484259688?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/r735DJOUE9E/ubuntu-1010-on-acer-aspireone-522.html" title="Ubuntu 10.10 on Acer AspireOne 522" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/07/ubuntu-1010-on-acer-aspireone-522.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkYAQncycCp7ImA9WhZaGEQ.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-4329785537554276023</id><published>2011-07-05T11:22:00.000-07:00</published><updated>2011-07-05T11:22:23.998-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-05T11:22:23.998-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ldap" /><category scheme="http://www.blogger.com/atom/ns#" term="Active Directory" /><title>USVN with Active Directory</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2RUEIzknDYSomq_-Z4JlZptwFIE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2RUEIzknDYSomq_-Z4JlZptwFIE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2RUEIzknDYSomq_-Z4JlZptwFIE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2RUEIzknDYSomq_-Z4JlZptwFIE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;to make USVN's LDAP working with Active Directory was tricky, use the following in config.ini&lt;div&gt;&lt;br /&gt;
&lt;div&gt;&lt;div&gt;alwaysUseDatabaseForLogin = "admin"&lt;/div&gt;&lt;div&gt;authAdapterMethod = "ldap"&lt;/div&gt;&lt;div&gt;ldap.options.host = "domain.com"&lt;/div&gt;&lt;div&gt;ldap.options.port = "389"&lt;/div&gt;&lt;div&gt;ldap.options.username = "CN=username,CN=users,DC=domain,DC=com"&lt;/div&gt;&lt;div&gt;ldap.options.password = "password"&lt;/div&gt;&lt;div&gt;ldap.options.useStartTls = "0"&lt;/div&gt;&lt;div&gt;ldap.options.useSsl = "0"&lt;/div&gt;&lt;div&gt;ldap.options.bindDnFormat = "%s"&lt;/div&gt;&lt;div&gt;ldap.options.bindRequiresDn = "1"&lt;/div&gt;&lt;div&gt;ldap.options.baseDn = "DC=domain,DC=com"&lt;/div&gt;&lt;div&gt;ldap.options.accountCanonicalForm = "0"&lt;/div&gt;&lt;div&gt;ldap.options.allowEmptyPassword = "0"&lt;/div&gt;&lt;div&gt;ldap.options.optReferrals = "0"&lt;/div&gt;&lt;div&gt;ldap.options.accountDomainName = ""&lt;/div&gt;&lt;div&gt;ldap.options.accountDomainNameShort = ""&lt;/div&gt;&lt;div&gt;ldap.options.accountFilterFormat = "(&amp;amp;(objectClass=user)(sAMAccountName=%s))"&lt;/div&gt;&lt;div&gt;ldap.createGroupForUserInDB = "1"&lt;/div&gt;&lt;div&gt;ldap.createUserInDBOnLogin = "1"&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/6535434445655852983-4329785537554276023?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/luBpcZ0jwwc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/4329785537554276023/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=4329785537554276023" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4329785537554276023?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/4329785537554276023?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/luBpcZ0jwwc/usvn-with-active-directory.html" title="USVN with Active Directory" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/07/usvn-with-active-directory.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkAAQHY_fyp7ImA9WhZREk0.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6907804411659961805</id><published>2011-04-07T12:10:00.000-07:00</published><updated>2011-04-07T12:32:21.847-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-07T12:32:21.847-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="jira" /><category scheme="http://www.blogger.com/atom/ns#" term="solaris" /><title>JIRA instance restarter</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/US5Y1IWSfFT9Av-1JUE3zoley1c/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/US5Y1IWSfFT9Av-1JUE3zoley1c/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/US5Y1IWSfFT9Av-1JUE3zoley1c/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/US5Y1IWSfFT9Av-1JUE3zoley1c/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Just a simple script I use to watch for JIRA process, in case if it dies the script would restart it automatically. &amp;nbsp;This can be used for whatever process. &amp;nbsp;Note: it's using ps awwx under Solaris.&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
#!/bin/sh&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
jira=$1&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;pid=`/usr/ucb/ps awwx | grep java | grep "$jira" &amp;nbsp;| awk {'print $1'}`&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;if [ "$pid" = "" ]&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;pid=0&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;fi&lt;/span&gt;&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
if [ $pid -gt 1 ]&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo $jira" - JIRA is running fine"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;else&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo $jira" - JIRA is not running, trying to restart... "&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;echo $jira"bin/restart.sh"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;$jira"bin/restart.sh"&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;----------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: x-small;"&gt;few more JIRA house keeping daily scripts:&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;## lock-cleanup.sh&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;JIRA_HOME=/opt/global/jira&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;if [ -f $JIRA_HOME/index/comments/write.lock ];&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rm $JIRA_HOME/index/comments/write.lock&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;if [ -f $JIRA_HOME/index/issues/write.lock ];&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;then&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;rm $JIRA_HOME/index/issues/write.lock&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;fi&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;----------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;## backup-cleanup.sh&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;#!/bin/sh&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;JIRA_HOME=/opt/global/jira&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;DAYS=30&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Verdana, sans-serif; font-size: x-small;"&gt;find $JIRA_HOME/backup/ -name "*.zip" -ctime +$DAYS -exec rm {} \;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-6907804411659961805?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/3mGHdbsPO6Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6907804411659961805/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6907804411659961805" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6907804411659961805?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6907804411659961805?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/3mGHdbsPO6Q/jira-instance-restarter.html" title="JIRA instance restarter" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/04/jira-instance-restarter.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEARXw6cSp7ImA9WhRQEkU.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6854415340321478968</id><published>2011-04-01T13:14:00.000-07:00</published><updated>2011-12-07T10:47:24.219-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-07T10:47:24.219-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="freebsd" /><category scheme="http://www.blogger.com/atom/ns#" term="concrete5" /><title>concrete5 add-ons install in FreeBSD</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/HZEeYSVG_szaCdrqhFNNT737l9s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HZEeYSVG_szaCdrqhFNNT737l9s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/HZEeYSVG_szaCdrqhFNNT737l9s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/HZEeYSVG_szaCdrqhFNNT737l9s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;concrete5.org provides lots cool add-ons that can be installed by GUI in your concrete5 site. &amp;nbsp;The add-on is a archive zip file where it needs to be unzipped to your concrete5 web directory on the server. &amp;nbsp;If you try to install it by GUI with one click and your backend is running on FreeBSD, you going to see an install failed message without further details. &amp;nbsp;The root cause is that concrete5 hardcoded the path of unzip under /usr/bin/unzip&lt;br /&gt;
&lt;br /&gt;
fix:&lt;br /&gt;
install unzip from FreeBSD ports, it will be located in /usr/loca/bin/unzip&lt;br /&gt;
cd /usr/ports/archivers/unzip&lt;br /&gt;
make ; make install ; make clean&lt;br /&gt;
&lt;br /&gt;
make a&amp;nbsp;symbolic&amp;nbsp;link to it:&lt;br /&gt;
cd /usr/bin/&lt;br /&gt;
ln -s /usr/local/bin/unzip unzip&lt;br /&gt;
&lt;br /&gt;
now you are done, enjoy one click install!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-6854415340321478968?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/jiAOWNTA7TA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6854415340321478968/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6854415340321478968" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6854415340321478968?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6854415340321478968?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/jiAOWNTA7TA/concrete5-add-ons-install-in-freebsd.html" title="concrete5 add-ons install in FreeBSD" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/04/concrete5-add-ons-install-in-freebsd.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EDRX47eip7ImA9WhZTGEw.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-336590636107368685</id><published>2011-03-22T09:33:00.000-07:00</published><updated>2011-03-22T09:34:34.002-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-22T09:34:34.002-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C code" /><title>converting decimals to binary &amp; hex</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yBNcHVvrCOXDWqKbXEkY-SlVjP4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yBNcHVvrCOXDWqKbXEkY-SlVjP4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yBNcHVvrCOXDWqKbXEkY-SlVjP4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yBNcHVvrCOXDWqKbXEkY-SlVjP4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Trying to keep brain from getting rusty... coded some simple functions in C that takes a decimal and spits out binary and hex. &amp;nbsp;Thought I might share it, enjoy!&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;&lt;br /&gt;
&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;#include &lt;stdio.h&gt;&lt;/stdio.h&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;#include &lt;stdlib.h&gt;&lt;/stdlib.h&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;void dec2bin(int dec);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;void dec2hex(int dec);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;int main(char *argv[])&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;int i,j,num,tmp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;scanf("%d",&amp;amp;num);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("dec: %d\n",num);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("bin: ");&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;dec2bin(num); &lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("\nhex: ");&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;dec2hex(num); &lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;void dec2bin(int dec)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (dec&amp;gt;0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;dec2bin(dec&amp;gt;&amp;gt;1);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (dec&amp;amp;1&amp;gt;=1)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("1");&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("0");&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;void dec2hex(int dec)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (dec&amp;gt;0)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;if (dec&amp;lt;10)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;printf("%d",dec);&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;else if (dec&amp;gt;15)&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;dec2hex(dec/16);&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;dec2hex(dec%16);&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;printf("%c",dec-10+'A');&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Verdana, sans-serif; font-size: 11px;"&gt;printf("0");&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0in;"&gt;&lt;span style="font-family: Verdana, sans-serif;"&gt;&lt;span style="font-size: xx-small;"&gt;}&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/6535434445655852983-336590636107368685?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/AIiMkCxiajY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/336590636107368685/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=336590636107368685" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/336590636107368685?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/336590636107368685?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/AIiMkCxiajY/converting-decimals-to-binary-hex.html" title="converting decimals to binary &amp; hex" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/03/converting-decimals-to-binary-hex.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0IDR389eSp7ImA9WhdSF0o.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-5885389969984479279</id><published>2011-03-07T05:58:00.000-08:00</published><updated>2011-07-27T05:59:36.161-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-27T05:59:36.161-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ipod" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>using ipod shuffle under linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zMd1kaRqdUod-Tkdc0Ux4qcOn90/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zMd1kaRqdUod-Tkdc0Ux4qcOn90/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zMd1kaRqdUod-Tkdc0Ux4qcOn90/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zMd1kaRqdUod-Tkdc0Ux4qcOn90/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I've been using gtkpod with my ipod shuffle. &amp;nbsp;A while ago, not sure what I have done when loading new songs into it, seems everything is corrupted, in gtkpod and hipo both shows the old songs, but when I play it there were only a few new songs available on the device and old ones were not in there. &amp;nbsp;Tried both gtkpod and hipo to delete the songs to start from fresh but had no luck. &amp;nbsp;At the end, command line tools does th trick, install gnupod-tools&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;gnupod_INIT -m /media/IPOD&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;gnucheck_--fixit -m /media/IPOD&lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-5885389969984479279?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/LHMPWBYE3Z8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/5885389969984479279/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=5885389969984479279" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5885389969984479279?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/5885389969984479279?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/LHMPWBYE3Z8/using-ipod-shuffle-under-linux.html" title="using ipod shuffle under linux" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2011/03/using-ipod-shuffle-under-linux.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkUMQn8-cCp7ImA9WhZaGEQ.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-6596109269864545057</id><published>2010-12-10T04:51:00.000-08:00</published><updated>2011-07-05T11:24:43.158-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-05T11:24:43.158-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="SD" /><category scheme="http://www.blogger.com/atom/ns#" term="AspireOne" /><category scheme="http://www.blogger.com/atom/ns#" term="ubuntu" /><title>Ubuntu netbook SD card reader issue in Acer AspireOne</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/uODwpUS_OdEnQFjguQCEOzQdmxc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uODwpUS_OdEnQFjguQCEOzQdmxc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/uODwpUS_OdEnQFjguQCEOzQdmxc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/uODwpUS_OdEnQFjguQCEOzQdmxc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Recently I got a new netbook Acer AspireOne D255&lt;br /&gt;
&lt;br /&gt;
Installed Ubuntu 10.10,&amp;nbsp;unfortunately&amp;nbsp;the new clutter windows manager - mutter was a big disappointment, it has an obvious performance issue when comparing without mutter even on a slower atom processor! this made me go back to 10.04.&lt;br /&gt;
&lt;br /&gt;
The new model seem to be using a different brand of SD card reader which has no driver support from linux...&lt;br /&gt;
lsusb shows the following:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;ENE Flash&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;UB6250&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;606569746801&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
After google around, several of suggested grub and modprobe config changes doesn't work at all, finally found the driver has just been recently added to the kernel from version&amp;nbsp;2.6.36, which 10.04 came with 2.6.32 obviously wouldn't work.&lt;br /&gt;
&lt;br /&gt;
The new kernel isn't available in the standard repository, but to add it, just follow these simple steps:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;sudo add-apt-repository ppa:kernel-ppa/ppa&amp;nbsp;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;sudo apt-get update&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;apt-get install linux-image-2.6.37-8-generic&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;reboot with the new 2.6.37-8 kernel then you'll see the SD card!&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Reference:&lt;br /&gt;
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/633852&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&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/6535434445655852983-6596109269864545057?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/46j8zSgCC7U" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/6596109269864545057/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=6596109269864545057" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6596109269864545057?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/6596109269864545057?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/46j8zSgCC7U/ubuntu-netbook-sd-card-reader-issue-in.html" title="Ubuntu netbook SD card reader issue in Acer AspireOne" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>2</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2010/12/ubuntu-netbook-sd-card-reader-issue-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkIARHYyfyp7ImA9WhRRF0Q.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-8808504178558938702</id><published>2010-07-19T09:28:00.000-07:00</published><updated>2011-12-01T20:02:25.897-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T20:02:25.897-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="avi" /><title>capture images from avi using ffmpeg</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RmBj1eapYo6162O5gVLYhjx8lb0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RmBj1eapYo6162O5gVLYhjx8lb0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RmBj1eapYo6162O5gVLYhjx8lb0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RmBj1eapYo6162O5gVLYhjx8lb0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;div&gt;
this script would use ffmpeg to split a video into series of images on the second provided.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
for i in `seq -w 1 1 100`&lt;/div&gt;
&lt;div&gt;
do&lt;br /&gt;
&amp;nbsp;&amp;nbsp; ffmpeg -itsoffset -00:02:03.$i -i video.avi -vcodec png -vframes 1 -an -f rawvideo pix-$i.png&lt;br /&gt;
done&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-8808504178558938702?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/XskuimJFX70" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/8808504178558938702/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=8808504178558938702" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/8808504178558938702?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/8808504178558938702?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/XskuimJFX70/capture-images-from-video-using-ffmpeg.html" title="capture images from avi using ffmpeg" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2010/07/capture-images-from-video-using-ffmpeg.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYNR38-eCp7ImA9WxFWFEk.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-9042246129620842250</id><published>2010-05-31T18:17:00.000-07:00</published><updated>2010-06-01T18:46:36.150-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-06-01T18:46:36.150-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="db2 linux" /><title>Issues with installing DB2 8.1 Development Client on Linux</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jA6M9fK1a2t55PFnbOyEoj-BHaQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jA6M9fK1a2t55PFnbOyEoj-BHaQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jA6M9fK1a2t55PFnbOyEoj-BHaQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jA6M9fK1a2t55PFnbOyEoj-BHaQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;When running the most obvious command &lt;b&gt;db2setup&lt;/b&gt;, it shows the following then nothing happens:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DBI1190I db2setup is preparing the DB2 Setup wizard which will&lt;/b&gt;&lt;b&gt;&amp;nbsp;guide you through the program setup process. Please&amp;nbsp;&lt;/b&gt;&lt;b&gt;wait. &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Perhaps it is because I am not running X as GUI, but strange it didn't complain about the DISPLAY message.&lt;br /&gt;
&lt;br /&gt;
It can be installed by using &lt;b&gt;db2_install&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Post-install is unusual compare to other database installs, you need to run this to create an "instance" with an userid already exist on the system.&lt;br /&gt;
However, I get the following error on Red Hat Enterprise Linux Server release 5.4 (Tikanga)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;/opt/IBM/db2/V8.1/instance/db2iutil/db2icrt -a SERVER -s client appuser&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;DBI1069E Unexpected error. Function = chk_fsystype, Return code =&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;22. &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It seems to be the version of tail issue, you need to change this script:&lt;br /&gt;
&lt;b&gt;/opt/IBM/db2/V8.1/instance/db2iutil/db2iutil&lt;/b&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: red;"&gt;global search for "tail +2", change it to "tail -n +2"&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[root@hostname]# ./db2icrt -a SERVER -s client appuser&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;DBI1070I Program db2icrt completed successfully. &amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Reference&lt;br /&gt;
&lt;a href="http://oss.sgi.com/LDP/HOWTO/DB2-HOWTO/db2instance.html"&gt;http://oss.sgi.com/LDP/HOWTO/DB2-HOWTO/db2instance.html&lt;/a&gt;&lt;br /&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/6535434445655852983-9042246129620842250?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/aSBIjv9Pez4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/9042246129620842250/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=9042246129620842250" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/9042246129620842250?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/9042246129620842250?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/aSBIjv9Pez4/issues-with-installing-db2-81.html" title="Issues with installing DB2 8.1 Development Client on Linux" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2010/06/issues-with-installing-db2-81.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YCSHg8fCp7ImA9WxBWFEU.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-3742494741267323746</id><published>2010-02-06T10:31:00.000-08:00</published><updated>2010-02-06T10:32:49.674-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-02-06T10:32:49.674-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="subversion" /><category scheme="http://www.blogger.com/atom/ns#" term="ldap" /><title>Subversion userid case-sensitivie validation for Active Directory</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6nGH2Uy2GhrYDSpF8u2mm9Zarws/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6nGH2Uy2GhrYDSpF8u2mm9Zarws/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6nGH2Uy2GhrYDSpF8u2mm9Zarws/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6nGH2Uy2GhrYDSpF8u2mm9Zarws/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;Subversion's user authentication is case sensitive for both userid and password.&amp;nbsp; While this is the standard in the *nix world, unfortunately Windows users tend to put their userid in whatever case they feel like.&amp;nbsp; I couldn't find a configuration option for this in Subversion, also no luck from the net...&amp;nbsp; So I went into the source code and did a quick &amp;amp; dirty workaround since all our users are validating their accounts against Windows Active Directory which is case-insensitive for their userid.&lt;br /&gt;
&lt;br /&gt;
replace strcmp with strcasecmp in the following two lines.&amp;nbsp; This is for Subverison 1.4.0.&amp;nbsp; Just search for strcmp in the same file for newer version.&lt;br /&gt;
&lt;br /&gt;
./subversion/libsvn_repos/authz.c&lt;br /&gt;
&lt;br /&gt;
line 156:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (str&lt;b&gt;&lt;span style="color: red;"&gt;case&lt;/span&gt;&lt;/b&gt;cmp(user, group_user) == 0)&lt;br /&gt;
line 189:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else if (str&lt;b&gt;&lt;span style="color: red;"&gt;case&lt;/span&gt;&lt;/b&gt;cmp(name, b-&amp;gt;user) != 0)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-3742494741267323746?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/h6zJZtUWFyo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/3742494741267323746/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=3742494741267323746" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/3742494741267323746?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/3742494741267323746?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/h6zJZtUWFyo/subversion-userid-case-sensitivie.html" title="Subversion userid case-sensitivie validation for Active Directory" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2010/02/subversion-userid-case-sensitivie.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EESHY4fyp7ImA9WhdSF0o.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-1908098083121538198</id><published>2010-01-18T17:55:00.000-08:00</published><updated>2011-07-27T06:00:09.837-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-27T06:00:09.837-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="tesseract" /><category scheme="http://www.blogger.com/atom/ns#" term="linux" /><title>compiling tesseract for Linux 32-bit</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jzoHyMff22DJ9HXlE7Zmso7tCRE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jzoHyMff22DJ9HXlE7Zmso7tCRE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jzoHyMff22DJ9HXlE7Zmso7tCRE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jzoHyMff22DJ9HXlE7Zmso7tCRE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;compiling tesseract for Linux 32-bit under a 64-bit Linux environment wasn't the most straight forward thing... even with -m32 flag set for gcc flags,it failed during linking: &lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: blue; font-family: Verdana,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;ld -r -o libtesseract_full.o tesseractfull.o \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; libtesseract_main.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../textord/libtesseract_textord.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../pageseg/libtesseract_pageseg.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../wordrec/libtesseract_wordrec.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../classify/libtesseract_classify.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../dict/libtesseract_dict.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../viewer/libtesseract_viewer.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../image/libtesseract_image.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../cutil/libtesseract_cutil.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../ccstruct/libtesseract_ccstruct.a \&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ../ccutil/libtesseract_ccutil.a&lt;br /&gt;
ld: Relocatable linking with relocations from format elf32-i386 (tesseractfull.o) to format elf64-x86-64 (libtesseract_full.o) is not supported&lt;br /&gt;
make[3]: *** [libtesseract_full.o] Error 1&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
setting -m32 for LDFLAGS didn't do the trick, ld likes this flag better "-melf_i386", but setting this in LDFLAGS would cause tesseract fail when running configure&lt;br /&gt;
I had to manually go under ccmain do the following with -melf_i386:&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;tesseract-2.03]$ cd ccmain&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;ccmain]$ ld -r -o libtesseract_full.o tesseractfull.o \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; libtesseract_main.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../textord/libtesseract_textord.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../pageseg/libtesseract_pageseg.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../wordrec/libtesseract_wordrec.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../classify/libtesseract_classify.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../dict/libtesseract_dict.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../viewer/libtesseract_viewer.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../image/libtesseract_image.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../cutil/libtesseract_cutil.a \&lt;/span&gt;&lt;br style="color: blue; font-family: Verdana,sans-serif;" /&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../ccstruct/libtesseract_ccstruct.a \&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ../ccutil/libtesseract_ccutil.a -melf_i386&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
after that go back one level up and run make ; make install again.&lt;br /&gt;
&lt;div style="color: blue; font-family: Verdana,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;cd ..&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="color: blue; font-family: Verdana, sans-serif;"&gt;make&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-1908098083121538198?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/xCsd8ZXJiAI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/1908098083121538198/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=1908098083121538198" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/1908098083121538198?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/1908098083121538198?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/xCsd8ZXJiAI/compiling-tesseract-for-linux-32-bit.html" title="compiling tesseract for Linux 32-bit" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2010/01/compiling-tesseract-for-linux-32-bit.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUECQnk7fSp7ImA9WxNVFUs.&quot;"><id>tag:blogger.com,1999:blog-6535434445655852983.post-7590671074288453669</id><published>2009-10-26T07:31:00.000-07:00</published><updated>2009-10-26T07:34:23.705-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-10-26T07:34:23.705-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="build" /><category scheme="http://www.blogger.com/atom/ns#" term="subversion" /><category scheme="http://www.blogger.com/atom/ns#" term="hudson" /><title>Hudson config for SVN credentials</title><content type="html">
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6G5uP6RC3eochoNrt-iBszQdVPM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6G5uP6RC3eochoNrt-iBszQdVPM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6G5uP6RC3eochoNrt-iBszQdVPM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6G5uP6RC3eochoNrt-iBszQdVPM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;I've been integrating Hudson into our build process, interesting enough that I couldn't find where to set the subversion credentials from Hudson's config menus.&amp;nbsp; Found the solution from web, simply go to URL to config:&lt;br /&gt;
&lt;b&gt;http://${HUDSON_HOST:PORT}/scm/SubversionSCM/enterCredential&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
the file on the server is under:&lt;br /&gt;
&lt;b&gt;${HOME}/.hudson/hudson.scm.SubversionSCM.xml &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Not sure if it supports multiple repositories with different credentials.&lt;br /&gt;
&lt;br /&gt;
Reference:&lt;br /&gt;
&lt;a href="http://www.testearly.com/2007/06/12/subversion-authentication-in-hudson/"&gt;http://www.testearly.com/2007/06/12/subversion-authentication-in-hudson/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6535434445655852983-7590671074288453669?l=formosamonkeyontech.blogspot.com' alt='' /&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/FormosaMonkeyOnTech/~4/P-gbrC3Jbow" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://formosamonkeyontech.blogspot.com/feeds/7590671074288453669/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=6535434445655852983&amp;postID=7590671074288453669" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7590671074288453669?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/6535434445655852983/posts/default/7590671074288453669?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/FormosaMonkeyOnTech/~3/P-gbrC3Jbow/hudson-config-for-svn-credentials.html" title="Hudson config for SVN credentials" /><author><name>Felix Wu</name><uri>https://profiles.google.com/104137606351246645753</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh6.googleusercontent.com/-6GGmhlMjaXI/AAAAAAAAAAI/AAAAAAAAA8E/vBcxqsto6yQ/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://formosamonkeyontech.blogspot.com/2009/10/hudson-config-for-svn-credentials.html</feedburner:origLink></entry></feed>

