automatic update of WordPress with svn

My automatic upgrade had last night a bit of a problem. A change which required user-interaction was the problem. The following ruby code deal with this problem: —- #!ruby -W0 @doc = ‘http://svn.automattic.com/wordpress/tags/’ @pathtoupdate = "/www/www.web-dreamer.de/wordpress/trunk" #puts @doc @tags = … Continue reading

Posted in Allgemein, Joes Tests | Tagged , , , | Leave a comment

cron or auto-update of wordpress

i just thought about my perl programm and thought it’s a bit awkward if you need libraries.  My new solution which is much more stable and in ruby: #!ruby -W0 #SVN Path where to upgrade/switch from @doc = ‘http://svn.automattic.com/wordpress/tags/’ #path … Continue reading

Posted in Allgemein | Tagged , , , | Leave a comment

Ruby: Anonyme Methode generieren und ausführen

Ich spiele ja im moment ein bisschen mit ruby rum. Ist schon ganz nett… =begin Dies ist ein Test ob Ruby Code generieren kann und man diesen dann spaeter ausfuehren kann. run erwartet eine array mit ruby befehlen diese werden … Continue reading

Posted in Allgemein, Joes Tests | Tagged , , , | Leave a comment

ruby print hexadecimals / or howto format a ruby string

Finally i got the time to play around a little with ruby. I just want a little programm to calculate between binary, octal and hexadecimal. But it was quite hard to find the correct funtions (maybe i just used the … Continue reading

Posted in Allgemein, Just Thoughts | Tagged , , | Leave a comment