For the people using cydia

There are some in cydia directly, but those two tend to give you some good stuff (mxtube) too :D

Just copy/paste this when SSH'ed to your iPhone

echo "deb http://apt.theiphoneproject.org/ stable main"; > /etc/apt/sources.list.d/iphoneproject.list
echo "deb http://iphone.sleepers.net/repofiles/cydia/ stable main"; > /etc/apt/sources.list.d/sleepers.list

As far as I'm concerned, the semester starts as soon as the IT has switched my Usergroup :)
And guess what happened tonight…

If you ever felt the urge to compile megahal in OSX, here is what you have to do:

  1. Get the MegaHAL source (—>over here on sourceforge)
  2. unzip it
  3. replace every include of malloc.h with the full path (easy: perl -pi -w -e ‘s/\#include /\#include <\/usr\/include\/malloc\/malloc.h>/g;' megahal-9.1.1/*.c )
  4. cd megahal-9.1.1
  5. rm -rf Megahal/
  6. make megahal
And you're done :)

Jay Freeman aka Saurik has managed to port the Debian APT to the iPhone.

Complete with a proper BSD Subsystem (made by core) and a graphical Interface to apt called Cydia.
Remember: If it does the same, open source is always better than closed source :)
To install, just add the source http://apptapp.saurik.com/ to the "old"; installer.app.
What will be done during the installation:
  • removal of the older files from BSD Subsystem
  • reorganization of your filesystem to free space
  • installation of Cydia and a base Telesphoreo

He also ported better working versions of e.g. Java/Python/Ruby to the phone!
Read the stuff on his page!

apt_snap_193230.jpg

require "xmlrpc/client";

server  = XMLRPC::Client.new("marc-seeger.de";, "/cgi-bin/mt/mt-xmlrpc.cgi";)
content = { :title => ‘Testpost using ruby and xml-rpc', :description => ‘hello world' }
result  = server.call("metaWeblog.newPost";, 5, "USER";, "PASSWORD";, content, true)


works like a charm :)

Just to make some things clear:
/cgi-bin/mt/mt-xmlrpc.cgi   <— movable type xmlrpc file
5                                     <— my blog id (I could see it in my admin interfaces URL)

Good sources to look at:
http://crafterm.net/blog/articles/2006/09/22/blog-content-migration-from-movabletype-to-typo-using-xml-rpc
http://www.xmlrpc.com/metaWeblogApi
http://www.agileprogrammer.com/dotnetguy/articles/BlogImporterInRuby.aspx

A good piece of source concerning the upload of pictures using "newMediaObject";:
http://www.koders.com/ruby/fid677AC3CD05E375C051C4E6153FA6D0711B3DEB30.aspx?s=ruby+cgi.#L637