<?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-14793041</id><updated>2012-02-01T15:51:55.565+01:00</updated><category term='resize'/><category term='images'/><category term='connector'/><category term='export display'/><category term='open session in view'/><category term='logging'/><category term='fight spam'/><category term='extract'/><category term='grub'/><category term='hbm2ddl'/><category term='fedora 16'/><category term='livna'/><category term='javadoc'/><category term='junit'/><category term='xine'/><category term='offline'/><category term='annotations'/><category term='maven'/><category term='tomcat'/><category term='fedora'/><category term='preferences'/><category term='ghostscript'/><category term='logitech'/><category term='rpm'/><category term='openoffice'/><category term='jar'/><category term='firefox'/><category term='quickcam 4000 pro'/><category term='audio'/><category term='fedora 14'/><category term='find'/><category term='yum'/><category term='xawtv'/><category term='commons'/><category term='sound'/><category term='port scanner'/><category term='grep'/><category term='property editor'/><category term='debian'/><category term='video'/><category term='gimp'/><category term='windows'/><category term='email'/><category term='imagemagick'/><category term='eclipse'/><category term='thunderbird'/><category term='fedora 10'/><category term='ps2pdf'/><category term='repository'/><category term='linux'/><category term='capture screen'/><category term='crash'/><category term='hibernate'/><category term='prnscr'/><category term='unsubscribe'/><category term='mogrify'/><category term='merge pdf'/><category term='ant'/><category term='gdm'/><category term='mysql'/><category term='login'/><category term='java'/><category term='ftp client'/><category term='spring framework'/><category term='jdk'/><category term='openJDK'/><category term='nmap'/><category term='webcam'/><category term='jstl'/><category term='gpk-application'/><category term='graphics'/><category term='mailing list'/><category term='pdf'/><category term='fedora 15'/><category term='log4j'/><category term='bluetooth'/><category term='gedit'/><category term='ghostview'/><category term='administration'/><category term='eclipse error'/><category term='id'/><category term='microphone'/><category term='sony vaio pcg fx-220'/><category term='iptables'/><category term='pdftk'/><category term='subversion'/><category term='svn'/><category term='binding'/><category term='apache commons logging'/><title type='text'>Yeah, right. Okay. Whatever!</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-14793041.post-1802180978605454976</id><published>2012-01-30T17:59:00.004+01:00</published><updated>2012-01-30T18:02:57.939+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 16'/><category scheme='http://www.blogger.com/atom/ns#' term='hbm2ddl'/><category scheme='http://www.blogger.com/atom/ns#' term='mysql'/><category scheme='http://www.blogger.com/atom/ns#' term='connector'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>hbm2ddl SchemaExport: You have an error in your SQL syntax near type=InnoDB</title><content type='html'>&lt;div style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB'&lt;/div&gt;&lt;br /&gt;I used to create my MySQL DBs with &lt;i&gt;ant&lt;/i&gt; and everything was working. Now, moving to &lt;i&gt;maven&lt;/i&gt; and hbm2ddl I get this error.&lt;br /&gt;After some searching it comes out that it's a problem of incompatibility between the MySQL Java connector (5.1) and the MySQL version (5.5) where type &lt;i&gt;InnoDB&lt;/i&gt; was dropped and replaced with &lt;i&gt;engine&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;On Fedora, the easy solution is to downgrade MySQL to version 5.1 (download the RPMs from MySQL web site)&lt;br /&gt;&lt;br /&gt;More details &lt;a href="http://anthonymoocar.blogspot.com/2011/12/mysql-java-connector-is-out-of-date.html" target="_blank"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1802180978605454976?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1802180978605454976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1802180978605454976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1802180978605454976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1802180978605454976'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2012/01/hbm2ddl-schemaexport-you-have-error-in.html' title='hbm2ddl SchemaExport: You have an error in your SQL syntax near type=InnoDB'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3652558963955784038</id><published>2011-11-09T18:14:00.000+01:00</published><updated>2012-01-30T18:03:46.865+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='subversion'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Maven + Subversion Enabled Eclipse Java Project</title><content type='html'>What I want for my Eclipse projects is to be Java projects, allow content revisions with Subversion and be managed by Maven.&lt;br /&gt;&lt;br /&gt;This is what I need to do.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Eclipse version:&lt;/i&gt; Eclipse Indigo&lt;br /&gt;&lt;i&gt;Subversion plugin:&lt;/i&gt; Subversive&lt;br /&gt;&lt;i&gt;Maven plugin:&lt;/i&gt; m2eclipse&lt;br /&gt;&lt;i&gt;Java:&lt;/i&gt; JDK 1.6&lt;br /&gt;&lt;br /&gt;Support for Subversion and Maven is now integrated into Eclipse.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Choose Help --&amp;gt; Install new software --&amp;gt; Work with: Indigo - http://download.eclipse.org/releases/indigo&lt;/li&gt;&lt;li&gt;Expand collaboration and check the m2eclipse and Subversive packages.&lt;/li&gt;&lt;li&gt;Configure the Maven repository here: Window --&amp;gt; Preferences --&amp;gt; Maven --&amp;gt; Installations.&lt;/li&gt;&lt;/ol&gt;Now you need the Maven SCM handler for Subversive.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The easy way is to create a fake new project from File --&amp;gt; new project --&amp;gt; New Project wizard&lt;/li&gt;&lt;li&gt;Select the project type: Maven --&amp;gt; Checkout Maven Projects from SCM&lt;/li&gt;&lt;li&gt;In the target location dialog box select the m2e marketplace in the right bottom corner.&lt;/li&gt;&lt;li&gt;When you are presented with the list of connectors, the m2e-subversive is the the last one.&lt;/li&gt;&lt;li&gt;Once Eclipse has restarted, you can choose again to create a project through Maven --&amp;gt; Checkout Maven Projects from SCM and this time you will be able to specify a SCM URL (svn) and fill in the URL.&lt;/li&gt;&lt;/ol&gt;Now you have a project checked out from a Subversion repository which uses a Maven repository to manage its library dependencies.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;References&lt;/b&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt; The place where I found the final answers is &lt;a href="http://www.shareyourwork.org/roller/ralphsjavablog/tags/eclipse" target="_blank"&gt;Ralph's Java blog&lt;/a&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/14793041-3652558963955784038?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3652558963955784038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3652558963955784038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3652558963955784038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3652558963955784038'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/11/maven-subversion-enabled-eclipse-java.html' title='Maven + Subversion Enabled Eclipse Java Project'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-6891354044704992540</id><published>2011-10-24T14:51:00.000+02:00</published><updated>2011-10-24T14:51:37.889+02:00</updated><title type='text'>Liferay: Error Registering Portlets</title><content type='html'>I got a problem when trying to undeploy a portlet on Liferay the standard way: removing the unzipped WAR in Tomcat's &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;webapps/&lt;/span&gt; dir and the cached information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;08:48:56,725 ERROR [HotDeployUtil:112] com.liferay.portal.kernel.deploy.hot.HotDeployException: Error registering portlets for MyPortlet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It seemd like the portlet was somehow still in the page for Liferay and the message saying the portlet needed to be removed from the page did not show any buttons to do that. After a while I didn't have the message anymore but only an error page.&lt;br /&gt;&lt;br /&gt;Some googling brought me on a page in the Liferay forum where they suggested to remove the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;portlet-api-2.0.jar&lt;/span&gt; from the &lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;lib/&lt;/span&gt; directory of the WAR and redeploy it:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;"&gt;&amp;gt; zip -d MyPortlet.war /WEB-INF/lib/portlet-api-2.0.jar&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It actually worked. Don't ask me why.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-6891354044704992540?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/6891354044704992540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=6891354044704992540' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6891354044704992540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6891354044704992540'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/10/liferay-error-registering-portlets.html' title='Liferay: Error Registering Portlets'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2383221466007576590</id><published>2011-08-08T15:56:00.003+02:00</published><updated>2011-08-08T16:08:09.589+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='mogrify'/><category scheme='http://www.blogger.com/atom/ns#' term='graphics'/><category scheme='http://www.blogger.com/atom/ns#' term='resize'/><category scheme='http://www.blogger.com/atom/ns#' term='imagemagick'/><title type='text'>Batch Resize on Linux</title><content type='html'>Install imagemagick.&lt;br /&gt;Now you can use mogrify.&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;Example&lt;/span&gt;: to resize to half the original size all the JPGs in a directory (keeping the aspect ratio of course):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;gt; mogrify -resize 50% *.jpg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;More &lt;a href="http://www.imagemagick.org/www/mogrify.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2383221466007576590?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2383221466007576590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2383221466007576590' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2383221466007576590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2383221466007576590'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/08/batch-resize-on-linux.html' title='Batch Resize on Linux'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-6829171656849921443</id><published>2011-08-08T12:24:00.005+02:00</published><updated>2011-08-09T15:45:13.027+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='openJDK'/><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='crash'/><category scheme='http://www.blogger.com/atom/ns#' term='jdk'/><title type='text'>Eclipse Startup - Crash on Fedora 15</title><content type='html'>For some obscure reason, the Fedora 15-packaged Eclipse doesn't include JSP syntax highlighting and I could find no easy way to add it (conflicting dependencies prevent that). So I resorted to the original TAR-GZ distribution. The problem there is with the OpenJDK. My Eclipse simply crashes on startup.&lt;br /&gt;What you need to do is tell Eclipse to use Sun's JDK.&lt;br /&gt;Open the &lt;span style="font-family:courier new;"&gt;eclipse.ini&lt;/span&gt; and add the path to the Java executable:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-vm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/opt/java/jdk1.6.0/bin/java&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;right before the &lt;span style="font-family:courier new;"&gt;-vmargs&lt;/span&gt; option.&lt;br /&gt;More &lt;a href="http://wiki.eclipse.org/Eclipse.ini"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;[&lt;span style="color: rgb(255, 0, 0); font-weight: bold;"&gt;UPDATE&lt;/span&gt;] - Oh, the reason for the crash is not openJDK. It's a bug in Fedora. To circumvent it do the following:&lt;br /&gt;&lt;ol&gt;&lt;li&gt; In Gnome3 the webkit library name changed to libwebkitgtk so you need to create one missing symbolic link: &lt;span style="font-family:courier new;"&gt;ln -s /usr/lib/libwebkitgtk-1.0.so.0 /usr/lib/libwebkit-1.0.so.2&lt;/span&gt;&lt;em&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;Add &lt;span style="font-family:courier new;"&gt;-Dorg.eclipse.swt.browser.UseWebKitGTK=true&lt;/span&gt; to the -vmargs options in &lt;span style="font-family:courier new;"&gt;eclipse.ini&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;More &lt;a href="http://www.korri.net/blog/2011/5/6-how-to-fix-eclipse-helios-crashes-on-fedora-15.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-6829171656849921443?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/6829171656849921443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=6829171656849921443' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6829171656849921443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6829171656849921443'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/08/eclipse-startup-parameters.html' title='Eclipse Startup - Crash on Fedora 15'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3486989761429330660</id><published>2011-07-01T11:58:00.002+02:00</published><updated>2011-07-01T12:02:23.928+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='extract'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Extracting Audio from Video or Stream</title><content type='html'>From AVI or other video formats:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;gt; ffmpeg -i file_name.avi -ab 128 -ar 44100 file_name.mp3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;From an online stream:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;gt; ffmpeg -i URL_address -ab 128 -ar 44100 file_name.mp3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&amp;gt; man ffmpeg&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3486989761429330660?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3486989761429330660/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3486989761429330660' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3486989761429330660'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3486989761429330660'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/07/extracting-audio-from-video-or-stream.html' title='Extracting Audio from Video or Stream'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2393053199271741167</id><published>2011-06-15T15:11:00.004+02:00</published><updated>2011-06-15T17:08:24.060+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 15'/><title type='text'>Fedora 15: Old and New Alt-Tab Behavior</title><content type='html'>As of Fedora 14 (Gnome 2.32) the behavior of &lt;span style="font-style: italic;"&gt;Alt-Tab&lt;/span&gt; was to cycle through all the windows of all the open applications in a virtual workspace.&lt;br /&gt;Gnome 3 shipping with Fedora 15 behaves differently and probably more efficiently (time will tell.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;Alt-Tab&lt;/span&gt; now cycles through all open applications in all virtual workspaces. All the windows of an application are shown when that application is the selected one. You can move the mouse over one window and select it but you can't just use the keyboard to do that.&lt;br /&gt;&lt;br /&gt;If you want to cycle through all the windows of the active (selected) application you need to use &lt;span style="font-style: italic; font-weight: bold;"&gt;Alt-~&lt;/span&gt; (or the button above Tab.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2393053199271741167?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2393053199271741167/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2393053199271741167' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2393053199271741167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2393053199271741167'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/06/fedora-15-old-and-new-alt-tab-behavior.html' title='Fedora 15: Old and New Alt-Tab Behavior'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1957849764177837303</id><published>2011-06-15T14:51:00.005+02:00</published><updated>2011-06-15T15:40:23.928+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 15'/><title type='text'>Fedora 15: Add Back Shutdown Option</title><content type='html'>Gnome 3 by default won't show the shutdown button. To see it click on your name on the top bar and press Alt. The &lt;span style="font-style: italic;"&gt;Suspend&lt;/span&gt; option will turn into &lt;span style="font-style: italic;"&gt;Power off&lt;/span&gt;.&lt;br /&gt;If you don't want to perform this extra step:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install: &lt;span style="font-family:courier new;"&gt;yum install gnome-shell-extensions-alternative-status-menu&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Type Alt-F2 then r and enter (reloads the Gnome shell.)&lt;/li&gt;&lt;li&gt;You're set! You have gained the &lt;span style="font-style: italic;"&gt;Hibernate&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;Power off&lt;/span&gt; options now.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;a href="http://mustaxe.blogspot.com/2011/06/fedora-15-and-gnome-3-add-shutdown.html"&gt;Credits&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1957849764177837303?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1957849764177837303/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1957849764177837303' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1957849764177837303'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1957849764177837303'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/06/fedora-15-add-back-shutdown-option.html' title='Fedora 15: Add Back Shutdown Option'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4410696161841619618</id><published>2011-06-15T14:39:00.006+02:00</published><updated>2012-02-01T15:51:55.571+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 15'/><title type='text'>Fedora 15: Add Back Window Buttons</title><content type='html'>&lt;span style="background-color: orange;"&gt;&lt;b&gt;UPDATED&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;Gnome 3'default behavior suppresses all window buttons but the &lt;span style="font-style: italic;"&gt;Close&lt;/span&gt;. If you want them back:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install gconf-editor: &lt;span style="font-family: 'courier new';"&gt;yum install gconf-editor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Run it and go to desktop --&amp;gt; gnome --&amp;gt; shell --&amp;gt; windows&lt;/li&gt;&lt;li&gt;Set the value to "&lt;span style="font-family: 'courier new';"&gt;menu:minimize:maximize:close&lt;/span&gt;"&lt;/li&gt;&lt;li&gt;Type ALT-F2 then r and enter  (reloads the Gnome shell) or you will see the modifications once you log out and then back in.&lt;/li&gt;&lt;li&gt;You're done!&lt;/li&gt;&lt;/ol&gt;&lt;a href="http://mustaxe.blogspot.com/2011/05/fedora-15-and-gnome-3-add-minimize.html"&gt;Credits&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-4410696161841619618?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4410696161841619618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4410696161841619618' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4410696161841619618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4410696161841619618'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2011/06/fedora-15-add-back-window-buttons.html' title='Fedora 15: Add Back Window Buttons'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-454061118036855572</id><published>2010-12-22T14:05:00.002+01:00</published><updated>2010-12-22T14:08:16.111+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse error'/><title type='text'>Eclipse Error: "Import Cannot Be Resolved"</title><content type='html'>The imported class is there but Eclipse won't see it.&lt;br /&gt;Try: &lt;span style="color: rgb(0, 0, 153);"&gt;Project --&gt; Clean&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-454061118036855572?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/454061118036855572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=454061118036855572' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/454061118036855572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/454061118036855572'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/12/eclipse-error-import-cannot-be-resolved.html' title='Eclipse Error: &quot;Import Cannot Be Resolved&quot;'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-9183996595667080190</id><published>2010-11-25T17:22:00.004+01:00</published><updated>2010-11-26T15:55:29.548+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='repository'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>Creating a SVN Repository</title><content type='html'>Create the repository&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svnadmin create svnrepo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; gedit svnrepo/conf/svnserve.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enable the following lines:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;anon-access = none&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;auth-access = write&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;password-db = passwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; gedit svnrepo/conf/passwd&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Edit/add user&lt;br /&gt;&lt;br /&gt;Create project directory:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn -m "Your comment" mkdir file:///data/svnrepo/sample-project&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn -m "Your comment" mkdir file:///data/svnrepo/sample-project/trunk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn -m "Your comment" mkdir file:///data/svnrepo/sample-project/branches&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn -m "Your comment" mkdir file:///data/svnrepo/sample-project/tags&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Import the project:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn -m "Your comment" import /path-to-source/sample-project file:///path-to-svnrepo/svnrepo/sample-project/trunk&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Prepare work location:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; mkdir sampleProject&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; cd sampleProject&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Local check out trunk of project (without the folder itself):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn co file:///data/svnrepo/sample-project/trunk/ .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remote check out (using SVN + SSH protocols):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; svn co svn+ssh://user@host/path-to-svnrepo/svnrepo/sample-project/trunk/ .&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Create user and group svn:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; useradd svn&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add group svn to your groups.&lt;br /&gt;&lt;br /&gt;Change ownership of all files in svnrepo/db to svn:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; chown -r svn:svn *&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add write permissions to all files in svnrepo/db.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-9183996595667080190?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/9183996595667080190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=9183996595667080190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/9183996595667080190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/9183996595667080190'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/11/creating-svn-repository.html' title='Creating a SVN Repository'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-653181621800828103</id><published>2010-11-22T19:16:00.004+01:00</published><updated>2010-11-22T19:25:35.839+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='sound'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='microphone'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 14'/><title type='text'>Microphone Not Working in Fedora 14</title><content type='html'>If your microphone is not working on your new installation, just try this. It worked for me:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Go to System --&gt; Preferences --&gt; Sound&lt;/li&gt;&lt;li&gt;Select the input tab&lt;/li&gt;&lt;li&gt;Switch from the existing configured microphone (probably microphone 1) to another one (microphone 2)&lt;/li&gt;&lt;li&gt;Close the application and everything should work ;-)&lt;/li&gt;&lt;/ol&gt;It looks like this issue has been going on and off since Fedora 10...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-653181621800828103?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/653181621800828103/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=653181621800828103' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/653181621800828103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/653181621800828103'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/11/microphone-not-working-in-fedora-14.html' title='Microphone Not Working in Fedora 14'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2153878057650485880</id><published>2010-11-19T12:06:00.005+01:00</published><updated>2010-11-19T12:25:18.654+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='binding'/><category scheme='http://www.blogger.com/atom/ns#' term='property editor'/><category scheme='http://www.blogger.com/atom/ns#' term='spring framework'/><title type='text'>Spring Property Editor for an Enumeration with Localized Names</title><content type='html'>Problem statement:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;You use a property editor when you bind a nested Enumeration field of a form backing object.&lt;/li&gt;&lt;li&gt;You have localized names for the values.&lt;/li&gt;&lt;/ul&gt;When you write your PropertyEditor you should remember that the getAsText() method needs to take care of the translation:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public String getAsText() {&lt;br /&gt;        &lt;br /&gt;        if(getValue() == null) {&lt;br /&gt;            return null;&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        SurveyStatus status = (SurveyStatus)getValue();&lt;br /&gt;        return status.getTranslatedName();&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;while the setAsText() method does not:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;    @Override&lt;br /&gt;    public void setAsText(String surveyStatusStr) {&lt;br /&gt;        &lt;br /&gt;        if (logger.isDebugEnabled()) {&lt;br /&gt;            logger.debug("Read string [" + surveyStatusStr + "] for the survey status field");&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;        SurveyStatus status = null;&lt;br /&gt;        &lt;br /&gt;        if (surveyStatusStr.compareTo(SurveyStatus.ACTIVE.toString()) == 0) {&lt;br /&gt;            status = SurveyStatus.ACTIVE;&lt;br /&gt;        }&lt;br /&gt;        else if (surveyStatusStr.compareTo(SurveyStatus.INACTIVE.toString()) == 0) {&lt;br /&gt;            status = SurveyStatus.INACTIVE;&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        setValue(status);&lt;br /&gt;    }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is because Spring implicitly uses the enumeration name for the value of your tag, not the translated name.&lt;br /&gt;E.g. If you have a select tag, this is what Spring does for you:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;option value="ACTIVE" ... &amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;It makes sense, of course...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2153878057650485880?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2153878057650485880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2153878057650485880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2153878057650485880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2153878057650485880'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/11/spring-property-editor-for-enumeration.html' title='Spring Property Editor for an Enumeration with Localized Names'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2295023585258689132</id><published>2010-09-15T14:07:00.002+02:00</published><updated>2010-09-15T14:10:20.822+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='find'/><category scheme='http://www.blogger.com/atom/ns#' term='grep'/><title type='text'>Grep Selected Files</title><content type='html'>You can use find and grep to search for a particular string (string_pattern) in a selection of files:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; find &amp;lt;dir&amp;gt; -name "&amp;lt;file_find_pattern&amp;gt;" -exec grep -H -n '&amp;lt;string_pattern&amp;gt;' {} \;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2295023585258689132?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2295023585258689132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2295023585258689132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2295023585258689132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2295023585258689132'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/09/grep-selected-files.html' title='Grep Selected Files'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-521963796634427922</id><published>2010-09-09T11:18:00.011+02:00</published><updated>2010-09-09T12:12:18.334+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open session in view'/><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><category scheme='http://www.blogger.com/atom/ns#' term='spring framework'/><category scheme='http://www.blogger.com/atom/ns#' term='annotations'/><title type='text'>Spring Open View In Session Pattern For Portlets</title><content type='html'>I needed to implement the Open Session In View pattern for a portlet using Spring (3 with annotations) and Hibernate.&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;This pattern allows lazily loaded objects to have access to the Hibernate Session for the entire processing of the render request despite the original transaction (associated to the portlet request) already being completed.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;I.e. If you have One To Many associations, this allows you to load the Many side of the association in the same thread of the request where you loaded the One side.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What I needed to do is:&lt;br /&gt;Add a &lt;span style="font-family: courier new;"&gt;WebRequestHandlerInterceptorAdapter&lt;/span&gt; interceptor wrapping the stantard &lt;span style="font-family: courier new;"&gt;OpenSessionInViewInterceptor&lt;/span&gt; to &lt;span style="font-family: courier new; color: rgb(102, 0, 0);"&gt;applicationContext.xml&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;bean name="openSessionInViewInterceptor"&lt;br /&gt;   class="org.springframework.web.portlet.handler.WebRequestHandlerInterceptorAdapter"&amp;gt;&lt;br /&gt;   &amp;lt;constructor-arg&amp;gt;&lt;br /&gt;       &amp;lt;bean class="org.springframework.orm.hibernate3.support.OpenSessionInViewInterceptor"&amp;gt;&lt;br /&gt;           &amp;lt;property name="sessionFactory" ref="sessionFactory"/&amp;gt;&lt;br /&gt;       &amp;lt;/bean&amp;gt;&lt;br /&gt;   &amp;lt;/constructor-arg&amp;gt;&lt;br /&gt;&amp;lt;/bean&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;then add it to the &lt;span style="font-family: courier new;"&gt;DefaultAnnotationHandlerMapping&lt;/span&gt; in &lt;span style="font-family: courier new; color: rgb(102, 0, 0);"&gt;yourPortlet-portlet.xml&lt;/span&gt;:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;lt;bean id="annotationMapper"&lt;br /&gt;   class="org.springframework.web.portlet.mvc.annotation.DefaultAnnotationHandlerMapping"&amp;gt;&lt;br /&gt;   &amp;lt;property name="order" value="10" /&amp;gt;&lt;br /&gt;   &amp;lt;property name="interceptors"&amp;gt;&lt;br /&gt;       &amp;lt;list&amp;gt;&lt;br /&gt;           &amp;lt;ref bean="openSessionInViewInterceptor"/&amp;gt;&lt;br /&gt;       &amp;lt;/list&amp;gt;&lt;br /&gt;   &amp;lt;/property&amp;gt;&lt;br /&gt;&amp;lt;/bean&amp;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/14793041-521963796634427922?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/521963796634427922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=521963796634427922' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/521963796634427922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/521963796634427922'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/09/spring-open-view-in-session-pattern-for.html' title='Spring Open View In Session Pattern For Portlets'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8603166592747245425</id><published>2010-05-12T13:07:00.003+02:00</published><updated>2010-05-12T13:18:30.010+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='bluetooth'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><title type='text'>Fedora: Receiving Files Over a Bluetooth Connection</title><content type='html'>This post refers to receiving files from a phone to a computer over a Bluetooth connection.&lt;br /&gt;Please refer to the official Fedora documentation for installation and initial configuration:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://fedoraproject.org/wiki/Features/Bluetooth"&gt;Feature/Bluetooth&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;a href="http://fedoraproject.org/wiki/Documentation/Bluetooth"&gt;Documentation/Bluetooth&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;Then you have to enable the &lt;span style="color: rgb(0, 0, 153);"&gt;bluetooth file sharing service&lt;/span&gt;.&lt;br /&gt;If you can't find the link to the application in &lt;span style="color: rgb(0, 0, 153);"&gt;Applications --&gt; System Tools&lt;/span&gt;, then create the link yourself or launch the following command manually:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;&gt; gnome-file-share-properties&amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enable &lt;span style="color: rgb(0, 0, 153);"&gt;Receive Files over Bluetooth&lt;/span&gt;.&lt;br /&gt;Go to your phone and send the file to your computer.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-8603166592747245425?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8603166592747245425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8603166592747245425' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8603166592747245425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8603166592747245425'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/05/fedora-receiving-files-over-bluetooth.html' title='Fedora: Receiving Files Over a Bluetooth Connection'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1820096279268714234</id><published>2010-04-16T16:13:00.005+02:00</published><updated>2010-04-16T16:34:06.802+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='hibernate'/><title type='text'>Hibernate ManyToOne Association With Annotations</title><content type='html'>It took me a while to get rid of a:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;ERROR org.hibernate.util.JDBCExceptionReporter  - &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;   Unknown column 'applicatio0_.domain_domainID' in 'field list'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;on a simple many-to-one association.&lt;br /&gt;I had an Application object with a Domain field where many Applications could have the same Domain (standard many-to-one association).&lt;br /&gt;The annotations on the field were:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@ManyToOne(cascade = CascadeType.ALL)&lt;br /&gt;public Domain getDomain() {&lt;br /&gt;    return domain;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Class Domain started with:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@Entity&lt;br /&gt;@Table(name="domain")&lt;br /&gt;public class Domain implements Serializable {&lt;br /&gt;// DB name: domainID&lt;br /&gt;private Long id;&lt;br /&gt;private String name;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Hibernate couldn't correctly map the domain ID until I added the JoinColumn annotation:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@ManyToOne(cascade = CascadeType.ALL)&lt;br /&gt;@JoinColumn(name="domainID")&lt;br /&gt;public Domain getDomain() {&lt;br /&gt;    return domain;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;which in my opinion could be inferred from class Domain:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;@Id&lt;br /&gt;@GeneratedValue(strategy=GenerationType.AUTO)&lt;br /&gt;@Column(name = "domainID", unique = true,&lt;br /&gt;        updatable = false, nullable = false)&lt;br /&gt;public Long getId() {&lt;br /&gt;    return this.id;&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;but it wasn't.&lt;br /&gt;Always use JoinColumn.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1820096279268714234?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1820096279268714234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1820096279268714234' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1820096279268714234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1820096279268714234'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/04/hibernate-manytoone-association-with.html' title='Hibernate ManyToOne Association With Annotations'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3729537163611997525</id><published>2010-03-11T11:19:00.004+01:00</published><updated>2010-03-11T13:55:30.536+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='video'/><category scheme='http://www.blogger.com/atom/ns#' term='images'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Creating a Movie from Images (Linux)</title><content type='html'>The short story at this time. These instructions refer to the creation of MPEG4 video from JPGs images on Linux.&lt;br /&gt;You need mencoder, part of the &lt;a href="http://www.mplayerhq.hu/design7/info.html#docs"&gt;mplayer&lt;/a&gt; software.&lt;br /&gt;&lt;br /&gt;Type:&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;&gt; mencoder mf:/&lt;path&gt;/&amp;lt;PATH&amp;gt;/*.jpg -mf w=320:h=240:fps=12:type=jpg &lt;/path&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;  -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell &lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;  -oac copy -o output.avi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where you should customize at least:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;&amp;lt;PATH&amp;gt;/&lt;/span&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;&lt;path&gt;*.jpg&lt;/path&gt;&lt;/span&gt; is the path to the directory where your JPGs are.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;w=320:h=240&lt;/span&gt; is the image size.&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;output.avi&lt;/span&gt; is the resulting file name&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/14793041-3729537163611997525?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3729537163611997525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3729537163611997525' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3729537163611997525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3729537163611997525'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/03/creating-movie-from-images-linux.html' title='Creating a Movie from Images (Linux)'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-599225370062405706</id><published>2010-03-08T16:55:00.003+01:00</published><updated>2010-03-08T17:04:49.093+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='preferences'/><title type='text'>Eclipse: Copying Preferences To a New Workspace</title><content type='html'>When I create a new workspace in Eclipse what I want every time is to have all my preferences from the other workspaces, first of all the color preferences. There is no apparent option in Eclipse to do that. &lt;span style="font-family: courier new;"&gt;File --&gt; Import --&gt; Preferences&lt;/span&gt; won't do that. Maybe it's hidden somewhere else.&lt;br /&gt;I found an easy way to do that: simply copy the settings directory to the new workspace.&lt;br /&gt;Preferences are stored in each workspace in:&lt;br /&gt;   &lt;span style="font-family: courier new;"&gt;&lt;your_workspace&gt;/.metadata/.plugins/org.eclipse.core.runtime/.settings&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Shut down Eclipse.&lt;br /&gt;Copy part or the entire contents of that directory to the corresponding directory of the new workspace (after you've created it, of course).&lt;br /&gt;Restart and you're done!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-599225370062405706?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/599225370062405706/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=599225370062405706' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/599225370062405706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/599225370062405706'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/03/eclipse-copying-preferences-to-new.html' title='Eclipse: Copying Preferences To a New Workspace'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1195545010671797190</id><published>2010-03-01T18:01:00.006+01:00</published><updated>2010-03-01T18:19:53.332+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>Turning a SVN Project into a SVN/Java Project</title><content type='html'>This will be needed for a Java project created with the type "from SVN source". It will not have a Java nature by default.&lt;br /&gt;&lt;br /&gt;Add a Java nature to the project in .project:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; &amp;lt;natures&amp;gt;&lt;br /&gt;     &amp;lt;nature&amp;gt;org.eclipse.jdt.core.javanature&amp;lt;/nature&amp;gt;&lt;br /&gt; &amp;lt;/natures&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Create the file .classpath with the JDK/JRE libraries (and optionally the default output directory):&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt; &amp;lt;classpath&amp;gt;&lt;br /&gt;    &amp;lt;classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/&amp;gt;&lt;br /&gt;    &amp;lt;classpathentry kind="output" path="bin"/&amp;gt;&lt;br /&gt; &amp;lt;/classpath&amp;gt;&lt;br /&gt;&lt;/pre&gt;Then you might want to add to the classpath the libraries which could not be detected at creation time.&lt;br /&gt;&lt;br /&gt;This method is alternative to the one detailed &lt;a href="http://ajmoore.blogspot.com/2007/11/svn-java-project-with-eclipse.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1195545010671797190?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1195545010671797190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1195545010671797190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1195545010671797190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1195545010671797190'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/03/turning-svn-project-into-svnjava.html' title='Turning a SVN Project into a SVN/Java Project'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3913029627231869666</id><published>2010-03-01T16:26:00.002+01:00</published><updated>2010-03-01T16:55:49.015+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='jar'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse: Hiding Internal JARs</title><content type='html'>If you need to hide all the internal libraries your project is using, you can do so from the &lt;span style="color: rgb(51, 51, 153);"&gt;Package Explorer&lt;/span&gt;:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Choose the view menu&lt;/li&gt;&lt;li&gt;Check &lt;span style="font-style: italic; color: rgb(0, 51, 0);"&gt;Show referenced libraries node&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;You can't do that from the &lt;span style="color: rgb(51, 51, 153);"&gt;Project Explorer&lt;/span&gt; (formerly Resource Navigator) since that is a view not reserved to Java projects.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3913029627231869666?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3913029627231869666/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3913029627231869666' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3913029627231869666'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3913029627231869666'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2010/03/eclipse-hiding-internal-jars.html' title='Eclipse: Hiding Internal JARs'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-494416532134770500</id><published>2009-07-28T15:53:00.004+02:00</published><updated>2010-03-01T16:57:53.691+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse Losing Reference to JARs</title><content type='html'>I have this weird problem that every once in a while (especially upon checking in files to SVN/CVS but not limited to that situation) Eclipse will lose reference to class path JARs and start signalling errors everywhere in the code.&lt;br /&gt;What I temporarily did to fix this was to remove a library directory from the &lt;span style="color: rgb(153, 51, 153);"&gt;[Project] Properties --&gt; Java Build Path --&gt; Source&lt;/span&gt; list of a project, save the properties, open them again and add it back in. Problem gone... for a while.&lt;br /&gt;&lt;br /&gt;Now I'm trying something I read somewhere: start Eclipse with the &lt;span style="color: rgb(153, 51, 153);"&gt;-clean&lt;/span&gt; command line parameter.&lt;br /&gt;&lt;br /&gt;I'll keep you posted...&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Feb 2010 Update&lt;/span&gt;: with the current version of Eclipse I'm using (Eclipse Java EE IDE for Web Developers, Build id: 20100218-1602) this issue seems to be vanished.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-494416532134770500?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/494416532134770500/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=494416532134770500' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/494416532134770500'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/494416532134770500'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/07/eclipse-losing-reference-to-jars.html' title='Eclipse Losing Reference to JARs'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1060285547288645386</id><published>2009-07-15T14:52:00.002+02:00</published><updated>2009-07-15T14:55:14.951+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='login'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='gdm'/><title type='text'>Booting Debian in Text Mode</title><content type='html'>&lt;span style="font-family: courier new;"&gt;# disabling login GUI (if not gdm replace with yours)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; update-rc.d -f gdm remove&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;# re-enabling&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; update-rc.d -f gdm defaults&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1060285547288645386?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1060285547288645386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1060285547288645386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1060285547288645386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1060285547288645386'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/07/booting-debian-in-text-mode.html' title='Booting Debian in Text Mode'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3931036385554244596</id><published>2009-07-03T14:30:00.004+02:00</published><updated>2009-07-03T14:37:18.357+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='javadoc'/><title type='text'>No Javadoc When Hovering Cursor Over Text in Eclipse</title><content type='html'>I had this weird problem that no javadoc preview showed up when hovering the cursor over java code in Eclipse.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Eclipse version: &lt;/span&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;eclipse-java-ganymede-SR2-linux-gtk&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;OS: &lt;/span&gt;&lt;span style="color: rgb(102, 51, 255);"&gt;Linux (Fedora 11)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I didn't find out why it didn't work but I found out that it was specific to the version of Eclipse I was using.&lt;br /&gt;When I upgraded to &lt;span style="color: rgb(153, 0, 0);"&gt;Eclipse Galileo (eclipse-java-galileo-linux-gtk)&lt;/span&gt;, with exactly the same configuration files and preferences, it worked straight away.&lt;br /&gt;&lt;br /&gt;I guess it was a bug of the Ganymede SR2 then...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3931036385554244596?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3931036385554244596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3931036385554244596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3931036385554244596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3931036385554244596'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/07/no-javadoc-when-hovering-cursor-over.html' title='No Javadoc When Hovering Cursor Over Text in Eclipse'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8093684984346967219</id><published>2009-06-12T13:05:00.002+02:00</published><updated>2009-06-12T13:18:25.716+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><title type='text'>Unable to Start Eclipse On An Empty Workspace</title><content type='html'>&lt;span style="color: rgb(102, 0, 204);"&gt;OS&lt;/span&gt;: Fedora 11&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);"&gt;Eclipse Version&lt;/span&gt;: 3.4.2, Build id: M20090211-1700&lt;br /&gt;&lt;br /&gt;If I try to initialize a new workspace (empty but with an existing directory), Eclipse will open as an empty non-killable window.&lt;br /&gt;&lt;br /&gt;I was able to have a "dirty" initialization copying the .metadata directory of another workspace I had previously and mysteriously created to the new workspace.&lt;br /&gt;&lt;br /&gt;I need to experiment a bit more to see if it's possible to, for example, just create the .metadata directory...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-8093684984346967219?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8093684984346967219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8093684984346967219' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8093684984346967219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8093684984346967219'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/06/unable-to-start-eclipse-on-empty.html' title='Unable to Start Eclipse On An Empty Workspace'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2471409826798401852</id><published>2009-06-11T17:19:00.003+02:00</published><updated>2009-06-11T17:23:16.672+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rpm'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='yum'/><title type='text'>rpmdb: PANIC: fatal region error detected</title><content type='html'>I had the following error when trying any &lt;span style="font-family: courier new;"&gt;yum&lt;/span&gt; operation on Fedora 11:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; yum update&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Loaded plugins: refresh-packagekit&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;rpmdb: PANIC: fatal region error detected; run recovery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;error: db4 error(-30974) from dbenv-&gt;open: DB_RUNRECOVERY: Fatal error, run database recovery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;error: cannot open Packages index using db3 -  (-30974)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;error: cannot open Packages database in /var/lib/rpm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Traceback (most recent call last):&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;  File "/usr/bin/yum", line 29, in &lt;module&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;    yummain.user_main(sys.argv[1:], exit_code=True)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;[...]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The googled ;-) solution that worked for me was:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; cd /var/lib/rpm&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; rm -f __db.00*&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; db_verify Packages&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; rpm --rebuilddb&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2471409826798401852?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2471409826798401852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2471409826798401852' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2471409826798401852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2471409826798401852'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/06/rpmdb-panic-fatal-region-error-detected.html' title='rpmdb: PANIC: fatal region error detected'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3953933547930091976</id><published>2009-05-28T17:23:00.004+02:00</published><updated>2009-05-28T17:31:10.289+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse: Could not launch the product...</title><content type='html'>Eclipse crashed or in my case took too long to open a file and I had to shut it down in a not clean state (really surprised it didn't crash during my attempt AND I didn't have to kill it! Great job people@eclipse!).&lt;br /&gt;Next thing that happens when I try to re-launch it using the same workspace is an error message:&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Could not launch the product because the associated workspace is currently in use by another Eclipse application&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;You need to:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;go to the workspace home directory&lt;/li&gt;&lt;li&gt;enter the &lt;span style="color: rgb(0, 102, 0);"&gt;.metadata&lt;/span&gt; directory&lt;/li&gt;&lt;li&gt;remove file &lt;span style="color: rgb(0, 102, 0);"&gt;.lock&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;and you can happily restart from where you left your job.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3953933547930091976?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3953933547930091976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3953933547930091976' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3953933547930091976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3953933547930091976'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/05/eclipse-could-not-launch-product.html' title='Eclipse: Could not launch the product...'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1646746217111805725</id><published>2009-05-14T15:29:00.003+02:00</published><updated>2009-05-14T15:38:53.213+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='log4j'/><category scheme='http://www.blogger.com/atom/ns#' term='junit'/><title type='text'>JUnit, log4j And Eclipse</title><content type='html'>If you want Eclipse to pick up your log4j configuration file when you run JUnit tests from within Eclipse you can:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Right-click on a test class.&lt;/li&gt;&lt;li&gt;Select &lt;span style="color: rgb(0, 102, 0);"&gt;Run as&lt;/span&gt; --&gt; &lt;span style="color: rgb(0, 102, 0);"&gt;Run configurations...&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Select the &lt;span style="color: rgb(0, 102, 0);"&gt;Classpath&lt;/span&gt; tab&lt;/li&gt;&lt;li&gt;Select the home directory of you project and &lt;span style="color: rgb(0, 102, 0);"&gt;Advanced&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Then &lt;span style="color: rgb(0, 102, 0);"&gt;Add folder&lt;/span&gt; and add the folder with the configuration file and you're done.&lt;/li&gt;&lt;/ol&gt;This will configure the test file's JUnit run options.&lt;br /&gt;&lt;br /&gt;If you want to configure all test classes with the same optoins... uhmm... stay tuned. I'll be back.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1646746217111805725?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1646746217111805725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1646746217111805725' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1646746217111805725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1646746217111805725'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/05/junit-log4j-and-eclipse.html' title='JUnit, log4j And Eclipse'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2912215898003608132</id><published>2009-03-25T11:36:00.005+01:00</published><updated>2009-03-25T11:42:45.121+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><category scheme='http://www.blogger.com/atom/ns#' term='offline'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora 10'/><title type='text'>Fedora 10: Firefox Starts up in Offline Mode</title><content type='html'>The problem: upon strting Firefox it goes in offline mode even if the network is enabled and working. It's really unconvenient to un-check &lt;span style="color: rgb(153, 0, 0);"&gt;Work offline&lt;/span&gt; from the &lt;span style="color: rgb(153, 0, 0);"&gt;File&lt;/span&gt; menu every time especially if you start up many windows and tabs.&lt;br /&gt;The quick solution is to stop and disable the &lt;span style="color: rgb(153, 0, 0);"&gt;Network manager&lt;/span&gt; application from the &lt;span style="color: rgb(153, 0, 0);"&gt;System --&gt; Administration --&gt; Services window&lt;/span&gt;.&lt;br /&gt;Unless you need it... in that case I can't help you right now...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2912215898003608132?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2912215898003608132/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2912215898003608132' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2912215898003608132'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2912215898003608132'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/03/fedora-10-firefox-starts-up-in-offline.html' title='Fedora 10: Firefox Starts up in Offline Mode'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8675707206794412283</id><published>2009-03-06T14:30:00.003+01:00</published><updated>2009-03-06T14:40:31.075+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gedit'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>gedit Color Schemes</title><content type='html'>If you upgrade to &lt;a href="http://fedora.redhat.com"&gt;Fedora 10&lt;/a&gt; right now, the new version of gedit doesn't explicitly allow you to set up a custom color scheme. They say in the future there will be an editor for that.&lt;br /&gt;In the meantime what you can do is:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&gt; cd &lt;span style="font-family:courier new;"&gt;/usr/share/&lt;/span&gt;&lt;wbr  style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;gtksourceview-&lt;/span&gt;&lt;wbr  style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;2.0/styles/&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Copy one of the available schemes to a new one and edit that file to suit your needs.&lt;/li&gt;&lt;li&gt;Once you restart gedit, the new color scheme will be available under &lt;span style="color: rgb(0, 0, 102);"&gt;Edit -&gt; Preferences -&gt; Font &amp;amp; Colors&lt;/span&gt;&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/14793041-8675707206794412283?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8675707206794412283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8675707206794412283' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8675707206794412283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8675707206794412283'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/03/gedit-color-schemes.html' title='gedit Color Schemes'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-7282515868692257064</id><published>2009-01-29T15:47:00.004+01:00</published><updated>2009-01-29T16:57:43.362+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='gimp'/><title type='text'>Adding a Script to The Gimp (Linux/UNIX)</title><content type='html'>&lt;ol&gt;&lt;li&gt;Create an &lt;span style="color: rgb(51, 51, 255);"&gt;*.scm&lt;/span&gt; file with the script. To create a script you can follow &lt;a href="http://docs.gimp.org/en/gimp-using-script-fu-tutorial-first-script.html"&gt;this tutorial&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;It's recommended to keep them (scripts) in your personal settings. Enter your own gimp directory: &lt;span style="color: rgb(51, 51, 255);"&gt;~/.gimp-2.6&lt;/span&gt; or similar, the scripts sub-directory and copy the file there.&lt;/li&gt;&lt;li&gt;The place in the menus it will be placed is set in the following command (usually a the end of the script): &lt;span style="color: rgb(51, 51, 255);font-family:courier new;" &gt;(script-fu-menu-register "script-fu-photo-scriptName" "&lt;toolbox&gt;&lt;toolbox&gt;/Script-Fu/Photo/")&lt;/toolbox&gt;&lt;/span&gt;. This will place the script in the &lt;span style="color: rgb(102, 0, 204);"&gt;Script-Fu --&gt; Photo&lt;/span&gt; menu.&lt;/li&gt;&lt;li&gt;Then you need to run &lt;span style="color: rgb(102, 0, 204);"&gt;Filters --&gt; Script-Fu --&gt; Refresh Scripts&lt;/span&gt; command.&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/14793041-7282515868692257064?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/7282515868692257064/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=7282515868692257064' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7282515868692257064'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7282515868692257064'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2009/01/adding-script-to-gimp-linuxunix.html' title='Adding a Script to The Gimp (Linux/UNIX)'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-6460403062581438822</id><published>2008-12-04T15:27:00.003+01:00</published><updated>2009-06-11T15:57:11.924+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>To-Haves When Using Eclipse (Java development)</title><content type='html'>&lt;ul&gt;&lt;li&gt;CloudGarden &lt;a href="http://www.cloudgarden.com/jigloo/"&gt;Jigloo&lt;/a&gt;: SWT/Swing GUI builder&lt;/li&gt;&lt;li&gt;Tigris &lt;a href="http://subversion.tigris.org/"&gt;Subversion&lt;/a&gt;: SVN repositories management (&lt;a href="http://subclipse.tigris.org/"&gt;Subclipse&lt;/a&gt; is one client for Eclipse)&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/14793041-6460403062581438822?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/6460403062581438822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=6460403062581438822' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6460403062581438822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6460403062581438822'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/12/to-haves-when-using-eclipse-java.html' title='To-Haves When Using Eclipse (Java development)'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4529732857495797305</id><published>2008-12-02T10:53:00.004+01:00</published><updated>2008-12-02T11:10:16.455+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='audio'/><title type='text'>Converting MPEG-4 to MP3</title><content type='html'>Instructions for &lt;a href="http://fedoraproject.org/"&gt;Fedora Linux&lt;/a&gt;.&lt;br /&gt;Install &lt;a href="http://lame.sourceforge.net/download.php"&gt;lame&lt;/a&gt;:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; yum install lame&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Install &lt;a href="http://www.audiocoding.com/downloads.html"&gt;FAAD&lt;/a&gt;.&lt;br /&gt;You need to compile it. Instructions are in the README.linux file in the source package.&lt;br /&gt;&lt;br /&gt;Then you can use this command:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; &lt;/span&gt;&lt;code style="font-family: courier new;"&gt;faad -o - "file.m4a" | lame - "file.mp3"&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;References&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Lame, &lt;a href="http://lame.sourceforge.net/"&gt;http://lame.sourceforge.net/&lt;/a&gt;&lt;/li&gt;&lt;li&gt;FAAD, &lt;a href="http://sourceforge.net/projects/faac/"&gt;http://sourceforge.net/projects/faac/&lt;/a&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/14793041-4529732857495797305?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4529732857495797305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4529732857495797305' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4529732857495797305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4529732857495797305'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/12/converting-mpeg-4-to-mp3.html' title='Converting MPEG-4 to MP3'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4780111359133526093</id><published>2008-09-22T18:07:00.003+02:00</published><updated>2008-09-22T18:13:54.864+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='ant'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Ant unable to locate javadoc.exe</title><content type='html'>The situation: you're launching an Ant build file from within Eclipse on Windoz and the file has a Javadoc task. But Eclipse can't find the executable.&lt;br /&gt;&lt;br /&gt;What you need to do is add the JDK bin directory to the PATH environment variable.&lt;br /&gt;There is nothing to configure in Eclipse.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-4780111359133526093?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4780111359133526093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4780111359133526093' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4780111359133526093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4780111359133526093'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/09/ant-unable-to-locate-javadocexe.html' title='Ant unable to locate javadoc.exe'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4891585673955363075</id><published>2008-09-09T17:55:00.005+02:00</published><updated>2008-09-09T18:17:46.987+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='log4j'/><category scheme='http://www.blogger.com/atom/ns#' term='apache commons logging'/><title type='text'>Configuring the Class Path When Testing in Eclipse</title><content type='html'>If you're testing from within &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; and are using &lt;a href="http://commons.apache.org/logging/"&gt;Apache Commons Logging&lt;/a&gt; + &lt;a href="http://logging.apache.org/log4j/"&gt;log4j&lt;/a&gt; and you get the message:&lt;br /&gt;&lt;em&gt;log4j&lt;/em&gt;:WARN &lt;em&gt;No appenders&lt;/em&gt; could be found for logger&lt;br /&gt;&lt;br /&gt;you can let log4j know about the location of the log4j configuration file adding the directory where  that file can be found this way:&lt;br /&gt;&lt;br /&gt;Right click on the test class and choose &lt;span style="color: rgb(0, 102, 0);"&gt;Properties&lt;/span&gt; --&gt; &lt;span style="color: rgb(0, 102, 0);"&gt;Run/Debug Settings&lt;/span&gt;&lt;br /&gt;Select the file.&lt;br /&gt;Click on &lt;span style="color: rgb(0, 102, 0);"&gt;Edit&lt;/span&gt; and select the &lt;span style="color: rgb(0, 102, 0);"&gt;Classpath&lt;/span&gt; tab.&lt;br /&gt;Select the first item in &lt;span style="color: rgb(0, 102, 0);"&gt;User Entries&lt;/span&gt;, then &lt;span style="color: rgb(0, 102, 0);"&gt;Advanced&lt;/span&gt;, then &lt;span style="color: rgb(0, 102, 0);"&gt;Add Folders&lt;/span&gt; and you're done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-4891585673955363075?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4891585673955363075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4891585673955363075' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4891585673955363075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4891585673955363075'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/09/configuring-class-path-when-testing-in.html' title='Configuring the Class Path When Testing in Eclipse'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3435267139936177126</id><published>2008-08-25T15:07:00.005+02:00</published><updated>2008-08-28T12:23:55.147+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Merging PDFs on Windows</title><content type='html'>First you need &lt;a href="http://pages.cs.wisc.edu/%7Eghost/doc/GPL/gpl863.htm"&gt;Ghostscript&lt;/a&gt;.&lt;br /&gt;Then, you can just issue the command:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; &lt;/span&gt;&lt;span style="font-family: courier new;font-family:arial,helvetica;" &gt;&lt;span style=";font-size:85%;" &gt;gswin32 -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=merged_file.pdf -dBATCH file_1.pdf file_2.pdf file_3.pdf&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What I noticed is that the text in the merged file is a little bigger than the original one at the same magnification although nothing is missing.&lt;br /&gt;Maybe you/we need to tweak a bit with the parameters...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3435267139936177126?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3435267139936177126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3435267139936177126' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3435267139936177126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3435267139936177126'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/08/merging-pdfs-on-windoz.html' title='Merging PDFs on Windows'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-3138482697681422067</id><published>2008-08-24T15:25:00.008+02:00</published><updated>2008-08-28T12:22:57.493+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grub'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><title type='text'>Dual-boot With Grub After Installing Windows XP on a Linux Machine</title><content type='html'>Your situation: Windoz will boot but Linux is now invisible.&lt;br /&gt;What you want is to have Grub installed on the Master Boot Record (MBR) of the first disk to pilot the boot sequence.&lt;br /&gt;You need a Linux distribution CD/DVD with the rescue mode as an option. Any distribution is fine even if different from the one you have installed.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Boot in rescue mode&lt;/li&gt;&lt;li&gt;Once you have a shell type:&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:courier new;"&gt;&gt; fdisk -l&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li style="font-family: courier new;"&gt;&gt; grub&lt;/li&gt;&lt;li style="font-family: courier new;"&gt;grub&gt; root (hd0, n)&lt;/li&gt;&lt;li style="font-family: courier new;"&gt;grub&gt; setup (hd0)&lt;/li&gt;&lt;li style="font-family: courier new;"&gt;grub&gt; quit&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;Notes&lt;/span&gt;&lt;br /&gt;3. With &lt;span style="font-family:courier new;"&gt;fdisk -l&lt;/span&gt; you can check which partition holds the linux root partition (in case you forgot).&lt;br /&gt;5. If your partition is, for example, &lt;span style="font-family:courier new;"&gt;/dev/sda2&lt;/span&gt;, then your value for &lt;span style="color: rgb(0, 102, 0);"&gt;n&lt;/span&gt; is 1 (Grub starts from 0)&lt;br /&gt;&lt;br /&gt;Now you can exit the rescue shell and reboot. If you had a Grub configuration file configured to boot Linux and Windoz, you are done. You will be in the same exact position as before Winsoz zeroed Grub on the MBR.&lt;br /&gt;&lt;br /&gt;If you didn't have Windoz before, you need to add to the Grub configuration file the Windoz entry:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;title Windoz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;root (hd0,m)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;makeactive&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chainloader +1 &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;where &lt;span style="color: rgb(0, 102, 0);"&gt;m&lt;/span&gt; is the Windoz partition (Grub's way of course, see note above).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-3138482697681422067?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/3138482697681422067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=3138482697681422067' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3138482697681422067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/3138482697681422067'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/08/dual-boot-with-grub-after-installing.html' title='Dual-boot With Grub After Installing Windows XP on a Linux Machine'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-7864994305679693214</id><published>2008-07-27T15:57:00.002+02:00</published><updated>2008-07-27T16:05:39.827+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='prnscr'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='capture screen'/><title type='text'>Screen Capture With Mac Keyboard and Windows Desktop</title><content type='html'>The problem starts on the Mac keyboard: you don't have the &lt;span style="color: rgb(0, 102, 0);"&gt;prnscr key&lt;/span&gt;! But still what you have is a Windoz machine. What is working for me (there are external applications but I couldn't find a good free one) is to open the &lt;span style="color: rgb(0, 102, 0);"&gt;on-screen keyboard&lt;/span&gt; under &lt;span style="color: rgb(0, 102, 0);"&gt;Programs --&gt; Accessories --&gt; Accessibility&lt;/span&gt;. There you have it!&lt;br /&gt;If you have the &lt;span style="color: rgb(0, 102, 0);"&gt;always-on-top&lt;/span&gt; option enabled, you loose control of the physical keyboard and sometimes I had to kill the virtual thing anyway to get back the other one. But I can live with that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-7864994305679693214?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/7864994305679693214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=7864994305679693214' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7864994305679693214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7864994305679693214'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/07/screen-capture-with-mac-keyboard-and.html' title='Screen Capture With Mac Keyboard and Windows Desktop'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-7852683206131416881</id><published>2008-07-17T16:14:00.005+02:00</published><updated>2008-07-17T16:21:33.412+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='gpk-application'/><category scheme='http://www.blogger.com/atom/ns#' term='yum'/><title type='text'>gpk-application Not Working</title><content type='html'>I recently had this problem with the gpk-application on a &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt; 9. This &lt;a href="http://www.gnome.org/"&gt;Gnome&lt;/a&gt; application allows you to check what you have installed and install/remove packages.&lt;br /&gt;The thing was I could not see the groups of packages and update the list from a remote machine. It happened I found out the cache was corrupted and this command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; yum makecache&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;restored it to its full functionality.&lt;br /&gt;Almost. I still cannot remotely refresh the list (which I could on the local display) but I think this is another story... permissions maybe.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-7852683206131416881?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/7852683206131416881/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=7852683206131416881' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7852683206131416881'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7852683206131416881'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/07/gpk-application-not-working.html' title='gpk-application Not Working'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-782950860663846416</id><published>2008-07-15T10:43:00.003+02:00</published><updated>2008-07-15T11:17:07.527+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ftp client'/><title type='text'>Linux Graphical FTP Client</title><content type='html'>I recently switched to &lt;a href="http://gftp.seul.org/"&gt;gFTP&lt;/a&gt;, the FTP client from &lt;a href="http://www.gnome.org/"&gt;Gnome&lt;/a&gt;, after I apparently encountered problems connecting to a couple sites with &lt;a href="http://kasablanca.berlios.de/"&gt;Kasablanca&lt;/a&gt; (from &lt;a href="http://www.kde.org/"&gt;KDE&lt;/a&gt;). One was that the client could not display the content of a remote directory no matter what I did.&lt;br /&gt;I must say that &lt;a href="http://gftp.seul.org/"&gt;gFTP&lt;/a&gt; is more solid and it did not have those glitches. I personally recommend it at this time.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-782950860663846416?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/782950860663846416/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=782950860663846416' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/782950860663846416'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/782950860663846416'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/07/linux-graphical-ftp-client.html' title='Linux Graphical FTP Client'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2592164872928925677</id><published>2008-05-28T11:22:00.005+02:00</published><updated>2008-08-28T12:26:51.385+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='merge pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='pdftk'/><title type='text'>Linux Toolbox: pdftk</title><content type='html'>(from the man page) If  PDF  is  electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses.  Pdftk is  a  simple  tool  for  doing everyday things with PDF documents.  Use it to:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Merge PDF Documents&lt;/li&gt;&lt;li&gt;Split PDF Pages into a New Document&lt;/li&gt;&lt;li&gt;Rotate PDF Documents or Pages&lt;/li&gt;&lt;li&gt;Decrypt Input as Necessary (Password Required)&lt;/li&gt;&lt;li&gt;Encrypt Output as Desired&lt;/li&gt;&lt;li&gt;Fill PDF Forms with X/FDF Data and/or Flatten Forms&lt;/li&gt;&lt;li&gt;Generate FDF Data Stencil from PDF Forms&lt;/li&gt;&lt;li&gt;Apply a Background Watermark or a Foreground Stamp&lt;/li&gt;&lt;li&gt;Report PDF Metrics such as Metadata and Bookmarks&lt;/li&gt;&lt;li&gt;Update PDF Metadata&lt;/li&gt;&lt;li&gt;Attach Files to PDF Pages or the PDF Document&lt;/li&gt;&lt;li&gt;Unpack PDF Attachments&lt;/li&gt;&lt;li&gt;Burst a PDF Document into Single Pages&lt;/li&gt;&lt;li&gt;Uncompress and Re-Compress Page Streams&lt;/li&gt;&lt;li&gt;Repair Corrupted PDF (Where Possible)&lt;/li&gt;&lt;/ul&gt;Get it on &lt;a href="http://fedoraproject.org/"&gt;Fedora&lt;/a&gt;:&lt;br /&gt;&gt; yum install pdftk&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Note&lt;/span&gt; Unfortunately &lt;span style="font-size:100%;"&gt;pdftk was removed from the Fedora repository due to a license issue that prevented it from being used in nuclear facilities. &lt;span style="color: rgb(102, 0, 204);"&gt;Yeah, right. Okay. Whatever!&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;You have to recompile it from the sources or... grab the final product from someone who already did it: &lt;a href="http://optics.csufresno.edu/%7Ekriehn/fedora/repository.html"&gt;Professor Kriehn's Fedora Repository&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2592164872928925677?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2592164872928925677/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2592164872928925677' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2592164872928925677'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2592164872928925677'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/05/linux-toolbox-pdftk.html' title='Linux Toolbox: pdftk'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1155282843172282747</id><published>2008-05-27T11:02:00.004+02:00</published><updated>2008-05-27T11:47:50.563+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='export display'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><title type='text'>Exporting the Graphical Display</title><content type='html'>If you need to open a graphical application on a Linux box A and see it on another one B (i.e. exporting the  DISPLAY) there is one easy way if you log in from B to A with SSH:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; ssh -X -Y user@host.domain&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then you can start a graphical application on A from the remote session on B and see the output on B.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1155282843172282747?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1155282843172282747/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1155282843172282747' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1155282843172282747'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1155282843172282747'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/05/exporting-graphical-display.html' title='Exporting the Graphical Display'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-211392349638965819</id><published>2008-05-12T11:42:00.008+02:00</published><updated>2008-05-20T09:49:45.577+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='debian'/><category scheme='http://www.blogger.com/atom/ns#' term='sony vaio pcg fx-220'/><title type='text'>Installing Linux on the Sony Vaio PCG FX-220</title><content type='html'>I bought this notebook in August 2001. I will never buy a Sony again despite the pros for the following reasons:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Bad user support. If you have a problem, you have to pay to be able to speak with a Sony representative.&lt;/li&gt;&lt;li&gt;A memory slot had a problem which prevented it to be used. This is a common issue ([&lt;a href="http://www.hardwareanalysis.com/content/topic/11258/"&gt;1&lt;/a&gt;]) with this series and Sony did nothing to fix that.&lt;/li&gt;&lt;li&gt;The CD/DVD reader broke in 2007 (I have a Fujitsu notebook from 1996 which is still perfectly working).&lt;/li&gt;&lt;/ul&gt;Anyways, for the last reason and the fact that I needed to reinstall from scratch recently, I needed to go with boot diskettes and a network installation. &lt;span style="color: rgb(0, 102, 0);"&gt;Debian 4.0&lt;/span&gt; was the easiest choice from a first overview (I had already installed Debian a few years ago on this notebook).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Installation&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;You need the &lt;span style="color: rgb(0, 102, 0);"&gt;boot&lt;/span&gt;, &lt;span style="color: rgb(0, 102, 0);"&gt;root&lt;/span&gt; and &lt;span style="color: rgb(0, 102, 0);"&gt;network-drivers-1&lt;/span&gt; diskettes.&lt;/li&gt;&lt;li&gt;Start at the boot with: &lt;span style="font-family:courier new;"&gt;expert hw-detect/start_pcmcia=false&lt;/span&gt;&lt;/li&gt;&lt;li&gt;After that, installation starts. It might hang (it did with me) but it's a network timeout problem. Retry with a different mirror.&lt;/li&gt;&lt;li&gt;At the end of the installation, LILO and Grub won't install. Skip that step.&lt;/li&gt;&lt;li&gt;To reboot, use the boot diskette with the following parameters: &lt;span style="font-family:courier new;"&gt;rescue root=/dev/hda1&lt;/span&gt; (replace with your settings). Load the &lt;span style="color: rgb(0, 102, 0);"&gt;drivers&lt;/span&gt;, &lt;span style="color: rgb(0, 102, 0);"&gt;networks-drivers-1&lt;/span&gt; and &lt;span style="color: rgb(0, 102, 0);"&gt;2&lt;/span&gt; diskettes this time (might not be necessary but it might save your time).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Log in as root. Install Grub: &lt;span style="font-family:courier new;"&gt;apt-get install grub&lt;/span&gt;.&lt;/li&gt;&lt;li&gt;Configure Grub automatically creating its configuration file.&lt;/li&gt;&lt;li&gt;Reboot.&lt;/li&gt;&lt;li&gt;Start in single user mode because the default X.org configuration file won't work.&lt;/li&gt;&lt;li&gt;Edit the X.org configuration file manually removing all references to screen resolutions above &lt;span style="color: rgb(0, 102, 0);"&gt;1024x768&lt;/span&gt; and above &lt;span style="color: rgb(0, 102, 0);"&gt;16bpp&lt;/span&gt; (&lt;span style="color: rgb(204, 0, 0);"&gt;TODO&lt;/span&gt; to be verified, 24bpp might work)&lt;/li&gt;&lt;li&gt;Reboot.&lt;/li&gt;&lt;li&gt;Check that the network parameters are correctly set.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:130%;"&gt;Components&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;USB: working out of the box.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:130%;"&gt;Useful Links&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://esupport.sony.com/US/perl/model-documents.pl?mdl=PCGFX220"&gt;Vaio PCG FX-220 @ Sony&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.debian.org/"&gt;Debian&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.linux-laptop.net/sony.html"&gt;Linux laptops&lt;/a&gt;&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/14793041-211392349638965819?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/211392349638965819/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=211392349638965819' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/211392349638965819'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/211392349638965819'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/05/installing-linux-on-sony-vaio-pcg-fx.html' title='Installing Linux on the Sony Vaio PCG FX-220'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2341961139412135168</id><published>2008-05-06T14:10:00.011+02:00</published><updated>2008-05-07T14:13:20.354+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='webcam'/><category scheme='http://www.blogger.com/atom/ns#' term='logitech'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='xawtv'/><category scheme='http://www.blogger.com/atom/ns#' term='quickcam 4000 pro'/><title type='text'>Logitech Quickcam Pro 4000 on Linux</title><content type='html'>This post is about using a &lt;span style="color: rgb(102, 51, 102);"&gt;Logitech Quickcam Pro 4000&lt;/span&gt; on Linux (&lt;span style="color: rgb(102, 51, 102);"&gt;Fedora 8&lt;/span&gt;) to store snapshots and producing a movie.&lt;br /&gt;&lt;br /&gt;# Install xawtv (xawtv-3.95-7.fc8)&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; yum install xawtv&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;# Install mencoder (mencoder-1.0-0.90.rc2.lvn8 from the &lt;a href="http://ajmoore.blogspot.com/2008/04/fedora-extras-livna.html"&gt;livna repository&lt;/a&gt;)&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; yum install mencoder&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://linux.bytesex.org/xawtv/"&gt;xawtv&lt;/a&gt; package contains tools which allow you to connect to the webcam, grab pictures and videos on the fly and also produce movies from the snaps.&lt;br /&gt;&lt;br /&gt;# Check that the webcam is recognized and broadcasting:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; xawtv -c /dev/video0 &amp;amp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;/dev/video0&lt;/span&gt; : the device  (use &lt;span style="font-family: courier new;"&gt;xawtv -hwscan&lt;/span&gt; to see which one it is for you)&lt;br /&gt;&lt;br /&gt;# You can grab pictures in two ways with xawtv: using webcam or using streamer.&lt;br /&gt;&lt;br /&gt;# grab snapshots using streamer&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; streamer -c /dev/video0 -j 85 -t 1200 -r 0.03 -o office-0000.jpeg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;/dev/video0&lt;/span&gt; : the device&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;85&lt;/span&gt; : JPEG quality&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;1200&lt;/span&gt; : number of snapshots to grab&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;0.03&lt;/span&gt; : frames per second (here it's about 1 snap every 30 seconds)&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;office-0000.jpeg&lt;/span&gt; : output file with counter to accomodate 4 digits here&lt;br /&gt;&lt;br /&gt;# grap snapshots using webcam&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; webcam webcam.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All configuration is read from file. My &lt;span style="font-family:courier new;"&gt;webcam.conf&lt;/span&gt; is:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[grab]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;device = /dev/video0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;text = Atlanta GA - %Y-%m-%d %H:%M:%S&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#infofile = infofile.txt&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fg_red = 255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fg_green = 255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;fg_blue = 255&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;width = 320&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;height = 240&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;delay = 30&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;wait = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#input = camera&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;brightness = 100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;#norm = pal&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;rotate = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;top = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;left = 5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;bottom = -1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;right = -1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;quality = 85&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;trigger = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;once = 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;archive = office-%Y%m%d-%H%M%S.jpg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;TODO&lt;/span&gt; Explanation to follow...&lt;br /&gt;&lt;br /&gt;# make movie using mencoder (you can also use streamer but I didn't try it yet)&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; mencoder "mf://${CURR_DATE}/*.jpg" -msglevel all=-1 -mf fps=12:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:trell:mbd=2:dc=10 -oac copy -o "movie_${CURR_DATE}.avi"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;... to be continued&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;dir&gt;&lt;/dir&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2341961139412135168?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2341961139412135168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2341961139412135168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2341961139412135168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2341961139412135168'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/05/logitech-quickcam-pro-4000-on-linux.html' title='Logitech Quickcam Pro 4000 on Linux'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8607936951833677648</id><published>2008-04-30T14:29:00.002+02:00</published><updated>2008-04-30T14:33:10.581+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='livna'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><title type='text'>Fedora Extras @ livna</title><content type='html'>&lt;a href="http://rpm.livna.org/rlowiki/"&gt;rpm.livna.org&lt;/a&gt; provides many useful packages that can not be distributed in Fedora (previously known as Fedora Core and Extras) for one reason or another, including multimedia applications.&lt;br /&gt;&lt;br /&gt;&lt;strong style="font-weight: normal;"&gt;rpm.livna.org is not a standalone repository, but an extension of Fedora, Fedora Core and Extras repositories.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;To add livna Fedora 8 packages to your list of repositories:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; rpm -ihv http://rpm.livna.org/livna-release-8.rpm&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-8607936951833677648?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8607936951833677648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8607936951833677648' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8607936951833677648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8607936951833677648'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/04/fedora-extras-livna.html' title='Fedora Extras @ livna'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4819337015393455154</id><published>2008-04-29T15:27:00.007+02:00</published><updated>2008-04-30T14:37:10.270+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='fedora'/><category scheme='http://www.blogger.com/atom/ns#' term='xine'/><title type='text'>Installing Xine on Fedora 8</title><content type='html'>This procedure details the installation using the available prepackaged RPMs. The trick is that they're not all in the same place!&lt;br /&gt;&lt;br /&gt;Install the main xine libraries (available from the main Fedora repositories):&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; yum install xine-lib&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Grab the main package and dependencies from &lt;a href="ftp://fr.rpmfind.net/linux/freshrpms/fedora/linux/8"&gt;&lt;span style="text-decoration: underline;"&gt;RPM Find&lt;/span&gt;&lt;/a&gt; [1] and &lt;a href="http://rpm.pbone.net/"&gt;RPM pbone.net&lt;/a&gt; [2]:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;xine&lt;/span&gt; (xine-0.99.5-1.&lt;span style="font-weight: bold;"&gt;fc7&lt;/span&gt;.i386.rpm) [1]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;xine-lib-moles&lt;/span&gt; (xine-lib-moles-1.1.11.1-1.&lt;span style="font-weight: bold;"&gt;fc8&lt;/span&gt;.i386.rpm) [1]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;vcdimager&lt;/span&gt; (vcdimager-0.7.23-7.&lt;span style="font-weight: bold;"&gt;fc8&lt;/span&gt;.i386.rpm [2]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;libdvdcss&lt;/span&gt; (libdvdcss-1.2.9-2.&lt;span style="font-weight: bold;"&gt;fc7&lt;/span&gt;.i386.rpm) [1]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;libfame&lt;/span&gt; (libfame-0.9.1-12.&lt;span style="font-weight: bold;"&gt;fc7&lt;/span&gt;.i386.rpm) [1]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;libmad&lt;/span&gt; (libmad-0.15.1b-4.&lt;span style="font-weight: bold;"&gt;fc7&lt;/span&gt;.i386.rpm) [1]&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Note&lt;/span&gt; that on Fedora 8 you need the above version of &lt;span style="font-family:courier new;"&gt;xine-lib-moles&lt;/span&gt; for compatibility with &lt;span style="font-family:courier new;"&gt;xine-lib&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Install them directly with &lt;span style="font-style: italic;"&gt;rpm&lt;/span&gt; to avoid the need of disabling &lt;span style="font-style: italic;"&gt;yum&lt;/span&gt;'s signature check:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; rpm -ihv libdvdcss-1.2.9-2.fc7.i386.rpm libfame-0.9.1-12.fc7.i386.rpm libmad-0.15.1b-4.fc7.i386.rpm vcdimager-0.7.23-7.fc8.i386.rpm&lt;/span&gt;&lt;span style="font-family:courier new;"&gt; xine-0.99.5-1.fc7.i386.rpm xine-lib-moles-1.1.11.1-1.fc8.i386.rpm&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;Another way&lt;/span&gt; is to add livna to your list of repositories and do a:&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; yum install xine&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Didn't try this though...&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;"&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/14793041-4819337015393455154?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4819337015393455154/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4819337015393455154' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4819337015393455154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4819337015393455154'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/04/installing-xine-on-fedora-8.html' title='Installing Xine on Fedora 8'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1810234557029083852</id><published>2008-04-17T10:35:00.007+02:00</published><updated>2008-04-30T11:38:04.354+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='firefox'/><title type='text'>Java and Firefox 3 Beta 5 on Linux</title><content type='html'>This post is about configuring Java with Firefox 3 beta 5 on Linux i386. It might work for similar versions of Java and Firefox though.&lt;br /&gt;The JRE coming with &lt;span style="color: rgb(204, 0, 0);"&gt;JSE v1.6.0_03&lt;/span&gt; is currently not working. BUT the one coming with &lt;span style="color: rgb(0, 102, 0);"&gt;JSE v1.5.0_08&lt;/span&gt; does work!&lt;br /&gt;You just need to follow the usual instructions (which can be found &lt;a href="http://plugindoc.mozdev.org/linux.html"&gt;here&lt;/a&gt;) and create a symbolic link the the Java plugin library:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; cd ${FIREFOX_HOME}/plugins&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; ln -s ${JAVA_HOME}jre/plugin/i386/ns7/libjavaplugin_oji.so libjavaplugin_oji.so&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Restart Firefox and check at this URL: &lt;span style="font-family:courier new;"&gt;about:plugins&lt;/span&gt; if it's loaded and &lt;a href="http://www.java.com/en/download/help/testvm.xml"&gt;here&lt;/a&gt; if it works.&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Note&lt;/span&gt;: Actually "works" is perhaps a little bit of an overstatement. I found out an applet which is supposed to update itself with streaming data and is not doing it. So maybe it's a matter of waiting on Firefox's final version...&lt;br /&gt;On the other side Firefox 3 is much much faster and less memory consuming than Firefox 2.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1810234557029083852?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1810234557029083852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1810234557029083852' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1810234557029083852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1810234557029083852'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/04/java-and-firefox-3-beta-5-on-linux.html' title='Java and Firefox 3 Beta 5 on Linux'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-2210225123760641842</id><published>2008-03-18T16:55:00.002+01:00</published><updated>2008-03-18T17:01:19.482+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nmap'/><category scheme='http://www.blogger.com/atom/ns#' term='port scanner'/><title type='text'>Verifying Which Ports Are Listening</title><content type='html'>The most reliable way is to use a port scanner like nmap.&lt;br /&gt;You can install &lt;span style="font-family: courier new;"&gt;nmap&lt;/span&gt; in a blink of an eye on a Red Hat system (Fedora included) with &lt;span style="font-family: courier new;"&gt;yum install nmap&lt;/span&gt; or &lt;span style="font-family: courier new;"&gt;rpm -ihv &lt;nmap_rpm&gt;&lt;/span&gt; if you have the package or in many other ways lasting a little bit longer than the blink of an eye.&lt;br /&gt;&lt;br /&gt;Then issue:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&gt; nmap -sT -O localhost&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/security-guide/s1-server-ports.html"&gt;Red Hat Linux Manual v9&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-2210225123760641842?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/2210225123760641842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=2210225123760641842' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2210225123760641842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/2210225123760641842'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2008/03/verifying-which-ports-are-listening.html' title='Verifying Which Ports Are Listening'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8811574349876705199</id><published>2007-12-20T17:15:00.002+01:00</published><updated>2009-04-22T12:01:09.019+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='id'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>Enabling the CVS Id Tag for SVN</title><content type='html'>The CVS Id tag which adds file information on the file itself upon commit is enabled by default on CVS but not on SVN. To have it enabled you need to add/modify the following on your local SVN configuration file (on UN*X:&lt;span style="font-family:courier new;"&gt; &amp;lt;HOME&amp;gt;/.subversion/config&lt;/span&gt;):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[...]&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(102, 0, 204);font-family:courier new;" &gt;enable-auto-props = yes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[...]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[auto-props]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;[...]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;*.java = &lt;span style="color: rgb(102, 0, 204);"&gt;svn:keywords=Author Date Id Revision&lt;/span&gt;;svn:eol-style=native&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Complete list of keywords: &lt;span style="font-style: italic;"&gt;Author, Date, Header, Id, Log, Locker, Name, RCSFile, Revision, Source, State&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Of course, you need to add a line for every file type you want to configure for a fine grained control over that. Otherwise use &lt;span style="font-family:courier new;"&gt;*&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This works for all files committed from now on. If you already have files in the repository, you need to tell SVN to add them too:&lt;br /&gt;&lt;pre&gt;# Make sure that everything is up to date&lt;br /&gt;&gt; svn up&lt;br /&gt;# Add keywords and commit&lt;br /&gt;&gt; svn propset svn:keywords "Author Date Id Rev" file_name&lt;br /&gt;&gt; svn commit -m "Adding Id and Rev property to all files"&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/14793041-8811574349876705199?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8811574349876705199/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8811574349876705199' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8811574349876705199'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8811574349876705199'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/12/enabling-cvs-id-tag-for-svn.html' title='Enabling the CVS Id Tag for SVN'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-536594998694671583</id><published>2007-11-16T15:38:00.003+01:00</published><updated>2011-11-04T15:23:31.516+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='subversion'/><category scheme='http://www.blogger.com/atom/ns#' term='svn'/><title type='text'>SVN Java Project With Eclipse</title><content type='html'>If you have your source code in a SVN repository and want to set up a Java project in Eclipse (tested on the Helios release), &lt;span style="color: #cc0000;"&gt;you cannot simply do a&lt;/span&gt; &lt;span style="color: #6600cc;"&gt;New --&amp;gt; Project --&amp;gt; SVN --&amp;gt; Checkout projects from SVN&lt;/span&gt;.&lt;br /&gt;The resulting project will not be a Java project and you won't be able, for example, to set up the build path with all its implications...&lt;br /&gt;&lt;br /&gt;This is the way to go:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Choose &lt;span style="color: #6600cc;"&gt;Window --&amp;gt; Open perspective --&amp;gt; SVN repository exploring&lt;/span&gt;, configure the repository.&lt;/li&gt;&lt;li&gt;Open it and choose the trunk, a tag or a branch.&lt;/li&gt;&lt;li&gt;Do a right-click and do a Find/Checkout As (e.g. as a Java project)&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/14793041-536594998694671583?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/536594998694671583/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=536594998694671583' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/536594998694671583'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/536594998694671583'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/11/svn-java-project-with-eclipse.html' title='SVN Java Project With Eclipse'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-6521083437660083824</id><published>2007-10-08T17:04:00.000+02:00</published><updated>2007-10-09T16:48:39.588+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='jstl'/><category scheme='http://www.blogger.com/atom/ns#' term='spring framework'/><category scheme='http://www.blogger.com/atom/ns#' term='tomcat'/><title type='text'>JSTL Taglib Declaration</title><content type='html'>This post is related to web application development with Spring 1.x, JSTL and Tomcat v5.5.x.&lt;br /&gt;Be sure to have this configuration to be able to use JSTL:&lt;br /&gt;&lt;br /&gt;web.xml header (remove space after &lt;):&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;&lt;pre&gt;&lt;br /&gt;&lt; ?xml version="1.0" encoding="ISO-8859-1"?&gt;&lt;br /&gt;&lt;br /&gt;&lt; xmlns="http://java.sun.com/xml/ns/j2ee" &lt;br /&gt;   xsi="http://www.w3.org/2001/XMLSchema-instance" &lt;br /&gt;   schemalocation="http://java.sun.com/xml/ns/j2ee   &lt;br /&gt;   http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4"&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Taglib declaration:&lt;br /&gt;&lt;span style="color: rgb(0, 51, 0);"&gt;&lt;pre&gt;&lt;br /&gt;&lt;%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-6521083437660083824?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/6521083437660083824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=6521083437660083824' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6521083437660083824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/6521083437660083824'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/10/jstl-taglib-declaration.html' title='JSTL Taglib Declaration'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4558527677596580647</id><published>2007-08-23T15:58:00.006+02:00</published><updated>2008-09-09T17:54:14.143+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><category scheme='http://www.blogger.com/atom/ns#' term='administration'/><title type='text'>Tomcat: Redirect all requests to port 80 on port 8080</title><content type='html'>... the IPTables way! (there are other solutions)&lt;br /&gt;Configure the iptables behavior in file &lt;span style="font-family:courier new;"&gt;/etc/sysconfig/iptables-config&lt;/span&gt; to save the new rules&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IPTABLES_SAVE_ON_STOP="yes"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IPTABLES_SAVE_ON_RESTART="yes"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;IPTABLES_SAVE_COUNTER="yes"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Manually add the following rules:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;gt; iptables -t nat -A OUTPUT -d localhost -p tcp --dport 80 &lt;br /&gt;   -j REDIRECT --to-ports 8080&lt;br /&gt;&amp;gt; iptables -t nat -A OUTPUT -d &amp;lt;your_ip&amp;gt; -p tcp --dport 80 &lt;br /&gt;   -j REDIRECT --to-ports 8080&lt;/your_ip&gt;&lt;br /&gt;&amp;gt; iptables -t nat -A PREROUTING -d &amp;lt;your_ip&amp;gt; -p tcp --dport 80 &lt;br /&gt;   -j REDIRECT --to-ports 8080&lt;/your_ip&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Save and restart the service:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; /etc/init.d/iptables save&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&gt; /etc/init.d/iptables restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/your_ip&gt;&lt;/your_ip&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-4558527677596580647?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4558527677596580647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4558527677596580647' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4558527677596580647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4558527677596580647'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/08/tomcat-redirect-all-requests-to-port-80.html' title='Tomcat: Redirect all requests to port 80 on port 8080'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-1654436414443979716</id><published>2007-06-14T11:00:00.000+02:00</published><updated>2007-08-23T15:56:54.953+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='unsubscribe'/><category scheme='http://www.blogger.com/atom/ns#' term='fight spam'/><category scheme='http://www.blogger.com/atom/ns#' term='mailing list'/><title type='text'>Certified Procedure for Unsubscribing From a Mailing List</title><content type='html'>I recently had the following &lt;span style="color: rgb(204, 0, 0);"&gt;problem&lt;/span&gt;: I &lt;span style="color: rgb(204, 0, 0);"&gt;wanted to remove from a mailing list I previously subscribed to but using the unsubscribe link they provided ended up to be useless&lt;/span&gt;. It seemed to work but in the end I kept receiving their emails.&lt;br /&gt;I never thought of writing them to be removed since in my experience it's a total waste of time.&lt;br /&gt;The good news is there are other solutions!&lt;br /&gt;These services always offer you the possibility to update your personal info and included with that you can change your email address. I mean, they cannot loose a "valued customer" if he decides to change his email so &lt;span style="color: rgb(204, 0, 0);"&gt;that update link will work&lt;/span&gt;!&lt;br /&gt;Given that, what you can do is use one of those incredible services like &lt;a href="http://www.mailinator.com/"&gt;Mailinator&lt;/a&gt; to have a &lt;span style="color: rgb(204, 0, 0);"&gt;one time email you can put as your new email address&lt;/span&gt;. Of course you will be able to answer to their confirmation request by reading the only email you will get at that address, and after that forget about the whole thing!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-1654436414443979716?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/1654436414443979716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=1654436414443979716' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1654436414443979716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/1654436414443979716'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/06/certified-procedure-for-unsubscribing.html' title='Certified Procedure for Unsubscribing From a Mailing List'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-4870085090110277655</id><published>2007-05-24T12:00:00.001+02:00</published><updated>2009-03-11T13:35:42.435+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='email'/><category scheme='http://www.blogger.com/atom/ns#' term='thunderbird'/><title type='text'>Configuring Thunderbird Reply Header</title><content type='html'>The default reply header can be customized if you create the file &lt;span style="font-family: courier new;"&gt;user.js&lt;/span&gt; in the profile directory of your &lt;a href="http://www.mozilla.org/support/thunderbird/tips#beh_replyheader"&gt;Thunderbird&lt;/a&gt; home (if you have Windoz, look inside the Doc&amp;amp;Settings/AppData/Thunderbird or something like that) and fill it with the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// Change the reply header&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// 0 - No Reply-Text&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// 1 - "[Author] wrote:"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// 2 - "On [date] [author] wrote:"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// 3 - User-defined reply header. Use the prefs below in conjunction with this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;user_pref("mailnews.reply_header_type", 3);&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// If you set 3 for the pref above then you may set the following prefs.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;user_pref("mailnews.reply_header_authorwrote", "%s said the following");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;user_pref("mailnews.reply_header_ondate", "on %s");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;user_pref("mailnews.reply_header_separator", " ");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;user_pref("mailnews.reply_header_colon", ":");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;// The end result will be [authorwrote][separator][ondate][colon]&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-4870085090110277655?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/4870085090110277655/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=4870085090110277655' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4870085090110277655'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/4870085090110277655'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/05/configuring-thunderbird-reply-header.html' title='Configuring Thunderbird Reply Header'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-8787753332574275206</id><published>2007-03-22T11:18:00.000+01:00</published><updated>2007-03-22T11:30:26.062+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='logging'/><category scheme='http://www.blogger.com/atom/ns#' term='log4j'/><category scheme='http://www.blogger.com/atom/ns#' term='commons'/><title type='text'>Using Apache Commons Logging and Log4j</title><content type='html'>It's as easy as this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Download the latest and the greatest from &lt;a href="http://logging.apache.org/log4j/docs/download.html"&gt;Log4J&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Download the latest and the greatest from &lt;a href="http://jakarta.apache.org/site/downloads/downloads_commons-logging.cgi"&gt;Apache Commons Logging&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Add the libraries to the $CLASSPATH.&lt;/li&gt;&lt;li&gt;Write a Log4J properties file called &lt;code&gt;log4j.properties&lt;/code&gt; and place it in a directory in the $CLASSPATH.&lt;/li&gt;&lt;li&gt;You can now start logging in a class simply obtaining a logger with:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;code&gt;private static final Log log = LogFactory.getLog(YourClass.class);&lt;/code&gt;&lt;/li&gt;&lt;/ol&gt;&lt;li&gt;and using it:&lt;/li&gt;&lt;ol&gt;&lt;li&gt;&lt;code&gt;log.info("your logging comment");&lt;/code&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-8787753332574275206?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/8787753332574275206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=8787753332574275206' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8787753332574275206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/8787753332574275206'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/03/using-apache-commons-logging-and-log4j.html' title='Using Apache Commons Logging and Log4j'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-450347876571583618</id><published>2007-01-04T13:19:00.000+01:00</published><updated>2007-01-04T13:26:56.312+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='ps2pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><category scheme='http://www.blogger.com/atom/ns#' term='openoffice'/><title type='text'>Converting to PDF from Openoffice (Linux)</title><content type='html'>There are basically 2 options to convert an Openoffice doc into PDF:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Use &lt;span style="font-style: italic;"&gt;File&lt;/span&gt; --&gt; &lt;span style="font-style: italic;"&gt;Export to PDF&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Print to file using &lt;span style="font-style: italic;"&gt;File&lt;/span&gt; --&gt; &lt;span style="font-style: italic;"&gt;Print&lt;/span&gt;, which gives you a Postscript version of the doc. Then use &lt;tt&gt;ps2pdf&lt;/tt&gt; to convert to PDF.&lt;/li&gt;&lt;/ol&gt;Well, what I've seen is that method 2 gives a &lt;span style="color: rgb(51, 51, 255);"&gt;much better result graphically speaking&lt;/span&gt; (with method 1, you sometimes get mingled/not correctly spaced characters), and &lt;span style="color: rgb(51, 51, 255);"&gt;smaller files&lt;/span&gt;. So, I'd really suggest you use that for the task.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-450347876571583618?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/450347876571583618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=450347876571583618' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/450347876571583618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/450347876571583618'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/01/converting-to-pdf-from-openoffice-linux.html' title='Converting to PDF from Openoffice (Linux)'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-520612878815780567</id><published>2007-01-04T13:04:00.000+01:00</published><updated>2007-01-04T13:15:45.865+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ghostview'/><category scheme='http://www.blogger.com/atom/ns#' term='ghostscript'/><category scheme='http://www.blogger.com/atom/ns#' term='pdf'/><title type='text'>Converting to PDF Under Windoz</title><content type='html'>First you need to &lt;span style="color: rgb(0, 153, 0);"&gt;get your doc into Postscript&lt;/span&gt; (PS) format. One way is to print to file using any PS printer (I use the HP Color Laserjet 8550-PS). Of course you don’t need to have it! &lt;p&gt;&lt;span style="color: rgb(0, 153, 0);"&gt;Install&lt;/span&gt; &lt;a href="http://www.cs.wisc.edu/%7Eghost/" title="Ghostscript" target="_blank"&gt;Ghostscript&lt;/a&gt; and &lt;a href="http://www.cs.wisc.edu/%7Eghost/" title="Ghostview"&gt;Ghostview&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;Open a PS file with Ghostview to be able to make the &lt;span style="color: rgb(0, 153, 0);"&gt;initial configuration&lt;/span&gt;. Choose from the menu: &lt;em&gt;File&lt;/em&gt; –&gt; &lt;em&gt;Convert&lt;/em&gt;.&lt;/p&gt; &lt;p style="color: rgb(0, 153, 0);"&gt;Select:&lt;/p&gt; &lt;p&gt;&lt;span style="font-style: italic;"&gt;Device:&lt;/span&gt; &lt;strong style="font-weight: bold;"&gt;&lt;tt&gt;pdfwrite&lt;/tt&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-style: italic;"&gt;Resolution:&lt;/span&gt; &lt;strong&gt;&lt;tt&gt;720&lt;/tt&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="font-style: italic;"&gt;Options:&lt;/span&gt; &lt;strong&gt;&lt;tt&gt;-dMaxSubsetPct=100 -dCompatibilityLevel=1.2 -dSubsetFonts=true -dEmbedAllFonts=true&lt;/tt&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p style="color: rgb(0, 153, 0);"&gt;You’re set!&lt;/p&gt;&lt;p style="color: rgb(0, 153, 0);"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Reference:  &lt;/span&gt;&lt;a href="http://www.math.ucla.edu/help/internet/www/ps2pdf.html"&gt;Creating PDF Files in Unix and Windows&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-520612878815780567?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/520612878815780567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=520612878815780567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/520612878815780567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/520612878815780567'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/01/converting-to-pdf-under-windoz.html' title='Converting to PDF Under Windoz'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-14793041.post-7547303577978711912</id><published>2007-01-04T12:55:00.000+01:00</published><updated>2007-01-04T13:00:40.651+01:00</updated><title type='text'>Brand New Start!</title><content type='html'>I was about to move to another blog service because I really wanted some features (like &lt;span style="color: rgb(0, 153, 0);"&gt;labels&lt;/span&gt;) which Blogger didn't have and I had no hint they were working on them when... a brand new Blogger... with labels!&lt;br /&gt;That's why I'm back ;-)&lt;br /&gt;This time though it will be a &lt;span style="color: rgb(0, 153, 0);"&gt;whole different blog&lt;/span&gt;. Don't have much time to write now. But I'll occasionally blog about... anything. What there will be for sure are some &lt;span style="color: rgb(0, 153, 0);"&gt;computer-related tips&lt;/span&gt;.&lt;br /&gt;&lt;a href="http://www.zeeya.net"&gt;Zeeya&lt;/a&gt;!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/14793041-7547303577978711912?l=ajmoore.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ajmoore.blogspot.com/feeds/7547303577978711912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=14793041&amp;postID=7547303577978711912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7547303577978711912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/14793041/posts/default/7547303577978711912'/><link rel='alternate' type='text/html' href='http://ajmoore.blogspot.com/2007/01/brand-new-start.html' title='Brand New Start!'/><author><name>ajm</name><uri>http://www.blogger.com/profile/03650409235787748623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-H8jE5mG4vdo/TZ7EU2nwlgI/AAAAAAAAC9g/rjLnknu9fig/s220/andrea_caltroni.jpg'/></author><thr:total>0</thr:total></entry></feed>
