<?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-4091667087303293220</id><updated>2011-12-13T21:41:55.641Z</updated><category term='regex'/><category term='maven'/><category term='eclipse'/><category term='IDEA'/><category term='GWT'/><category term='SmartGWT'/><category term='winamp'/><category term='java'/><category term='git'/><category term='groovy'/><category term='whs'/><category term='cygwin'/><title type='text'>Code Inquisitor</title><subtitle type='html'>joining up the code jigsaw</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-4784415034461653012</id><published>2011-11-27T00:51:00.001Z</published><updated>2011-11-27T01:00:29.715Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='whs'/><title type='text'>Upgrading squeezebox server on whs &amp; Visual C++ dependancy</title><content type='html'>I was upgrading my squeezebox server 7.6 on my windows home server via the whs console | Settings | Add-ins. To install v7.7 first I had to uninstall 7.6, no problem. When I tried to install v7.7, which has been renamed Logitech Server, it said it needed the Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) and gave a download link from the Microsoft site. To install this I did the following.&lt;ol&gt;&lt;li&gt;Downloaded vcredist_x86.exe to my machine. &lt;/li&gt;&lt;li&gt;I used &lt;a href="http://codeinquisitor.blogspot.com/2011/09/syncing-with-whs.html"&gt;robycopy&lt;/a&gt; from the command line to copy the file to a shared directory on whs. (I needed to create the directory in whs, as when created via remote desktops it did not have permission to write to it).&lt;/li&gt;&lt;li&gt;From the laptop I ran &lt;i&gt;remote desktops&lt;/i&gt;. I needed to login from remote desktops to my whs server as the administrator. I needed to launch the command line to run the installation file.&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-4784415034461653012?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/4784415034461653012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2011/11/upgrading-squeezebox-server-on-whs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/4784415034461653012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/4784415034461653012'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2011/11/upgrading-squeezebox-server-on-whs.html' title='Upgrading squeezebox server on whs &amp; Visual C++ dependancy'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-8953016361422614546</id><published>2011-09-25T00:14:00.001+01:00</published><updated>2011-10-04T00:36:35.047+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='whs'/><title type='text'>Syncing with WHS</title><content type='html'>I wanted to sync some directories on my machine to a shared folder on my server which runs Window Home Server. I used my backup s/w of choice, &lt;a href="http://www.cobiansoft.com/cobianbackup.htm"&gt;Cobian backup&lt;/a&gt;. A large percentage of files did not copy with errors like "The specified network name is no longer available" / "The network path was not found" / "The filename, directory name, or volume label syntax is incorrect".&lt;br /&gt;&lt;br /&gt;I also tried the free microsoft &lt;a href="http://www.microsoft.com/download/en/details.aspx?id=15155"&gt;synctoy&lt;/a&gt;. It did not copy any additional files on the same sync with some of the same errors.&lt;br /&gt;&lt;br /&gt;What worked for me in the end was surprisingly the free Microsoft, &lt;a href="http://en.wikipedia.org/wiki/Robocopy"&gt;Robocopy&lt;/a&gt;. It has a default feature to skip files that already appear in the destination folder with identical size and timestamp.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;robocopy source destination /e /zb /r:5 /purge&lt;/blockquote&gt;&lt;br /&gt;e.g. robocopy "f:\my documents\my music" \\myserver\music /e /zb /r:5 /purge&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-8953016361422614546?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/8953016361422614546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2011/09/syncing-with-whs.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8953016361422614546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8953016361422614546'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2011/09/syncing-with-whs.html' title='Syncing with WHS'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-7992717843243474857</id><published>2010-06-25T00:17:00.002+01:00</published><updated>2010-06-25T00:24:36.894+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='groovy'/><title type='text'>Groovy tip: initialise ArrayList</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I have an ArrayList of known length, each element containing a comma separated string, some list members may be empty, the list starts empty and is built up. But the list elements start null, is there a way to initialise them?&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;def myArrayList = (0..99).collect { '' }&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Eclipse tip: switch/change tab&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-7992717843243474857?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/7992717843243474857/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/06/groovy-tip-initialise-arraylist.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/7992717843243474857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/7992717843243474857'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/06/groovy-tip-initialise-arraylist.html' title='Groovy tip: initialise ArrayList'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-8537379080892435618</id><published>2010-03-30T20:03:00.001+01:00</published><updated>2010-04-04T20:28:35.470+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>Git tip: add to comments</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I have done a git commit but want to append to the comments I have added.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;In the root of your repository directory you will find a .git folder. In there there is a file "COMMIT_EDITMSG" which contains the comments for the current commit. To bring up the default editor (VIM, unless you have your custom editor specified in the [core] section of .gitconfig - located in the &lt;a href="http://codeinquisitor.blogspot.com/2010/03/git-tip-windows-home-directory.html"&gt;home&lt;/a&gt; directory - e.g. "editor = e:\\JGSoft\\EditPadPro6\\Editpadpro.exe, you can do &lt;i&gt;git commit --amend&lt;/i&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Eclipse tip: switch/change tab&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-8537379080892435618?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/8537379080892435618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-add-to-comments.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8537379080892435618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8537379080892435618'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-add-to-comments.html' title='Git tip: add to comments'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-8091613298111152098</id><published>2010-03-24T20:02:00.005Z</published><updated>2010-04-04T20:04:39.435+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse tip: switch/change tab</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I have looked at a lot of the Eclipse keyboard shortcut cheat sheet lists but I can't find a shortcut to change tab in the editor?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;Use ctrl+e to pop up a list of the open tabs which you can scroll though to change focus. Alternatively, you can use ctrl+page-up / ctrl+page-down to navigate to the right/left tabs respectively.&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-8091613298111152098?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/8091613298111152098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tab-switchchange-tab.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8091613298111152098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8091613298111152098'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tab-switchchange-tab.html' title='Eclipse tip: switch/change tab'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-5319148921971862370</id><published>2010-03-23T23:34:00.012Z</published><updated>2011-08-25T21:13:21.586+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>Git Tip: unstaging</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;tr&gt; &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt; &lt;td class="Col2"&gt;In Git you have your working tree and your repository but the necessary in-between state is the staging area. Files get staged by doing a &lt;i&gt;git add&lt;/i&gt;. What's the opposite of a git add, i.e. how can I "unstage" a file?&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt; &lt;td class="Col2"&gt;&lt;br /&gt;Updated 25 August 2011. &lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;Embarrassingly, I just saw the comments now over a year later and it turns out I have a lot to learn with GIT, I have not used it enough and got this completely wrong as the comments testify. I leave my deleted answer for my own education. I have turned on comment notification now!&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;del&gt;As the handy command line help on a &lt;i&gt;git status&lt;/i&gt; shows, files can be unstaged with &lt;i&gt;git rm&lt;/i&gt;.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;To wipe any changes you have made since the last commit, do a &lt;i&gt;git reset HEAD &amp;lt;file name with complete path&amp;gt;&lt;/i&gt;&lt;/td&gt;&lt;/del&gt; &lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-5319148921971862370?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/5319148921971862370/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-unstaging.html#comment-form' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/5319148921971862370'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/5319148921971862370'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-unstaging.html' title='Git Tip: unstaging'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-8549987368182919211</id><published>2010-03-22T20:24:00.000Z</published><updated>2010-03-24T20:30:58.799Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='cygwin'/><title type='text'>Cygwin tip: copying text</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;How can I copy text in a cygwin window?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;In the system menu, select properties and then Options | Edit Options | QuickEdit mode. You can then highlight text in the window and press enter to copy it to the clipboard.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-8549987368182919211?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/8549987368182919211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/cygwin-tip-copying-text.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8549987368182919211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8549987368182919211'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/cygwin-tip-copying-text.html' title='Cygwin tip: copying text'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-2085043418274558020</id><published>2010-03-21T20:32:00.001Z</published><updated>2010-03-24T20:43:57.358Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse tip: code completion shortcut</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;In Eclipse, ctrl+spacebar is not bringing up code completion?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;Check for any shortcut collisions. On my machine I discovered that &lt;a href="http://www.dexpot.de"&gt;Dexpot's&lt;/a&gt; task switcher default shortcut is the same, it can be changed in configuration. I use Dexpot for Virtual Desktopping and it is a vital component of my &lt;a href="http://reducekeystrokes.com/software"&gt;toolkit&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-2085043418274558020?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/2085043418274558020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-code-completion-shortcut.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2085043418274558020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2085043418274558020'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-code-completion-shortcut.html' title='Eclipse tip: code completion shortcut'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-2279767750222732432</id><published>2010-03-08T17:21:00.006Z</published><updated>2010-04-07T00:00:25.356+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse tip: editing class header</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;How can I change the class header in Eclipse to add a company copyright blurb?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;The menu option Window | Preferences | Java | Code Style | Code Templates | Code | New java file shows:&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;${filecomment}&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;${package_declaration}&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;${typecomment}&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;${type_declaration}&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;The text that gets substituted for ${filecomment} can be edited via Window | Preferences | Java | Code Style | Code Templates | Comments | Files. When editing the template you have the option in the GUI to insert variables and you can see which ones are available.&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;This header will only shows up in new classes after choosing "Generate comments" in the new Java class wizard.&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-2279767750222732432?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/2279767750222732432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-editing-class-header.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2279767750222732432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2279767750222732432'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-editing-class-header.html' title='Eclipse tip: editing class header'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-6142162809911126361</id><published>2010-03-06T08:11:00.003Z</published><updated>2010-04-06T17:15:45.837+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><category scheme='http://www.blogger.com/atom/ns#' term='maven'/><title type='text'>Eclipse Tip: Loading Maven repository</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I cloned a Maven repository from github, How do I open this in Eclipse?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;Issue a &lt;i&gt;mvn eclipse:eclipse&lt;/i&gt; command in the cloned project root (where the pom.xml resides), which creates the default eclipses directories/files. This project can then be opened in Eclipse. Note, as the .pom file changes (by other developers) you may need to regenerate the Eclipse project using this command and refresh in Eclipse.&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;Alternatively, if you have the Maven plugin installed in Eclipse you can then do File | Import | Maven | Existing Maven Projects and point to the directory with the pom.xml.&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-6142162809911126361?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/6142162809911126361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-loading-maven-repository.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/6142162809911126361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/6142162809911126361'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-loading-maven-repository.html' title='Eclipse Tip: Loading Maven repository'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-2698693300262948473</id><published>2010-03-05T22:30:00.001Z</published><updated>2010-03-24T20:26:29.331Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><category scheme='http://www.blogger.com/atom/ns#' term='cygwin'/><title type='text'>Git tip: checkout from github via cygwin</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;In trying to checkout a repository from github using cygwin (unix like command line interface for windows), according to the &lt;a href="http://github.com/guides/addressing-authentication-problems-with-ssh"&gt;github help&lt;/a&gt; is do a &lt;i&gt;ssh git@github.com&lt;/i&gt;. However, I got a "Permission denied (publickey)".&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;The missing ingredient for me was that cygwin uses the &lt;a href="http://codeinquisitor.blogspot.com/2010/03/git-tip-windows-home-directory.html"&gt;HOME&lt;/a&gt; environment variable and this was not set on my machine. I was then able to do a &lt;ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;i&gt;git clone git@github.com:&amp;lt;github repository&amp;gt;&lt;/i&gt;.&lt;br /&gt;&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-2698693300262948473?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/2698693300262948473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-checkout-from-github-via-cygwin.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2698693300262948473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2698693300262948473'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-checkout-from-github-via-cygwin.html' title='Git tip: checkout from github via cygwin'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-7445277928990044710</id><published>2010-03-04T23:27:00.005Z</published><updated>2010-03-24T20:26:05.591Z</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 tip:  creating getters and setters</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I have to create a standard Java bean class but don't fancy having to type all those nasty getters and setters. Is there any code generator I can use?&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;Enter all the private properties in the class and then right click and select Source | Generate Getters and Setters...&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-7445277928990044710?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/7445277928990044710/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-creating-getters-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/7445277928990044710'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/7445277928990044710'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tip-creating-getters-and.html' title='Eclipse tip:  creating getters and setters'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-2790167291046079569</id><published>2010-03-03T22:09:00.005Z</published><updated>2010-04-04T20:15:26.128+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='git'/><title type='text'>Git tip: windows home directory</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;Working with Git on Windows and wanting to connect to Github, one needs to install &lt;a href="http://code.google.com/p/msysgit/"&gt;msysgit&lt;/a&gt;. The &lt;a href="http://help.github.com/msysgit-key-setup/"&gt;github help&lt;/a&gt; for Generating SSH keys, says thar one needs to copy the keys to ~/.ssh. What do I do in windows?&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;This look like notation relevant to Unix but I learned from this &lt;a href="http://www.iwebthereforeiam.com/iwebthereforeiam/2009/06/getting-github-working-in-windows.html"&gt;iwebthereforeiam post&lt;/a&gt; that the slash represents the home directory, which in Windows XP is the user directory under the "Documents and Settings" folder.&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-2790167291046079569?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/2790167291046079569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-windows-home-directory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2790167291046079569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2790167291046079569'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/git-tip-windows-home-directory.html' title='Git tip: windows home directory'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-2927901689010970065</id><published>2010-03-02T21:24:00.005Z</published><updated>2010-03-23T22:06:21.675Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='eclipse'/><title type='text'>Eclipse tip - import xml code formatting rules</title><content type='html'>&lt;style type="text/css"&gt;.nobrtable br { display: none }&lt;/style&gt;&lt;br /&gt;&lt;div class="nobrtable"&gt;&lt;br /&gt;&lt;table&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="question"&gt;Q&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;I got sent eclipse code formatting rules by xml. How can I use this?&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;tr&gt;&lt;br /&gt;  &lt;td class="Col1"&gt;&lt;span class="answer"&gt;A&lt;/span&gt;&lt;/td&gt;&lt;br /&gt;  &lt;td class="Col2"&gt;In Eclipse (Galileo 3.5.1) open Windows | Preferences | Java | Code Style | Formatter &amp; do an import selecting the xml file&lt;/td&gt;&lt;br /&gt;&lt;/tr&gt;&lt;br /&gt;&lt;br /&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-2927901689010970065?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/2927901689010970065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tips.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2927901689010970065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/2927901689010970065'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2010/03/eclipse-tips.html' title='Eclipse tip - import xml code formatting rules'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-8578332913827129758</id><published>2009-08-26T14:15:00.000+01:00</published><updated>2009-08-26T14:50:02.168+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><title type='text'>Martin Fowler on the meaning of life</title><content type='html'>&lt;object width="425" height="344"&gt;&lt;param name="movie" value="http://swf.tubechop.com/tubechop.swf?vurl=-4fA_UciDaA&amp;start=1163&amp;end=1168&amp;cid=23513"&gt;&lt;/param&gt;&lt;embed src="http://swf.tubechop.com/tubechop.swf?vurl=-4fA_UciDaA&amp;start=1163&amp;end=1168&amp;cid=23513" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-8578332913827129758?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/8578332913827129758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2009/08/martin-fowler-on-meaning-of-life.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8578332913827129758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/8578332913827129758'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2009/08/martin-fowler-on-meaning-of-life.html' title='Martin Fowler on the meaning of life'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-3783965252149409445</id><published>2009-08-25T16:48:00.000+01:00</published><updated>2009-08-25T18:14:09.428+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regex'/><title type='text'>Regular expression &amp; new lines</title><content type='html'>Windows line breaks are LF (\r) followed by a CR (\n), so to match a line break in windows use the regular expression \r\n. &lt;br /&gt;&lt;br /&gt;If you have a line break, $ will match before the line break, and ^ after it.&lt;br /&gt;&lt;br /&gt;You can match a CR (\r) not followed by LF (\n) with \r(?!\n).&lt;br /&gt;&lt;br /&gt;UNIX uses an LF character only. &lt;br /&gt;&lt;br /&gt;Apple uses a CR character only.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-3783965252149409445?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/3783965252149409445/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2009/08/regular-expression-new-lines.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/3783965252149409445'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/3783965252149409445'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2009/08/regular-expression-new-lines.html' title='Regular expression &amp; new lines'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-3226497645685752696</id><published>2009-06-04T15:35:00.007+01:00</published><updated>2010-03-23T23:24:54.812Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='winamp'/><title type='text'>Playing BBC streams in Winamp (Windows)</title><content type='html'>&lt;h5&gt;This post updated 23 March 2010&lt;/h5&gt;&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;Install &lt;a href="http://www.winamp.com/player"&gt;Winamp&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Install &lt;a href="http://www.free-codecs.com/download/Real_Audio_Input_Plugin_for_Winamp.htm"&gt;Tara&lt;/a&gt; plugin. Ensure "Process audio though Winamp" is unchecked in Preferences | Plug-ins | Input | Tara Audio Video Plugin. [Test: Is this still needed?]&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Install &lt;a href="http://www.free-codecs.com/download/real_Alternative.htm"&gt;Real Alternative&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;If your primary sound driver changes, e.g. you plug your laptop into and external sound card, I have found that you may need to reconfigure the driver in Preferences | Plug-ins | Output | Nullsoft DirectSound Output | Device &amp;amp; select the sound driver from the first drop down.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Open the &lt;a href="http://www.bbc.co.uk/iplayer/radio"&gt;BBC Player&lt;/a&gt; and select the show you are interested in&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Hover over the show and right click to copy the link address, it is in the form&lt;ul&gt;&lt;/ul&gt;&lt;i&gt;http://www.bbc.co.uk/iplayer/episode/&amp;lt;Programme ID&amp;gt;/&amp;lt;stream name&amp;gt;&lt;/i&gt;&lt;ul&gt;&lt;/ul&gt;e.g. http://www.bbc.co.uk/iplayer/episode/b00rbtcd/Gilles_Peterson_Bonobo_live_in_the_studio&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Put the &amp;lt;Programme ID&amp;gt; into the superb &lt;a href="http://www.iplayerconverter.co.uk/convert.aspx"&gt;iPlayer PID Convertor&lt;/a&gt; to give you the BBC .ram&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;ul&gt; &lt;br /&gt;&lt;li&gt;Experimental show with &lt;a href="http://www.bbc.co.uk/iplayer/aod/playlists/82/vr/k0/0b/RadioBridge_intl_0100_bbc_radio_one.ram"&gt;Mary Ann Hobbs&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Worldwide show with &lt;a href="http://www.bbc.co.uk/iplayer/aod/playlists/f8/kr/k0/0b/RadioBridge_intl_0100_bbc_radio_one.ram"&gt;Giles Peterson&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Leftfield show with &lt;a href="http://www.bbc.co.uk/iplayer/aod/playlists/ly/q7/r0/0b/RadioBridge_intl_0500_bbc_radio_one.ram"&gt;Rob da bank&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Drum and Bass Show with &lt;a href="http://www.bbc.co.uk/iplayer/aod/playlists/bh/hr/k0/0b/RadioBridge_intl_0000_bbc_radio_one.ram"&gt;Fabio and Grooverider&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;If you wish to organise your bookmarks, e.g. have the above under a BBC category, I recommend &lt;a href="http://nunzioweb.com/daz/releases.html"&gt;ML Bookmark Categoriser&lt;/a&gt;. &lt;/br&gt;&lt;br /&gt;&lt;br /&gt;Bookmarks that are shown in the Bookmarks view in the Media Library are stored in the %Appdata%\Winamp\winamp.bm file. You can open that file in Notepad and copy+paste the contents into another winamp.bm file.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Listening to streams, especially the above 2 hour BBC shows, might not be convenient in one sitting. You can use the &lt;a href="http://www.winamp.com/plugin/amarok-plugin-v1-2/22630"&gt;Amarok plugin&lt;/a&gt; to bookmark the position in the stream - indeed multiple positions of desired.&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/4091667087303293220-3226497645685752696?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/3226497645685752696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2009/06/playing-bbc-streams-in-winamp-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/3226497645685752696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/3226497645685752696'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2009/06/playing-bbc-streams-in-winamp-windows.html' title='Playing BBC streams in Winamp (Windows)'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4091667087303293220.post-6436967715567994971</id><published>2009-02-03T17:26:00.001Z</published><updated>2009-03-03T11:15:44.388Z</updated><category scheme='http://www.blogger.com/atom/ns#' term='GWT'/><category scheme='http://www.blogger.com/atom/ns#' term='IDEA'/><category scheme='http://www.blogger.com/atom/ns#' term='SmartGWT'/><title type='text'>IDEA GWT Sample Application &amp; SmartGWT</title><content type='html'>&lt;span style="font-style:italic;"&gt;Assumes&lt;/span&gt;: Have &lt;a href="http://www.jetbrains.com/idea/"&gt;IDEA&lt;/a&gt; v8 &amp; &lt;a href="http://code.google.com/webtoolkit/download.html"&gt;GWT&lt;/a&gt; installed&lt;br /&gt;&lt;br /&gt;v8 of IDEA  comes with a GWT Plugin. To check you installed the plugin have a look on the Web/Java EE Technologies Plugins page of the Plugin wizard (File|Configure plugins)&lt;br /&gt;&lt;br /&gt;Run the new project wizard and select to create a new project from scratch, 'GWT' The last page of the wizard allows you to select the desired technologies, choose GWT and point to your local GWT installation. This creates a new GWT facet, you can see this by opening File|Project structure &amp; selecting modules.&lt;br /&gt;&lt;br /&gt;Right click on the top level 'GWT' node in project tree, select New|Google Web Toolkit|GWT Sample application, give it a name of 'Sample'&lt;br /&gt;&lt;br /&gt;Open Run|Edit Configurations and select a GWT Configuration. Select the html file to open: sample.Sample/Sample.html. Set the VM parameters to -Xmx512M. otherwise you may have running out of memory issues. Run this new configuration and you see the sample GWT application:&lt;br /&gt;&lt;br /&gt;Note: In sample.html I had to change&lt;br /&gt;&amp;lt;script language="javascript" src="gwt.js"&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;to&lt;br /&gt;&amp;lt;script language="javascript" src="sample.Sample.nocache.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_AkbnS8OfHn4/SYjbEfL6jBI/AAAAAAAAAmI/VFxHsO314Nw/s1600-h/1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 150px;" src="http://2.bp.blogspot.com/_AkbnS8OfHn4/SYjbEfL6jBI/AAAAAAAAAmI/VFxHsO314Nw/s400/1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5298725831738821650" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;SmartGWT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Download SmartGWT (http://code.google.com/p/smartgwt/) and unzip to a convenient location. Create a lib directory under your GWT project and copy &lt;br /&gt;smartgwt.jar here. Open File|Project structure and select Libraries, select + to add new library 'smartgwt' and select attach classes and attach sources to point to this smartgwt.jar&lt;br /&gt;&lt;br /&gt;In Sample.gwt.xml, add     &lt;br /&gt; &amp;lt;inherits name='com.smartgwt.SmartGwt'/&amp;gt;&lt;br /&gt;&lt;br /&gt;Open {smartgwt}\samples\helloworld\src\com\mycompany\client\HelloWorld.java and append the onModuleLoad code to Sample.java. Rerun the application and you will see the sample SMARTGWT added.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_AkbnS8OfHn4/SYh-iz0latI/AAAAAAAAAl8/9hL66RbbC74/s1600-h/2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px; height: 211px;" src="http://3.bp.blogspot.com/_AkbnS8OfHn4/SYh-iz0latI/AAAAAAAAAl8/9hL66RbbC74/s400/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5298624098092804818" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4091667087303293220-6436967715567994971?l=codeinquisitor.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://codeinquisitor.blogspot.com/feeds/6436967715567994971/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://codeinquisitor.blogspot.com/2009/02/idea-gwt-sample-application-smartgwt.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/6436967715567994971'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4091667087303293220/posts/default/6436967715567994971'/><link rel='alternate' type='text/html' href='http://codeinquisitor.blogspot.com/2009/02/idea-gwt-sample-application-smartgwt.html' title='IDEA GWT Sample Application &amp; SmartGWT'/><author><name>board tc</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='16' src='http://i10.tinypic.com/4pttlhv.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_AkbnS8OfHn4/SYjbEfL6jBI/AAAAAAAAAmI/VFxHsO314Nw/s72-c/1.jpg' height='72' width='72'/><thr:total>0</thr:total></entry></feed>
