<?xml version="1.0" encoding="UTF-8"?><rss version="0.92">
<channel>
	<title>MoMolog</title>
	<link>http://momolog.info</link>
	<description>MoMolog aus Berlin stellt sich vor. Projekte, Ideen, Referenzen.</description>
	<lastBuildDate>Sat, 21 Jan 2012 12:35:24 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	<!-- generator="WordPress/3.1.2" -->

	<item>
		<title>Saving local text files to S3 using paperclip</title>
		<description><![CDATA[Sometimes you need to save a locally created file to S3 instead of an uploaded file, as is the standard. Here is how: has_attached_file :tagged_text_file, STORAGE_OPTIONS.merge({ :processors => [] }) def save_tagged_text_file file = File.open("#{RAILS_ROOT}/tmp/tagged_text_#{id}.txt", 'w+') file]]></description>
		<link>http://momolog.info/2011/12/02/saving-local-text-files-to-s3-using-paperclip/</link>
			</item>
	<item>
		<title>Connecting to redis via SSH tunneling</title>
		<description><![CDATA[SSH tunneling is, of course, useful for a ton of services, but I happened to stumble upon it, when I wanted to connect to a remote redis server. If you have a redis server running on , you can easily connect to it (given you have ssh access to it, of course): ssh -L 9999:localhost:6379 [...]]]></description>
		<link>http://momolog.info/2011/12/02/connect-to-redis-via-ssh-tunneling/</link>
			</item>
	<item>
		<title>Push local branch to specific heroku app</title>
		<description><![CDATA[You use two heroku apps as staging and production for your project. You added both as git remotes, e.g. &#8220;production&#8221; and &#8220;staging&#8221;. Now you want to push your local branch &#8220;poster&#8221; to remote &#8220;staging&#8221;, use git push staging poster:master Note, that you can only push to &#8220;master&#8221; on herokus side. This is just git syntax, [...]]]></description>
		<link>http://momolog.info/2011/11/28/push-local-branch-to-specific-heroku-app/</link>
			</item>
	<item>
		<title>Ruby: map Array to Hash</title>
		<description><![CDATA[Sometimes you may wish to map an Array to a Hash in Ruby, like say, you got the output of I18n.available_locales locales = [:en, :de, :fr] and want to transform that into a Hash to fill a select element, like so: [:en => 'EN', :de => 'DE', :fr => 'FR'] How do you do that [...]]]></description>
		<link>http://momolog.info/2010/10/07/ruby-map-array-to-hash/</link>
			</item>
	<item>
		<title>Copying Files between S3 buckets</title>
		<description><![CDATA[Building on this article here is a simple ruby script, that copies files between two buckets of the same S3 account, omitting files already present (by name). This variant adds a list of path prefixes, so you can selectively copy only certain directories of your buckets. Furthermore it copies the original buckets ACLs for each [...]]]></description>
		<link>http://momolog.info/2010/07/08/copying-files-between-s3-buckets/</link>
			</item>
	<item>
		<title>MomoFlow</title>
		<description><![CDATA[Coverflow has become a de facto visualization standard for the presentation of collections of images, be it covers or portraits. There are a number of implementations for usage on web pages (e.g. this one) but the usable ones require Adobes Flash and thus won&#8217;t run on the iPhone. When looking for HTML5 canvas based implementations [...]]]></description>
		<link>http://momolog.info/2009/11/28/momoflow/</link>
			</item>
	<item>
		<title>MySQL BEFORE INSERT trigger as check constraint</title>
		<description><![CDATA[Since MySQL does neither have real check constraints nor a way to raise an exception in a stored procedure, we found it not instantly obvious, how we could *reject* a certain row on insert, based on a certain condition. A nice way we found was to set the value in question to NULL, based on [...]]]></description>
		<link>http://momolog.info/2009/10/21/mysql-before-insert-trigger-as-check-constraint/</link>
			</item>
	<item>
		<title>Vor kurzem dazugelernt:</title>
		<description><![CDATA[Suche nach Wort unter dem Cursor in vim: #. jssh ist eine JavaScript Shell, die den Firefox per Port 9997 fernsteuerbar macht. Download z.B. hier. y erzeugt einen YAML dump auf der Rails console, mehr dazu hier. =3D ist ein escaptes &#8220;=&#8221; in quoted_printable. sudo /usr/libexec/locate.updatedb aktualisiert unter MacOSX sofort die locate Datenbank. rake db:migrate:redo [...]]]></description>
		<link>http://momolog.info/2009/10/18/vor-kurzem-dazugelernt/</link>
			</item>
	<item>
		<title>MacOSX Boot-Tastenkombinationen: single user, verbose, safe</title>
		<description><![CDATA[In den single user mode (root shell) starten, beim Neustart: [CMS] s In den verbose mode (boot log) starten: [CMD] v In den safe mode (nur core kexts) starten: [SHIFT]]]></description>
		<link>http://momolog.info/2009/10/01/single-user-vs-verbose-vs-safe/</link>
			</item>
	<item>
		<title>Javascript function names</title>
		<description><![CDATA[Javascript allows naming and assigning functions at the same time like: var vname = function fname() {} The function name fname is available only inside the function as a local variable: var vname = function fname(){ console.log(typeof vname); // function console.log(typeof fname); // function } console.log(typeof vname); // function console.log(typeof fname); // undefined If we [...]]]></description>
		<link>http://momolog.info/2009/09/04/javascript-function-names/</link>
			</item>
</channel>
</rss>

