<?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-6087941724930299076</id><updated>2011-07-30T22:53:26.829-07:00</updated><title type='text'>Sommercode</title><subtitle type='html'>This Blog shares some programming solutions I found working on my ruby on rails projects. Current projects include &lt;a href="http://www.languagememory.org"&gt;www.languagememory.org&lt;/a&gt; and &lt;a href="http://www.totemize.com"&gt;www.totemize.com&lt;/a&gt;. Repositories can be found at &lt;a href="http://github.com/materialvision/"&gt;github.com/materialvision&lt;/a&gt;.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sommercode.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sommercode.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>the silent reader</name><uri>http://www.blogger.com/profile/03513553909545357428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>3</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6087941724930299076.post-2289549129059851010</id><published>2009-11-16T07:04:00.000-08:00</published><updated>2009-11-16T07:05:11.559-08:00</updated><title type='text'>Devise authentication</title><content type='html'>A great solution for authentication I used in a project today. Very simple to set up, and totally unobtrusive because of its middleware nature. Devise uses Warden.&lt;br /&gt;&lt;br /&gt;A good blogpost &lt;a href="http://blog.plataformatec.com.br/2009/11/devise-authentication-for-lazy-programmers/"&gt;explains&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://github.com/plataformatec/devise"&gt;http://github.com/plataformatec/devise&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Devise worked great with my rails 2.3 project, restful nested resources and all. Now just need to get that actionmailer setup working...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6087941724930299076-2289549129059851010?l=sommercode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sommercode.blogspot.com/feeds/2289549129059851010/comments/default' title='Legg inn kommentarer'/><link rel='replies' type='text/html' href='http://sommercode.blogspot.com/2009/11/devise-authenitcation.html#comment-form' title='0 Kommentarer'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/2289549129059851010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/2289549129059851010'/><link rel='alternate' type='text/html' href='http://sommercode.blogspot.com/2009/11/devise-authenitcation.html' title='Devise authentication'/><author><name>the silent reader</name><uri>http://www.blogger.com/profile/03513553909545357428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6087941724930299076.post-3907722234400170517</id><published>2009-11-16T06:56:00.000-08:00</published><updated>2009-11-16T06:56:26.665-08:00</updated><title type='text'>wicked_pdf</title><content type='html'>Finally a pdf solution that works great and is fairly easy to set up. It uses simple html as a template for the pdf rendering.&lt;br /&gt;&lt;br /&gt;First download and install wkhtmltopdf program. I used this osx version:&lt;br /&gt;&lt;a href="http://code.google.com/p/wkhtmltopdf/downloads/detail?name=wkhtmltopdf-0.8.3.1-OS-X.i386&amp;can=2&amp;q="&gt;wkhtmltopdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Then I had to change the name of the binary to just wkhtmltopdf and put it in the search path. In my case /bin&lt;br /&gt;&lt;br /&gt;The wicked_pdf plugin uses the which command to locate it.&lt;br /&gt;&lt;br /&gt;Then follow the simple instructions at &lt;a href="http://github.com/mileszs/wicked_pdf"&gt;wicked_pdf github page&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6087941724930299076-3907722234400170517?l=sommercode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sommercode.blogspot.com/feeds/3907722234400170517/comments/default' title='Legg inn kommentarer'/><link rel='replies' type='text/html' href='http://sommercode.blogspot.com/2009/11/wickedpdf.html#comment-form' title='0 Kommentarer'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/3907722234400170517'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/3907722234400170517'/><link rel='alternate' type='text/html' href='http://sommercode.blogspot.com/2009/11/wickedpdf.html' title='wicked_pdf'/><author><name>the silent reader</name><uri>http://www.blogger.com/profile/03513553909545357428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6087941724930299076.post-8624772759574758960</id><published>2009-09-27T08:18:00.000-07:00</published><updated>2009-09-27T10:47:08.479-07:00</updated><title type='text'>Linkparser and linkgrammar on Mac OS X Leopard</title><content type='html'>After some hours struggling with installationproblems I finally figured this out today. Installing &lt;a href="http://deveiate.org/projects/Ruby-LinkParser/"&gt;Ruby Linkparser&lt;/a&gt; on Snow Leo was a breeze, but since my server workds on OSX Leopard I had to work out a way to make the installation work on that version as well. Somehow linkparser did not find the link grammar library. Following the instructions on the linkparser page, the solution was to do the following line instead of the bottom one in the instructions:&lt;br /&gt;&lt;br /&gt;ARCHFLAGS="-arch i386" sudo gem install linkparser-1.0.5.gem -- --with-link-grammar-dir=/usr/local/lib&lt;br /&gt;&lt;br /&gt;adding the option of "with-link-grammar-dir" to the gem install instead of the rake. . . &lt;br /&gt;&lt;br /&gt;This works with version 1.0.5, and grammar version 4.6.2&lt;br /&gt;&lt;br /&gt;http://deveiate.org/code/Linguistics/&lt;br /&gt;&lt;br /&gt;http://deveiate.org/projects/Ruby-LinkParser&lt;br /&gt;&lt;br /&gt;http://www.abisource.com/projects/link-grammar/#download&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6087941724930299076-8624772759574758960?l=sommercode.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sommercode.blogspot.com/feeds/8624772759574758960/comments/default' title='Legg inn kommentarer'/><link rel='replies' type='text/html' href='http://sommercode.blogspot.com/2009/09/linkparser-and-linkgrammar-on-mac-os-x.html#comment-form' title='0 Kommentarer'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/8624772759574758960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6087941724930299076/posts/default/8624772759574758960'/><link rel='alternate' type='text/html' href='http://sommercode.blogspot.com/2009/09/linkparser-and-linkgrammar-on-mac-os-x.html' title='Linkparser and linkgrammar on Mac OS X Leopard'/><author><name>the silent reader</name><uri>http://www.blogger.com/profile/03513553909545357428</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
