<?xml version="1.0" encoding="UTF-8"?><!-- generator="WordPress/2.5.1" -->
<rss version="0.92">
<channel>
	<title>Guy Rutenberg</title>
	<link>http://www.guyrutenberg.com</link>
	<description>free-software tutorial, tips and projects</description>
	<lastBuildDate>Wed, 07 May 2008 08:15:52 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>WordPress Backup Script</title>
		<description><![CDATA[This is a small script I&#8217;ve written to automate my server-side backups of my blogs. It creates a backup of both the database and the actual WordPress files.

#!/bin/bash
&#160;
# (C) 2008 Guy Rutenberg - http://www.guyrutenberg.com
# This is a script that creates backups of blogs.
&#160;
DB_NAME=guy_blog
DB_USER=guy_root
DB_PASS=****
DB_HOST=localhost
&#160;
#no trailing slash
BLOG_DIR=/home/guyru/guyrutenberg.com
BACKUP_DIR=/home/guyru/backups
&#160;
&#160;
echo -n &#34;dumping database... &#34;
mysqldump --user=$&#123;DB_USER&#125;&#124;> --password=$&#123;DB_PASS&#125;&#124;> --host=$&#123;DB_HOST&#125;&#124;> $&#123;DB_NAME&#125;&#124;> \
 &#124; [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/05/07/wordpress-backup-script/</link>
			</item>
	<item>
		<title>spass 1.1 - Secure Password Generator</title>
		<description><![CDATA[This is a new version of my /dev/random based secure password generator - spass. The new version doesn&#8217;t have new features, it&#8217;s mainly a bug-fix release. The package now uses autotools, which means it has the standard configure script and makefile. I also fixed some typos in the help message. Overall the new version doesn&#8217;t [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/05/04/spass-11-secure-password-generator/</link>
			</item>
	<item>
		<title>mctext 0.2 - A Markov Chain Text Generator</title>
		<description><![CDATA[This is the second release of my Markov Chain text generator - mctext. This text generator takes existing sample text, and generates a new text using Markov Chains.
The main new thing in the version in that it allows the users to specify via the command line how many words should be considered when generating the [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/30/mctext-02-a-markov-chain-text-generator/</link>
			</item>
	<item>
		<title>Pull vs. Push MVC Architecture</title>
		<description><![CDATA[I intended to write this post couple of months ago, when I worked on a pull based MVC framework for some site. Most web-developers are acquainted with the MVC architecture and almost all the major web-frameworks uses this concept, including Ruby on Rails, CakePHP, Django, Symfony and others. So what is MVC and what&#8217;s the [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/26/pull-vs-push-mvc-architecture/</link>
			</item>
	<item>
		<title>Equality-at and Relation-at LaTeX Macros.</title>
		<description><![CDATA[These are two useful LaTeX macros for creating equality-at and (the more general) relation-at signs. These macros depend on the mathtools package. As with all other macros you should add them to you preamble in order to use.
The general macro is the \relat. It takes two arguments, the relation and an expression where the relation [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/19/equality-at-and-relation-at-latex-macros/</link>
			</item>
	<item>
		<title>A Greasemonkey Fix to the Top Menu in Sheilta (Open University)</title>
		<description><![CDATA[Following comments in Fixing the Home Link in the Telem System (Open U) I&#8217;ve decided to fix the top bar links in the Sheilta system too.
The links in the top bar are javascript links that open in a new window when clicked. My Greasemonkey script turns them into regular links that you can open in [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/14/a-greasemonkey-fix-to-the-top-menu-in-sheilta-open-university/</link>
			</item>
	<item>
		<title>Notes About Using amsmath split Enviroment In Hebrew Documents</title>
		<description><![CDATA[Recently I&#8217;ve worked on a Hebrew document in LaTeX and wanted to use the split environment to typeset some multiline formula. The document which compiled just fine till that point, failed to compile with the following error:

Package amsmath Error: \begin{split} won't work here.


I was using LyX, so I&#8217;ve assumed that it would generate the correct [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/09/notes-about-using-amsmath-split-enviroment-in-hebrew-documents/</link>
			</item>
	<item>
		<title>Hidden Spam Links in Wordpress</title>
		<description><![CDATA[About a week ago, I&#8217;ve decided to look at the HTML source of my blog. I was in total shock to find a spam link hidden there. This is how it looked:

&#60;!-- ocadia theme credits, downloaded from wpthemesfree.com --&#62;
&#60;u id=&#34;ocadia&#34; style=&#34;display: none&#34;&#62;Buy some &#60;a href=&#34;http://detoxbuddy.com/categories/191.html&#34;&#62;marijuana drug testing&#60;/a&#62; products&#60;/u&#62;

Ocadia is the name of theme I&#8217;m using, [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/04/05/hidden-spam-links-in-wordpress/</link>
			</item>
	<item>
		<title>Vim Syntax Highlighting For Google Gadgets</title>
		<description><![CDATA[I started developing Google Gadgets for LabPixies, so one of the first thing I looked for was syntax highlighting. Vim recognized the gadgets&#8217; code as XML file (which is correct), but I wanted also HTML syntax highlighting for the HTML part. So after searching a bit for some existing solution, I found one, but I [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/03/28/vim-syntax-highlighting-for-google-gadgets/</link>
			</item>
	<item>
		<title>Scanning Documents Written in Blue Ink - biscan</title>
		<description><![CDATA[After writing the post on converting PNMs to DjVu I&#8217;ve ran into some trouble scanning documents written in blue ink. The problem: XSane didn&#8217;t allow me to set the threshold for converting the scanned image to line-art (B&#038;W). So, I tried scanning the document in grayscale and in color and convert it afterwards to bitonal [...]]]></description>
		<link>http://www.guyrutenberg.com/2008/03/19/scanning-documents-written-in-blue-ink-biscan/</link>
			</item>
</channel>
</rss>
