<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BASIC TRADING MULTIMEDIA &#187; howto</title>
	<atom:link href="http://www.basictrading.biz/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.basictrading.biz</link>
	<description>Information Technology and Design</description>
	<lastBuildDate>Fri, 30 Jul 2010 14:38:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to create ISO on Mac OSX</title>
		<link>http://www.basictrading.biz/2008/04/how-to-create-iso-on-mac-osx/</link>
		<comments>http://www.basictrading.biz/2008/04/how-to-create-iso-on-mac-osx/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 13:26:25 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[burn]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Osx]]></category>
		<category><![CDATA[utils]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/04/10/how-to-create-iso-on-mac-osx/</guid>
		<description><![CDATA[I&#8217;ve got to create an ISO file of a directory (ex: yourDirectory) on OSX system. I didn&#8217;t want to install 3rd part software to do it so I discoverd this trick: open a terminal go to your location cd /Desktop type hdiutil makehybrid -o yourIsoName.iso -iso -joliet yourDirectory Done!]]></description>
			<content:encoded><![CDATA[<p><img alt="icon" style="margin-top: 3.5px;" src="http://www.iconfinder.net/iconlib/nuove/128x128/devices/burner.png" />I&#8217;ve got to create an ISO file of a directory (ex: yourDirectory) on OSX system. I didn&#8217;t want to install 3rd part software to do it so I discoverd this trick:
<ul>
<li>open a terminal</li>
<li>go to your location 
<pre>cd /Desktop</pre>
</li>
<li>type</li>
<li>
<pre>hdiutil makehybrid -o yourIsoName.iso -iso -joliet yourDirectory</pre>
</li>
<li>Done!</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/04/how-to-create-iso-on-mac-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Aptana Studio RedRails Error</title>
		<link>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/</link>
		<comments>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 11:04:30 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editors]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[Software Libero]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/02/27/aptana-studio-redrails-error/</guid>
		<description><![CDATA[I was curious to try an IDE on Osx for Rails development and APTANA STUDIO seems to be the right product. (I do use TextMate as editor) Aptana Studio is fully installed on my laptop but, when I try to install the RedRails plugin, it returns this error: Requested operation cannot be performed because it <a href="http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/">Read More</a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.aptana.com/system/files/images/Picture8_thumb.png" align="left" height="181" width="250" />I was curious to try an IDE on Osx for Rails development and <a href="http://www.aptana.com/" target="_blank">APTANA STUDIO</a> seems to be the right product. (I do use TextMate as editor)</p>
<p>Aptana Studio is fully installed on my laptop but, when I try to install the RedRails plugin, it returns this error:</p>
<p>Requested operation cannot be performed because it would invalidate the current configuration. See details for more information.</p>
<pre></pre>
<pre>Ruby Mylyn Connector Feature (Optional) (0.9.3.6479) requires feature
"org.eclipse.mylyn.context_feature (2.0.0.v20070628-1000)", or later version.</pre>
<p><img src="http://www.aptana.com/images/products/rails/rails_home.png" height="50" width="48" /></p>
<p>The solution: <a href="http://support.aptana.com/issues/browse/ROR-156" target="_blank">http://support.aptana.com/issues/browse/ROR-156</a></p>
<p>The most important steps are:</p>
<ol>
<li>Went to Help=&gt;Updates=&gt;Find and Install. Installed three Eclipse updates that the system found. Installation of updates worked ok.</li>
<li>When the update window appears with RadRails updates, expand the tree and uncheck the box next to the Ruby Mylyn Connector Feature. This is an optional extension for users of Mylyn. You don&#8217;t need it, so you can safely uncheck the box and install.</li>
</ol>
<p>This seems to works either on Windows, Osx and Linux</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/02/aptana-studio-redrails-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite in Ruby on Rails su OSX</title>
		<link>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/</link>
		<comments>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 17:25:20 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[Fragments]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[RoR]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/02/08/sqlite-in-ruby-on-rails-su-osx/</guid>
		<description><![CDATA[Oggi il mio primo esperimento con SQLite su un progetto rails. Va oremesso che spulciando documentazione ho visto che SQLite sarà integrato come database di default per rails mettendo mysql come scelta opzionale. Per prima cosa è necessario installare la gemma sqlite3 sudo gem install sqlite3-ruby Poi si deve configurare il proprio file database.yml development: <a href="http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/">Read More</a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.sqlite.org/index.html"><img src="http://www.sqlite.org/images/SQLite.gif" class="logo" alt="SQLite Logo" border="0" /></a></p>
<p>Oggi il mio primo esperimento con SQLite su un progetto rails. Va oremesso che spulciando documentazione ho visto che SQLite sarà integrato come database di default per rails mettendo mysql come scelta opzionale.<br />
Per prima cosa è necessario installare la gemma sqlite3</p>
<blockquote>
<pre> sudo gem install sqlite3-ruby</pre>
</blockquote>
<p>Poi si deve configurare il proprio file database.yml</p>
<pre>development:</pre>
<pre>  adapter: sqlite3</pre>
<pre>  dbfile: dev.db</pre>
<pre>
test:</pre>
<pre>  adapter: sqlite</pre>
<pre>  dbfile: test.db</pre>
<pre>
production:</pre>
<pre>  adapter: sqlite</pre>
<pre>  dbfile: prod.db</pre>
<p>A questo punto basta sotto lib/task/ un rake db.rake tipo questo:</p>
<pre>namespace :db do</pre>
<pre>  desc 'Inserire i dati default'</pre>
<pre>  task :install =&gt; [:environment, 'db:migrate'] do |t|</pre>
<pre>    sDbPath = "#{ ENV['RAILS_ROOT'] }/db"</pre>
<pre>    h = YAML.load_file("#{ ENV['RAILS_ROOT'] }/config/database.yml")</pre>
<pre>    hConnection = h[ENV['RAILS_ENV']]</pre>
<pre>
     puts "-----"</pre>
<pre>     puts "eseguo sqlite3 ..."</pre>
<pre>    `sqlite3 -echo '#{ sDbPath }/#{ hConnection['dbfile'] }' &lt; '#{ sDbPath }/i_miei_dati.sql'`</pre>
<pre>  end</pre>
<pre>end</pre>
<p>Semplice, efficace, veloce!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/02/sqlite-in-ruby-on-rails-su-osx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>uninitialized constant ActionMailer</title>
		<link>http://www.basictrading.biz/2008/01/uninitialized-constant-actionmailer/</link>
		<comments>http://www.basictrading.biz/2008/01/uninitialized-constant-actionmailer/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 00:11:16 +0000</pubDate>
		<dc:creator>Matteo Papadopoulos</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[actionmailer]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.basictrading.biz/2008/01/25/uninitialized-constant-actionmailer/</guid>
		<description><![CDATA[Sto programmando un sito multilingua che invia delle emial personalizzate. Per fare questo uso ActionMailer::Base. All&#8217;interno del view che risiede sotto app/views/notifier/mia_view.rhtml avevo necessità di inserire delle costanti definite in una libreria. Ho perso un po&#8217; di neuroni dietro ad un problema di uninitialized constant per cui ho anche creduto che sotto Notifier non fossero <a href="http://www.basictrading.biz/2008/01/uninitialized-constant-actionmailer/">Read More</a>]]></description>
			<content:encoded><![CDATA[<p>Sto programmando un sito multilingua che invia delle emial personalizzate. Per fare questo uso <a href="http://wiki.rubyonrails.org/rails/pages/ActionMailer" target="_blank">ActionMailer::Base</a>.</p>
<p>All&#8217;interno del view che risiede sotto app/views/notifier/mia_view.rhtml avevo necessità di inserire delle costanti definite in una libreria. Ho perso un po&#8217; di neuroni dietro ad un problema di uninitialized constant per cui ho anche creduto che sotto Notifier non fossero visibili&#8230; invece è più semplice del previsto: basta mettere dentro environment.rb la funzione di inizializzazione di action mailer (  ActionMailer::Base.smtp_settings = {} ) alla fine del document, dopo l&#8217;inizializzazioen di rails (Rails::Initializer.run do |config|)</p>
<p>E tutto è disponibile.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.basictrading.biz/2008/01/uninitialized-constant-actionmailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
