<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5499552160545217724</id><updated>2012-02-15T22:47:21.768-08:00</updated><category term='Webservice'/><category term='MultiXTpm'/><category term='ISO 8583'/><category term='ISO 8583 Server'/><title type='text'>My technical notes ...</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-7398515471022899294</id><published>2011-01-06T16:02:00.000-08:00</published><updated>2011-01-06T16:08:39.210-08:00</updated><title type='text'>Segment 3D model in blender to get a separate OBJ goup</title><content type='html'>&lt;pre&gt;&lt;br /&gt;&lt;br /&gt;Procedure:&lt;br /&gt;  &lt;br /&gt;1) Laso select desired faces in edit mode - CTL+LMS drag (use vertex/edge/face selection as needed - buttons at the right end). First select roughly and unlselect (CTR+Shift+LMS drag) to refine the selection. Edge mode helps here.&lt;br /&gt;&lt;br /&gt;2) Split by pressing 'p' (split P mesh/vertex/split)&lt;br /&gt;&lt;br /&gt;3) Select the part in object mode (tab) and give object and data block name in Link and Materials window.&lt;br /&gt;&lt;br /&gt;4) Select all and export as obj (Say export blender objects as OBJ groups using the buttons at the bottom)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Refs:&lt;br /&gt;&lt;br /&gt;http://wiki.blender.org/index.php/Doc:Manual/Modeling/Objects/Groups_and_Parenting&lt;br /&gt;http://wiki.blender.org/index.php/Doc:Manual/Modeling/Meshes/Selection&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-7398515471022899294?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/7398515471022899294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=7398515471022899294' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7398515471022899294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7398515471022899294'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2011/01/segment-3d-model-in-blender-to-get.html' title='Segment 3D model in blender to get a separate OBJ goup'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-7605474929223553909</id><published>2010-11-30T02:53:00.001-08:00</published><updated>2010-11-30T02:53:26.556-08:00</updated><title type='text'>Emacs as an IDE</title><content type='html'>http://deep.syminet.com/emacside.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-7605474929223553909?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/7605474929223553909/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=7605474929223553909' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7605474929223553909'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7605474929223553909'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/11/emacs-as-ide.html' title='Emacs as an IDE'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-8607649135533937104</id><published>2010-04-07T00:32:00.000-07:00</published><updated>2010-04-07T00:47:17.540-07:00</updated><title type='text'>Fast rendering 2D projections of  3D model data</title><content type='html'>The renderer performs a high speed rendering of a Autodesk 3DS model, using OpenGL offscreen rendering. The rendered image could be pixel intensities, surface normal values or other attributes.&lt;br /&gt;&lt;br /&gt;Given a 3DS model like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w1tGV70GI/AAAAAAAAFvA/rsWR65dVC8s/s1600/model.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 226px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w1tGV70GI/AAAAAAAAFvA/rsWR65dVC8s/s400/model.png" alt="" id="BLOGGER_PHOTO_ID_5457295897379197026" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;For a given rotation, shift and scale, a 2D projection like this is rendered. Intensity values are returned/stored in memory for further processing.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w2kctaiUI/AAAAAAAAFvI/D5Sw8A5K-ls/s1600/intensity.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w2kctaiUI/AAAAAAAAFvI/D5Sw8A5K-ls/s400/intensity.png" alt="" id="BLOGGER_PHOTO_ID_5457296848276064578" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, other attributes like surface normal components could also be rendered instead of the color intensities.&lt;br /&gt;&lt;br /&gt;For example x, y, z components of the model surface normals have been rendered in the 3 images below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XThHJOc8NjU/S7w3HTgv08I/AAAAAAAAFvQ/NVA_GckTio8/s1600/Nz.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://3.bp.blogspot.com/_XThHJOc8NjU/S7w3HTgv08I/AAAAAAAAFvQ/NVA_GckTio8/s400/Nz.png" alt="" id="BLOGGER_PHOTO_ID_5457297447102436290" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XThHJOc8NjU/S7w3R8xyuZI/AAAAAAAAFvY/DapYW4SE4So/s1600/Ny.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://4.bp.blogspot.com/_XThHJOc8NjU/S7w3R8xyuZI/AAAAAAAAFvY/DapYW4SE4So/s400/Ny.png" alt="" id="BLOGGER_PHOTO_ID_5457297629978474898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w3dTiuPRI/AAAAAAAAFvg/YJM2vmghmlo/s1600/Nx.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 300px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/S7w3dTiuPRI/AAAAAAAAFvg/YJM2vmghmlo/s400/Nx.png" alt="" id="BLOGGER_PHOTO_ID_5457297825067842834" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-8607649135533937104?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/8607649135533937104/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=8607649135533937104' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8607649135533937104'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8607649135533937104'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/04/fast-rendering-2d-projection-of-3d.html' title='Fast rendering 2D projections of  3D model data'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XThHJOc8NjU/S7w1tGV70GI/AAAAAAAAFvA/rsWR65dVC8s/s72-c/model.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-284134253585723926</id><published>2010-03-22T21:26:00.001-07:00</published><updated>2010-03-22T21:27:03.393-07:00</updated><title type='text'>Misaligned 3ds model rendered with model3d</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/S6hDEmyBtaI/AAAAAAAAFu4/v1tvbCMsj1M/s1600-h/maxda3_3ds.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 160px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/S6hDEmyBtaI/AAAAAAAAFu4/v1tvbCMsj1M/s400/maxda3_3ds.png" alt="" id="BLOGGER_PHOTO_ID_5451681095340897698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;img src="file:///home/srimal/Desktop/maxda3_3ds.png" alt="" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-284134253585723926?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/284134253585723926/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=284134253585723926' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/284134253585723926'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/284134253585723926'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/misaligned-3ds-model-rendered-with.html' title='Misaligned 3ds model rendered with model3d'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XThHJOc8NjU/S6hDEmyBtaI/AAAAAAAAFu4/v1tvbCMsj1M/s72-c/maxda3_3ds.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-3410938253139935222</id><published>2010-03-16T17:39:00.000-07:00</published><updated>2010-03-16T17:40:13.670-07:00</updated><title type='text'>shell script to rename all UPPERCASE files to lowercase</title><content type='html'>&lt;em class="css_art_main"&gt;for f in *; do&lt;br /&gt;g=`expr "xxx$f" : 'xxx\(.*\)' | tr '[A-Z]' '[a-z]'`&lt;br /&gt;mv "$f" "$g"&lt;br /&gt;done &lt;/em&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-3410938253139935222?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/3410938253139935222/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=3410938253139935222' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3410938253139935222'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3410938253139935222'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/shell-script-to-rename-all-uppercase.html' title='shell script to rename all UPPERCASE files to lowercase'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-328636954484880782</id><published>2010-03-09T15:27:00.001-08:00</published><updated>2010-03-09T15:41:29.388-08:00</updated><title type='text'>Notes on compiling mex file without gcc version warning</title><content type='html'>http://www.mathworks.com/access/helpdesk_r13/help/techdoc/matlab_prog/ch7_pe30.html#784594&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Changed mexopts.sh as (Matlab2009b/bim/mexopts.sh is changed use mex -setup to select that conf as the default after the changes)&lt;br /&gt;&lt;br /&gt; glnx86)&lt;br /&gt;#----------------------------------------------------------------------------&lt;br /&gt;            RPATH="-Wl,-rpath-link,$TMW_ROOT/bin/$Arch"&lt;br /&gt;            # StorageVersion: 1.0&lt;br /&gt;            # CkeyName: GNU C&lt;br /&gt;            # CkeyManufacturer: GNU&lt;br /&gt;            # CkeyLanguage: C&lt;br /&gt;            # CkeyVersion:&lt;br /&gt;&lt;br /&gt;            #CC='gcc'&lt;br /&gt;     &lt;span style="font-weight: bold; font-style: italic;"&gt;       CC='gcc-4.1'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;            #CFLAGS='-ansi -D_GNU_SOURCE'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;#Srimal: we allow // style comments due to opencv .h files&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;            CFLAGS='-D_GNU_SOURCE'&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-328636954484880782?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/328636954484880782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=328636954484880782' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/328636954484880782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/328636954484880782'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/notes-on-compiling-mex-file-without-gcc.html' title='Notes on compiling mex file without gcc version warning'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2338164585666916519</id><published>2010-03-05T00:55:00.001-08:00</published><updated>2010-03-05T00:57:11.534-08:00</updated><title type='text'>Run mex functions using opencv 2.0 code with MATLAB R2009b</title><content type='html'>We get this error:&lt;br /&gt;&lt;br /&gt;        ??? Invalid MEX-file '/home/srimal/svnworking/renderer/mexLossC/mexLossC.mexglx':&lt;br /&gt;        /home/srimal/MatlabR2009b/bin/glnx86/../../sys/os/glnx86/libstdc++.so.6: version `GLIBCXX_3.4.11' not found (required by&lt;br /&gt;        /usr/local/lib/libcvaux.so.4).&lt;br /&gt;&lt;br /&gt;Solution:&lt;br /&gt;&lt;br /&gt;~/MatlabR2009b/sys/os/glnx86&lt;br /&gt;ln -s /usr/lib/libstdc++.so.6.0.13 ~/MatlabR2009b/sys/os/glnx86/libstdc++.so.6&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2338164585666916519?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2338164585666916519/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2338164585666916519' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2338164585666916519'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2338164585666916519'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/run-mex-functions-using-opencv-20-code.html' title='Run mex functions using opencv 2.0 code with MATLAB R2009b'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-3546852303080273198</id><published>2010-03-05T00:38:00.000-08:00</published><updated>2010-03-05T00:40:29.810-08:00</updated><title type='text'>Allow C // style comments in MATLAB mex functions</title><content type='html'>Remove the -ansi CFLAG&lt;br /&gt;&lt;br /&gt;Change&lt;br /&gt;&lt;br /&gt;CFLAGS='-ansi -D_GNU_SOURCE'&lt;br /&gt;&lt;br /&gt;to&lt;br /&gt;&lt;br /&gt;CFLAGS='-D_GNU_SOURCE'&lt;br /&gt;&lt;br /&gt;in MatlabR2009b/bin/mexopts.sh&lt;br /&gt;&lt;br /&gt;and use&lt;br /&gt;&lt;br /&gt;mex -setup to select this conf.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-3546852303080273198?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/3546852303080273198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=3546852303080273198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3546852303080273198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3546852303080273198'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/allow-c-style-comments-in-matlab-mex.html' title='Allow C // style comments in MATLAB mex functions'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-3913865218697794474</id><published>2010-03-04T23:44:00.000-08:00</published><updated>2010-03-04T23:45:18.390-08:00</updated><title type='text'>OpenCV 2.00 with eclipse</title><content type='html'>To get the compile options,&lt;br /&gt;&lt;br /&gt;$ pkg-config opencv --cflags --libs&lt;br /&gt;-I/usr/local/include/opencv  -L/usr/local/lib -lcv -lhighgui -lcvaux -lml -lcxcore&lt;br /&gt;&lt;br /&gt;Include the above in eclipse project properties.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-3913865218697794474?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/3913865218697794474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=3913865218697794474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3913865218697794474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3913865218697794474'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/opencv-200-with-eclipse.html' title='OpenCV 2.00 with eclipse'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-1189094013734627705</id><published>2010-03-02T22:43:00.001-08:00</published><updated>2010-03-02T22:44:27.769-08:00</updated><title type='text'>Compiling programs that use GSL</title><content type='html'>&lt;span style="font-weight: bold; font-style: italic;"&gt;GCC:&lt;/span&gt;&lt;br /&gt;   $ gcc myprogram.c `pkg-config --cflags --libs gsl` -o myprogram&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Eclipse:&lt;/span&gt;&lt;br /&gt; add     compiler / linker settings (alt+enter) to match (individually -I -L -l ...fileds)&lt;br /&gt;       $ pkg-config --cflags --libs gsl&lt;br /&gt;       -I/usr/local/include  -L/usr/local/lib -lgsl -lgslcblas -lm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-1189094013734627705?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/1189094013734627705/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=1189094013734627705' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1189094013734627705'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1189094013734627705'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/compiling-programs-that-use-gsl.html' title='Compiling programs that use GSL'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-7138804490602364089</id><published>2010-03-02T19:56:00.001-08:00</published><updated>2010-03-02T21:28:20.556-08:00</updated><title type='text'>Eclipse and SVN (dont use eclipse tools - use cmdline svn)</title><content type='html'>1 All eclipse svn methods failed and/or too messy&lt;br /&gt;      2 manually svn ci into some dir (~/svnworking)&lt;br /&gt;      3 create new eclipse workspace ~/eclipse_workspace_svnworking&lt;br /&gt;      4 switch to that&lt;br /&gt;      5 in eclipse Import&gt; General &gt; Existing project into workspace (select dir from ~/svnworking which was previously checked out manually using svn)&lt;br /&gt;      6 this will change the code in ~/eclipse_workspace_svnworking directly&lt;br /&gt;7 svn ci as usual from a terminal&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-7138804490602364089?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/7138804490602364089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=7138804490602364089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7138804490602364089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7138804490602364089'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2010/03/eclipse-and-svn-dont-use-eclipse-tools.html' title='Eclipse and SVN (dont use eclipse tools - use cmdline svn)'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2977794044188787754</id><published>2009-12-09T20:14:00.000-08:00</published><updated>2009-12-10T15:25:36.093-08:00</updated><title type='text'>Eclipse C / OpenGL tips</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Importing existing C Makefile projects&lt;/span&gt;&lt;br /&gt;Create New Project &gt; C Project &gt; Makefile project&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;To Debug using eclipse add to CFLAGS in Makefile&lt;/span&gt;&lt;br /&gt;&lt;span&gt;-g -O0&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenGL and Eclipse Debug(gdb?) works&lt;/span&gt;&lt;br /&gt;http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz&amp;amp;url=http://download.eclipse.org/technology/epp/downloads/release/galileo/SR1/eclipse-cpp-galileo-SR1-linux-gtk.tar.gz&amp;amp;mirror_id=1&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;OpenGL Superbible (3edn) and code&lt;/span&gt;&lt;br /&gt;http://proquest.safaribooksonline.com/0672326019/ch01?reader=html#X2ludGVybmFsX0ZsYXNoUmVhZGVyP3htbGlkPTA2NzIzMjYwMTkvY2gxNWxldjJzZWMxMiZpbWFnZXBhZ2U9&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2977794044188787754?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2977794044188787754/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2977794044188787754' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2977794044188787754'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2977794044188787754'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/12/eclipse-c-tips.html' title='Eclipse C / OpenGL tips'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-6542819884109735936</id><published>2009-10-21T23:37:00.001-07:00</published><updated>2009-10-26T23:04:29.839-07:00</updated><title type='text'>Blender Aim the Cam</title><content type='html'>To make one or more objects track another object (the target) select at least two objects and press &lt;span class="hotkeybg"&gt;&lt;span class="hotkey" style="border: 0.2em outset rgb(206, 203, 199); padding: 0.1em 0.4em; background: rgb(240, 236, 232) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 0.8em; white-space: nowrap;"&gt;Ctrl&lt;/span&gt;&lt;/span&gt;&lt;span class="hotkeybg"&gt;&lt;span class="hotkey" style="border: 0.2em outset rgb(206, 203, 199); padding: 0.1em 0.4em; background: rgb(240, 236, 232) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: 0.8em; white-space: nowrap;"&gt;T&lt;/span&gt;&lt;/span&gt;. The active object becomes the target and the others objects the trackers. The (&lt;i&gt;Make Track Menu&lt;/i&gt;) provides several options for creating the initial tracking:&lt;br /&gt;&lt;br /&gt;http://wiki.blender.org/index.php/Doc:Manual/Modelling/Objects/Tracking&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-6542819884109735936?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/6542819884109735936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=6542819884109735936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/6542819884109735936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/6542819884109735936'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/10/blender-aim-cam.html' title='Blender Aim the Cam'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-1009174782053370637</id><published>2009-10-06T00:36:00.000-07:00</published><updated>2009-10-06T00:38:53.535-07:00</updated><title type='text'>Read vertex cordinates in Blender3D</title><content type='html'>Blender can be used to read the coordinates of a desired vertex off a 3D model (Ex: 3ds)&lt;br /&gt;&lt;br /&gt;1) Zoom in to the desired area (scroll button = zoom, middle drag = rotate, shift+middle = pan)&lt;br /&gt;2) 'Tab' to enter 'edit' mode&lt;br /&gt;3) Right click desired vertex&lt;br /&gt;4) 'n' to see vertex coordinates&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-1009174782053370637?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/1009174782053370637/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=1009174782053370637' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1009174782053370637'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1009174782053370637'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/10/read-vertex-cordinates-in-blender3d.html' title='Read vertex cordinates in Blender3D'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-8033918847084722086</id><published>2009-09-06T23:03:00.000-07:00</published><updated>2009-09-06T23:15:39.235-07:00</updated><title type='text'>3D to 2D Rendering, OpenGL and MATLAB</title><content type='html'>&lt;span style="font-weight: bold;font-size:100%;" &gt;Short notes on OpenGL rendering and attempted integration with MATLAB.&lt;br /&gt;&lt;br /&gt;Vertex Buffer Objects (VBO)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Allows you to give vertex, vertexnoms, face array locations directly for openGL to render (as opposed to drawing triangles one by one)&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Frame Buffer Objects (FBO)&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Allows you to draw to a buffer/texture (without directly to the screen)&lt;/li&gt;&lt;/ul&gt;Ref: http://hacksoflife.blogspot.com/2006/10/vbos-pbos-and-fbos.html&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;MEX and OpenGL&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Use mex -v -lGL -lglut -lGLU cfile.c&lt;/li&gt;&lt;li&gt;Problems with glutinit() when calling mex file (MATLAB crashes when mex file is caleld again - cant do repeated rendering/calculations)&lt;/li&gt;&lt;li&gt;Probably not possible?&lt;/li&gt;&lt;li&gt;http://www.mathworks.com/matlabcentral/newsreader/view_thread/166039&lt;/li&gt;&lt;li&gt;http://mathforum.org/kb/message.jspa?messageID=6145127&amp;amp;tstart=15&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-8033918847084722086?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/8033918847084722086/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=8033918847084722086' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8033918847084722086'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8033918847084722086'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/09/render-2d-projections-from-3d-models.html' title='3D to 2D Rendering, OpenGL and MATLAB'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-8203461583351354221</id><published>2009-08-27T03:44:00.001-07:00</published><updated>2009-08-27T04:09:53.000-07:00</updated><title type='text'>Multi hop ssh tunnelling</title><content type='html'>localhost ----linkA----&gt; gatewayhost ----linkB-----&gt; remotehost&lt;br /&gt;&lt;br /&gt;localport &lt;========ssh============&gt;remoteport&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;Requirement&lt;/span&gt;:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Need to access remote service in remotehost (on remoteport) from localport in localhost (this quite be a database service to anhttp proxy service -- not much difference here)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Both links A and B allow only SSH traffic (other ports are blocked)&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution 1:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A simple&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ ssh -L localport:remotehost:remortport -N -f remoteuser@remotehost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;would create an ssh tunnel on link A but not on link B . As both links allow only ssh traffic this will not work.&lt;br /&gt;&lt;br /&gt;One solution is to use the ssh &lt;span style="font-weight: bold; font-style: italic;"&gt;proxycommand&lt;/span&gt; option like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;$ ssh -oproxycommand="ssh -qaxT gwuser@gatewayhost nc %h %p" -L 3128:localhost:9998 -p9999 remoteuser@remotehost -N -f&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-8203461583351354221?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/8203461583351354221/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=8203461583351354221' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8203461583351354221'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8203461583351354221'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/08/multi-hop-ssh-tunnelling.html' title='Multi hop ssh tunnelling'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2261506668862770302</id><published>2009-08-17T21:08:00.000-07:00</published><updated>2009-08-27T03:29:27.039-07:00</updated><title type='text'>Publickey (no password) ssh/scp in Ubuntu (9.04 and maybe other)</title><content type='html'>As per launchpad&lt;br /&gt;&lt;br /&gt;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786"&gt;https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/201786&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;There is a bug that prevents public key ssh/scp from working when configured according to 'man ssh'. (Due to the way ssh-agent / seahorse is setup )&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;The trick is to run 'ssh-add' after the normal procedure as per 'man ssh'.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So the entire procedure would be something like this.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Generate keys on the local machine ($ ssh-keygen -t rsa -b 4096 #press enter twice, I'm using 4096 instead of the usual 2048 bit key)&lt;/li&gt;&lt;li&gt;Copy the public key using ssh-copy ($ ssh-copy-id -i ~/.ssh/id_rsa.pub remoteuser@remotehost #assuming keys are in the standard location)&lt;/li&gt;&lt;li&gt;Now make sure we run ssh-add ($ ssh-add )&lt;/li&gt;&lt;/ol&gt;That should do the trick!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2261506668862770302?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2261506668862770302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2261506668862770302' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2261506668862770302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2261506668862770302'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/08/publickey-no-password-sshscp-in-ubuntu.html' title='Publickey (no password) ssh/scp in Ubuntu (9.04 and maybe other)'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-6576106179345563475</id><published>2009-07-17T01:03:00.000-07:00</published><updated>2009-07-18T04:14:58.536-07:00</updated><title type='text'>Skype on Ubuntu 9.04 with mic and headset problems</title><content type='html'>&lt;span&gt;This was tested on Ubuntu 9.04 running on a &lt;/span&gt; &lt;a href="http://www1.ap.dell.com/au/en/business/desktops/desktop-optiplex-960/pd.aspx?refid=desktop-optiplex-960&amp;amp;cs=aubsd1&amp;amp;s=bsd"&gt;&lt;em&gt;Dell OptiPlex 960&lt;/em&gt;&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;A simple handset was used with the mic and earphone jacks connected to the sockets in the front (above the USB slots).&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A picture speaks a thousand words.. so its all in the screenshots.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Step 1: Change volumes settings as follows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XThHJOc8NjU/SmGtuuEqZTI/AAAAAAAAFUQ/CROxJE0gkBY/s1600-h/Screenshot-Volume+Control+Preferences.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 311px; height: 374px;" src="http://4.bp.blogspot.com/_XThHJOc8NjU/SmGtuuEqZTI/AAAAAAAAFUQ/CROxJE0gkBY/s400/Screenshot-Volume+Control+Preferences.png" alt="" id="BLOGGER_PHOTO_ID_5359756049700775218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/SmGt1R51TFI/AAAAAAAAFUY/Gr7hHlUMe9k/s1600-h/Screenshot-Volume+Control:+HDA+Intel+%28Alsa+mixer%29.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 144px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/SmGt1R51TFI/AAAAAAAAFUY/Gr7hHlUMe9k/s400/Screenshot-Volume+Control:+HDA+Intel+%28Alsa+mixer%29.png" alt="" id="BLOGGER_PHOTO_ID_5359756162398243922" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Step 2: Change skype options as follows&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XThHJOc8NjU/SmGuAYzrTLI/AAAAAAAAFUg/KyIFtZgz_DI/s1600-h/Screenshot-Options.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 264px;" src="http://4.bp.blogspot.com/_XThHJOc8NjU/SmGuAYzrTLI/AAAAAAAAFUg/KyIFtZgz_DI/s400/Screenshot-Options.png" alt="" id="BLOGGER_PHOTO_ID_5359756353230032050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This might also help:&lt;br /&gt;&lt;a href="http://funwithlinux.wordpress.com/2009/04/20/fixing-skype-audio-problem-on-ubuntu-904/#comment-50"&gt;&lt;span style="font-style: italic;"&gt;http://funwithlinux.wordpress.com/2009/04/20/fixing-skype-audio-problem-on-ubuntu-904/#comment-50&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-6576106179345563475?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/6576106179345563475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=6576106179345563475' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/6576106179345563475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/6576106179345563475'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/07/skype-on-ubuntu-904.html' title='Skype on Ubuntu 9.04 with mic and headset problems'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XThHJOc8NjU/SmGtuuEqZTI/AAAAAAAAFUQ/CROxJE0gkBY/s72-c/Screenshot-Volume+Control+Preferences.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2734250543987305290</id><published>2009-03-31T22:53:00.001-07:00</published><updated>2009-03-31T22:56:01.626-07:00</updated><title type='text'>NoixACL</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XThHJOc8NjU/SdMB4bIJ64I/AAAAAAAAFBc/qVN96WYAaTo/s1600-h/NoixACL-my-screenshot.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 195px;" src="http://4.bp.blogspot.com/_XThHJOc8NjU/SdMB4bIJ64I/AAAAAAAAFBc/qVN96WYAaTo/s400/NoixACL-my-screenshot.jpg" alt="" id="BLOGGER_PHOTO_ID_5319597653720951682" border="0" /&gt;My Screenshot&lt;/a&gt; 1&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2734250543987305290?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2734250543987305290/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2734250543987305290' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2734250543987305290'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2734250543987305290'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/03/noixacl.html' title='NoixACL'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_XThHJOc8NjU/SdMB4bIJ64I/AAAAAAAAFBc/qVN96WYAaTo/s72-c/NoixACL-my-screenshot.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-5309957486907629539</id><published>2009-03-06T01:09:00.000-08:00</published><updated>2009-03-06T03:02:38.913-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Webservice'/><category scheme='http://www.blogger.com/atom/ns#' term='ISO 8583'/><category scheme='http://www.blogger.com/atom/ns#' term='MultiXTpm'/><category scheme='http://www.blogger.com/atom/ns#' term='ISO 8583 Server'/><title type='text'>Web services for ISO8583 Messaging using MultiXTpm ISO 8583 Server</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20ISO%208583%20Server.htm"&gt;MultiXTpm ISO 8583 Server&lt;/a&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt; exposes a web service to receive ISO8583 messages.&lt;br /&gt;&lt;a href="http://en.wikipedia.org/wiki/ISO_8583"&gt;&lt;br /&gt;ISO 8583&lt;/a&gt; Messages are used for financial transaction messaging including Credit Card / POS transaction messages.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20ISO%208583%20Server.htm"&gt;MultiXTpm ISO 8583 Server&lt;/a&gt; &lt;/span&gt;comes bundled with the &lt;a href="http://multixtpm.sourceforge.net/"&gt;MultiXTpm Application Server&lt;/a&gt; developed by &lt;span style="text-decoration: underline; font-style: italic;"&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;Moshe Shitrit&lt;/span&gt;, who is also extremely helpful by the way :).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;This document explains how to deploy  &lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20ISO%208583%20Server.htm"&gt;MultiXTpm ISO 8583 Server&lt;/a&gt; (and in effect &lt;a href="http://multixtpm.sourceforge.net/"&gt;&lt;span style="text-decoration: underline;"&gt;MultiXTpmApplicationServer-4.0.8a&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;a style="font-style: italic; font-weight: bold;" href="http://multixtpm.sourceforge.net/"&gt;&lt;/a&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;) on a Ubuntu 8.04. It is intended to be  quick guide for newbies as well as a reference for me as I may not remember these steps next week !&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;1) First Install MultiXTpmApplicationServer&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The basic installation was done by following   Igor Custodio's excellent posting on  &lt;a href="http://tech.groups.yahoo.com/group/multixtpm/message/23"&gt;A How-to compile MultiXTpm in Ubuntu 8.04.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;However, the following modifications had to be done in addition to the instructions given in &lt;a href="http://tech.groups.yahoo.com/group/multixtpm/message/23"&gt;A How-to compile MultiXTpm in Ubuntu 8.04.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The LD_LIBRARY_PATH and PATH variables needed to include the current directory (.) to run the mentioned .sh scripts. Therefore the export statements in Step 6, were modified as follows.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export MultiXTpm="/home/srimal/MXTPM/MultiXTpmApplicationServer"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export PATH=.:$PATH:"${MultiXTpm}"/runtime&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export TMAKEPATH="/usr/share/tmake/linux-g++/"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export LD_LIBRARY_PATH=.:"${LD_LIBRARY_PATH}":"${MultiXTpm}"/runtime&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export CPATH="/home/srimalj/MXTPM/gsoap-2.7/gsoap:/home/srimalj/MXTPM/gsoap-2.7/gsoap/extras"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;export CPLUS_INCLUDE_PATH=/usr/include/mysql++/:/usr/include/mysql/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These exports were added to the end of my /etc/bash.bashrc for convenience.&lt;br /&gt;(I have installed in my home directory /home/srimal -- change as appropriate)&lt;br /&gt;&lt;br /&gt;Also install the following packages if you already don't have them.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$ sudo apt-get install libmysql++-dev&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;Plus any other libraries that you do not have already but are mentioned in the above export statements. (Hint: Missing header files are usually in xxx-dev package for package xxx)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) Next Install &lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20ISO%208583%20Server.htm"&gt;MultiXTpm ISO 8583 Server&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To do this, change in to the  ISO8583Server directory .&lt;br /&gt;&lt;br /&gt;$ cd &lt;span style="font-weight: bold;"&gt;${MultiXTpm}/&lt;/span&gt;ISO8583Server&lt;br /&gt;&lt;br /&gt;The next few steps require the environment variables exported before. (Its a good idea to add it to /etc/bash.bashrc and  start with a new terminal -- or do a . /etc/bash.bashrc if you prefer to use the same terminal window)&lt;br /&gt;&lt;br /&gt;Next we Build everything.&lt;br /&gt;&lt;br /&gt;$ ./LinuxBuildAll.sh&lt;br /&gt;&lt;br /&gt;Then Make the runtime environment.&lt;br /&gt;&lt;br /&gt;$./MakeRuntime.sh&lt;br /&gt;(Don't worry if it says the runtime exists)&lt;br /&gt;&lt;br /&gt;Now change to the runtime directory&lt;br /&gt;&lt;br /&gt;$ cd runtime&lt;br /&gt;&lt;br /&gt;and run MultiXTpm&lt;br /&gt;&lt;br /&gt;$ MultiXTpm&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This should start up the MultiXTpm process which will in turn spawn the four processes needed for ISO 8583 Server:&lt;br /&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20Application%20Server.htm" title="Click here for a description of MultiXTpm Application Server"&gt;MultiXTpm&lt;/a&gt; – Application Server, Router, load balancer.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;ISO 8583 Issuer Gateway FE&lt;/strong&gt; – Listener and communications handler, receivng requests from Remote Acquirer Gateways or POS terminal.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;ISO 8583 Issuer Gateway WS FE&lt;/strong&gt; – Listener and communications handler,         receivng requests from Remote Acquirer Gateways or POS terminal that use SOAP/XML         Web Services client software. &lt;/li&gt;&lt;li&gt;&lt;strong&gt;ISO 8583 Back End&lt;/strong&gt; and/or &lt;strong&gt;ISO 8583 Authorizer&lt;/strong&gt; – The Business Logic handler. Acts locally on POS terminals requests or forwards requests to the next Issuer Gateway in the chain.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;ISO 8583 Acquirer Gateway FE&lt;/strong&gt; – Connection initiator and communications handler. Handles all data transfers to remote Issuer Gateways.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This is what my console looks like.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XThHJOc8NjU/SbDxea8HTqI/AAAAAAAAFA8/n-EAmmDqe0s/s1600-h/Screenshot-srimalj%40srimal-laptop:+-sandbox-MXTPM-ISO8583Server-runtime.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 569px; height: 325px;" src="http://3.bp.blogspot.com/_XThHJOc8NjU/SbDxea8HTqI/AAAAAAAAFA8/n-EAmmDqe0s/s320/Screenshot-srimalj%40srimal-laptop:+-sandbox-MXTPM-ISO8583Server-runtime.png" alt="" id="BLOGGER_PHOTO_ID_5310009465599643298" border="0" /&gt;&lt;/a&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:Arial,Helvetica;"&gt;Based on the default TpmConfig.xml the Web Service will be accepting connections on port 38583. So my connection end point looks like "http://localhost:38583/" .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;&lt;a href="http://multixtpm.sourceforge.net/MultiXTpm%20ISO%208583%20Server.htm"&gt;&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-5309957486907629539?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/5309957486907629539/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=5309957486907629539' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/5309957486907629539'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/5309957486907629539'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/03/webservices-for-iso8583-messagin-using.html' title='Web services for ISO8583 Messaging using MultiXTpm ISO 8583 Server'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XThHJOc8NjU/SbDxea8HTqI/AAAAAAAAFA8/n-EAmmDqe0s/s72-c/Screenshot-srimalj%40srimal-laptop:+-sandbox-MXTPM-ISO8583Server-runtime.png' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-3625897185911583524</id><published>2009-02-19T00:12:00.000-08:00</published><updated>2009-02-19T00:16:00.699-08:00</updated><title type='text'>GUI Database Designer for MySQL</title><content type='html'>MySQL Workbench&lt;br /&gt;&lt;br /&gt;http://dev.mysql.com/downloads/gui-tools/5.0.html&lt;br /&gt;&lt;br /&gt;has Linux support&lt;br /&gt;&lt;br /&gt;and generates lovely ERD's off MySQL schemas :)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/SZ0VIOA61jI/AAAAAAAAFAk/z1gVo1T0-_I/s1600-h/Screenshot-weather.mwb+-+MySQL+Workbench.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 183px;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/SZ0VIOA61jI/AAAAAAAAFAk/z1gVo1T0-_I/s320/Screenshot-weather.mwb+-+MySQL+Workbench.png" alt="" id="BLOGGER_PHOTO_ID_5304419167057401394" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-3625897185911583524?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/3625897185911583524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=3625897185911583524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3625897185911583524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/3625897185911583524'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/02/gui-database-designer-for-mysql.html' title='GUI Database Designer for MySQL'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XThHJOc8NjU/SZ0VIOA61jI/AAAAAAAAFAk/z1gVo1T0-_I/s72-c/Screenshot-weather.mwb+-+MySQL+Workbench.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-5363370050573983182</id><published>2009-02-18T23:33:00.001-08:00</published><updated>2009-02-18T23:33:47.417-08:00</updated><title type='text'>Blue Tooth Remote Presenter on Ubuntu 8.04</title><content type='html'>Install these&lt;br /&gt;&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo apt-get install bluez-utils&lt;/pre&gt;&lt;br /&gt;Scan for the phone,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;hcitool scan&lt;/pre&gt;&lt;br /&gt;We see something like&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;00:11:22:AA:BB:CC  w810-Srimal&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Connect like this,&lt;br /&gt;&lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo hidd --connect 00:11:22:AA:BB:CC&lt;/pre&gt;&lt;br /&gt;Use the phone ;)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-5363370050573983182?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/5363370050573983182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=5363370050573983182' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/5363370050573983182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/5363370050573983182'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2009/02/blue-tooth-remote-presenter-on-ubuntu.html' title='Blue Tooth Remote Presenter on Ubuntu 8.04'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-1576088768763344179</id><published>2008-11-10T02:10:00.000-08:00</published><updated>2008-11-10T02:12:48.439-08:00</updated><title type='text'>Grails - Acegi -- Set After Logout page</title><content type='html'>Crate a new action with the following code:&lt;br /&gt;&lt;br /&gt;   &lt;br /&gt;import javax.servlet.http.HttpSession&lt;br /&gt;&lt;br /&gt;class LogoutController {&lt;br /&gt;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;action {&lt;br /&gt;&lt;span style="font-family:courier new;"&gt; HttpSession s = request.getSession()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        s.invalidate()&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;        redirect(controller:"itemPrice", action:"listDOA") // this is the new after&lt;br /&gt; }&lt;br /&gt;&lt;/span&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-1576088768763344179?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/1576088768763344179/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=1576088768763344179' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1576088768763344179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1576088768763344179'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/11/grails-acegi-set-after-logout-page.html' title='Grails - Acegi -- Set After Logout page'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-4811059148212137991</id><published>2008-11-05T00:44:00.000-08:00</published><updated>2008-11-05T00:46:07.977-08:00</updated><title type='text'>How to restore Grub from a live Ubuntu cd.</title><content type='html'>&lt;div class="smallfont"&gt;          &lt;strong&gt;How to restore Grub from a live Ubuntu cd.&lt;/strong&gt;    &lt;/div&gt;    &lt;hr style="color: rgb(255, 255, 255); background-color: rgb(255, 255, 255);" size="1"&gt;    &lt;!-- / icon and title --&gt;           &lt;!-- message --&gt;   This will restore grub if you already had grub installed but lost it to a windows install or some other occurence that erased/changed your MBR so that grub no longer appears at start up or it returns an error.&lt;br /&gt;&lt;br /&gt;(This how to is written for Ubuntu but should work on other systems. The only thing to take note of, when you see "sudo" that will mean to you that the following command should be entered at a root terminal.)&lt;br /&gt;&lt;br /&gt;Boot into the live Ubuntu cd. This can be the live installer cd or the older live session Ubuntu cds.&lt;br /&gt;&lt;br /&gt;When you get to the desktop open a terminal and enter. (I am going to give you the commands and then I will explain them later)&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;sudo grub&lt;/pre&gt; &lt;/div&gt;This will get you a "grub&gt;" prompt (i.e. the grub shell). At grub&gt;. enter these commands&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;find /boot/grub/stage1&lt;/pre&gt; &lt;/div&gt;This will return a location. If you have more than one, select the installation that you want to provide the grub files.&lt;br /&gt;Next, THIS IS IMPORTANT, whatever was returned for the find command use it in the next line (you are still at grub&gt;. when you enter the next 3 commands)&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;root (hd?,?)&lt;/pre&gt; &lt;/div&gt;Again use the value from the find command i.e. if find returned (hd0,1) then you would enter root (hd0,1)&lt;br /&gt;&lt;br /&gt;Next enter the command to install grub to the mbr&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;setup (hd0)&lt;/pre&gt; &lt;/div&gt;Finally exit the grub shell&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;"&gt;quit&lt;/pre&gt; &lt;/div&gt;That is it. Grub will be installed to the mbr.&lt;br /&gt;When you reboot, you will have the grub menu at startup.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Reference&lt;/span&gt;&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=224351&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-4811059148212137991?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/4811059148212137991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=4811059148212137991' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/4811059148212137991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/4811059148212137991'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/11/how-to-restore-grub-from-live-ubuntu-cd.html' title='How to restore Grub from a live Ubuntu cd.'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-7072085644771527835</id><published>2008-10-07T22:46:00.000-07:00</published><updated>2008-10-07T22:48:18.101-07:00</updated><title type='text'>Grails/Groovy refs:</title><content type='html'>&lt;ul&gt;&lt;li&gt;http://groovy.codehaus.org&lt;/li&gt;&lt;li&gt;http://codehaus.org&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-7072085644771527835?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/7072085644771527835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=7072085644771527835' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7072085644771527835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/7072085644771527835'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/10/grailsgroovy-refs.html' title='Grails/Groovy refs:'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-4468735665707963362</id><published>2008-05-23T10:18:00.000-07:00</published><updated>2008-05-23T10:22:43.967-07:00</updated><title type='text'>Using the Mic with Skype 2 on Ubuntu 8</title><content type='html'>1. Open volume control (dbl click on the icon or type gnome-volume-control in a terminal)&lt;br /&gt;&lt;br /&gt;2. Go to 'Preferences' and enable the 'Capture' device.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_XThHJOc8NjU/SDb84qhKrYI/AAAAAAAADZk/nTAKXoYI1yM/s1600-h/Screenshot-Volume+Control+Preferences.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_XThHJOc8NjU/SDb84qhKrYI/AAAAAAAADZk/nTAKXoYI1yM/s320/Screenshot-Volume+Control+Preferences.png" alt="" id="BLOGGER_PHOTO_ID_5203624469889461634" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3. Adjust the volume for the 'capture' device and make sure its not in mute.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_XThHJOc8NjU/SDb9MahKrZI/AAAAAAAADZs/3rL4xJcE_NY/s1600-h/Screenshot-Volume+Control:+HDA+Intel+%28Alsa+mixer%29.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_XThHJOc8NjU/SDb9MahKrZI/AAAAAAAADZs/3rL4xJcE_NY/s320/Screenshot-Volume+Control:+HDA+Intel+%28Alsa+mixer%29.png" alt="" id="BLOGGER_PHOTO_ID_5203624809191878034" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. That worked for me :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-4468735665707963362?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/4468735665707963362/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=4468735665707963362' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/4468735665707963362'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/4468735665707963362'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/05/using-mic-with-skype-2-on-ubuntu-8.html' title='Using the Mic with Skype 2 on Ubuntu 8'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_XThHJOc8NjU/SDb84qhKrYI/AAAAAAAADZk/nTAKXoYI1yM/s72-c/Screenshot-Volume+Control+Preferences.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2371216390996187277</id><published>2008-05-13T03:48:00.001-07:00</published><updated>2008-05-13T03:49:46.747-07:00</updated><title type='text'>How to change resolution in Gnome without the panel icons jumping around</title><content type='html'>The gnome panel has this annoying habit of letting loose of your panel icons when you change the screen resolution. (This happens when I step down the screen resolution to suite the projector, for example).&lt;br /&gt;&lt;br /&gt;To prevent this, a nifty little application called 'pessulus' can be used to lock down the panels.&lt;br /&gt;&lt;br /&gt;It can be installed in ubuntu as follows.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$ sudo apt-get install 'pessulus'&lt;br /&gt;&lt;br /&gt;$ pessulus &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Lock down the panel as shown in the screenshot below.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_XThHJOc8NjU/SClxoEJmuyI/AAAAAAAADZc/WDrfF-iCrPw/s1600-h/Screenshot-Lockdown+Editor.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_XThHJOc8NjU/SClxoEJmuyI/AAAAAAAADZc/WDrfF-iCrPw/s320/Screenshot-Lockdown+Editor.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5199812177898683170" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;No more messing up the panel icons when changing the screen resolution :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2371216390996187277?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2371216390996187277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2371216390996187277' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2371216390996187277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2371216390996187277'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/05/gnome-panel-has-this-annoying-habit-of.html' title='How to change resolution in Gnome without the panel icons jumping around'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_XThHJOc8NjU/SClxoEJmuyI/AAAAAAAADZc/WDrfF-iCrPw/s72-c/Screenshot-Lockdown+Editor.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-8654872355915507324</id><published>2008-05-06T00:36:00.000-07:00</published><updated>2008-05-06T00:44:58.910-07:00</updated><title type='text'>Encrypted chats with Pidgin / Gaim</title><content type='html'>Doing encrypted (RSA) chats using pidgin is as simple as:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt; &lt;span style="font-family:courier new;"&gt;$ sudo apt-get install pidgin-encryption&lt;/span&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;This installs the encryption plugin.&lt;br /&gt;&lt;br /&gt;Encrypted chats are possible once you enable this plugin from preferences in pidgin.&lt;br /&gt;&lt;br /&gt;Note the 'padlock sign' in the chat window below.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XThHJOc8NjU/SCALXkNKxYI/AAAAAAAADZI/gV9-r_fvDHw/s1600-h/Screenshot-shivantha.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_XThHJOc8NjU/SCALXkNKxYI/AAAAAAAADZI/gV9-r_fvDHw/s320/Screenshot-shivantha.png" alt="" id="BLOGGER_PHOTO_ID_5197166469469357442" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Check the packet data for yourself using a packet analyser like 'wireshark'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_XThHJOc8NjU/SCAMIkNKxZI/AAAAAAAADZQ/wcjlxqt7Zks/s1600-h/Screenshot-%28Untitled%29+-+Wireshark.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_XThHJOc8NjU/SCAMIkNKxZI/AAAAAAAADZQ/wcjlxqt7Zks/s400/Screenshot-%28Untitled%29+-+Wireshark.png" alt="" id="BLOGGER_PHOTO_ID_5197167311282947474" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Its encrypted !&lt;br /&gt;&lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-8654872355915507324?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/8654872355915507324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=8654872355915507324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8654872355915507324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/8654872355915507324'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/05/encrypted-chats-with-pidgin-gaim.html' title='Encrypted chats with Pidgin / Gaim'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_XThHJOc8NjU/SCALXkNKxYI/AAAAAAAADZI/gV9-r_fvDHw/s72-c/Screenshot-shivantha.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-1798203001407946667</id><published>2008-04-20T09:22:00.000-07:00</published><updated>2008-10-25T08:26:03.968-07:00</updated><title type='text'>Installing Epson Perfection 660 USB Scanner in Ubuntu 7.10/8.04</title><content type='html'>Unfortunately Ubuntu did not autodetect my scanner but the installation was trivial.&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Obtained the driver file from &lt;a href="http://www.epson.com.sg/epson/drivers/driver_download.htm?dc=1&amp;amp;mode=3&amp;amp;m=false&amp;amp;catid=5&amp;amp;pid=46"&gt;http://www.epson.com.sg/epson/drivers/driver_download.htm?dc=1&amp;amp;mode=3&amp;amp;m=false&amp;amp;catid=5&amp;amp;pid=46&lt;/a&gt;&lt;/li&gt;&lt;li&gt;Unzip the file. The file we need is TAIL_061.BIN (which is inside /DATA/BIN inside the zip file). Put this file in /usr/share/sane (or anywhere you please) and give read permission to all (chmod a+r /usr/share/sane/TAIL_061.BIN as root)&lt;/li&gt;&lt;li&gt;Edit /etc/sane.d/snapscan.conf and change following line. (do as root)&lt;br /&gt;&lt;pre&gt; firmware /usr/share/sane/snapscan/your-firmwarefilefirmware&lt;br /&gt;&lt;br /&gt;  to&lt;br /&gt;&lt;br /&gt;firmware /usr/share/sane/TAIL_061.BIN.bin&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Plug the USB cable&lt;/li&gt;&lt;li&gt;Start xsane (type xsane in a terminal or find the program from the menu)&lt;/li&gt;&lt;li&gt;Thats it!&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-1798203001407946667?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/1798203001407946667/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=1798203001407946667' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1798203001407946667'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/1798203001407946667'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/04/installing-epson-perfection-660-usb.html' title='Installing Epson Perfection 660 USB Scanner in Ubuntu 7.10/8.04'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5499552160545217724.post-2988535073261039544</id><published>2008-04-04T10:58:00.001-07:00</published><updated>2008-04-20T20:23:07.340-07:00</updated><title type='text'>Local DNS cache to speed up Ubuntu/Debian</title><content type='html'>This article explains how to setup dnsmasq to speed up dns requests.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://ubuntu.wordpress.com/2006/08/02/local-dns-cache-for-faster-browsing/"&gt;http://ubuntu.wordpress.com/2006/08/02/local-dns-cache-for-faster-browsing/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5499552160545217724-2988535073261039544?l=srimal-techdiary.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://srimal-techdiary.blogspot.com/feeds/2988535073261039544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=5499552160545217724&amp;postID=2988535073261039544' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2988535073261039544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5499552160545217724/posts/default/2988535073261039544'/><link rel='alternate' type='text/html' href='http://srimal-techdiary.blogspot.com/2008/04/locan-dns-cache-to-speed-up.html' title='Local DNS cache to speed up Ubuntu/Debian'/><author><name>srimal</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='25' height='32' src='http://1.bp.blogspot.com/_XThHJOc8NjU/SUDXuD1e6uI/AAAAAAAADbQ/Z_sc8xRhrtQ/S220/profile.jpg'/></author><thr:total>0</thr:total></entry></feed>
