open source

Open source madness - Using Git to version your Gimp sourced custom Twitter page

What does Gimp have to do with Twitter? If you haven't already, first of all see Open source madness - Customizing my Twitter page with Gimp.

Now, isn't this overkill, you may ask, using Git to version graphic design work?

Well, not really. The whole idea of using Gimp is to have a kind of source file, which then generates your Twitter background. Then, say you want to go back to a previous version, if you are using any kind of version control system, you can go back in the time machine and generate from there. We'll use Git.

Getting started

Open up a terminal on your working directory. Perform the following commands:

Open source madness - Customizing my Twitter page with Gimp

Now that my book is out more than one Twitter intoxicated colleague has instructed me as to power twitter-mastership, and that I must replace my tired old Twitter offerings.

I searched around and came up with the following procedure, which worked for me on my Ubuntu laptop like a charm, using all Open Source tools.

Openbravo very cool open source ERP - but configure domain for tomcat before running on a network

Came highly recommended, looks very cool indeed for small and medium business ERP solution... Not a wealth of "newbie" info, but a very cool almost trouble free installation guide makes installation (Java, Ant, Postgres or Oracle, Tomcat -- this is no lightweight) a snap (pretty much) for various Linux distributions:

http://wiki.openbravo.com/wiki/Openbravo_Command_Line_Installation

If you encounter problems, the doctor is in...

Now, when you get it up and running on some old ubuntu box in the corner of the room, and you want to access it not from localhost ( http://localhost:8080/openbravo for most distribs, but http://localhost:8180/openbravo for us Debian/Ubuntu enthusiasts, because of how Tomcat is installed on these distributions) but as its box name on the local network... lo and behold, no images, no css, no login...

What good is an ERP solution you cannot see on the intranet?

After rummaging around in the various directories, I went in to /var/lib/tomcat.5.5/webapps/openbravo/WEB-INF/web.xml, and on line 57 replaced param "ReplaceWith":

<param-name>ReplaceWith</param-name>
 
<param-value>http://localhost:8180/openbravo/web</param-value>

Moodle module for Drupal 5.0

This is in reference to the Moodle module for Drupal 4.7.4 . Basically, if you configure Moodle to authenticate users from an external database, and that database is the Drupal database, you can seamlessly invoke Moodle in an iframe with automatic login from Drupal.

I made some quick modifications to get this module working for Drupal 5.0 beta. This is a tarball of the module actually working.

I find that relative URL's for the (possibly local) moodle installation do not work, and require a full http://... URL.

I have attached the file to this entry. AS IS, folks, no guarantees; and I am hosting it as a temporary measure until better Drupal/Moodle integration is possible.

Git and Cogito on Ubuntu

In Synaptic I installed cogito (and therefore git), and gitk (gui).

I'm going to follow the advice on the Git Cogito page:

If you want to start to use Git and are considering Cogito, the best way to go about it is to first learn Cogito, then pick up Git commands if you need to do something extraordinary.

For quick introduction to Cogito, follow the Git Crash Courses - they are presenting Cogito commands.

So I cd'd to my project dir and did:

cg init 

This is the equivalent in svn to both creating the repository (which is now local!!! although I can "push" my stuff to a centralized directory somewhere) and doing the initial import. I make the initial comment, save the file and exit).

Then I made a change in a binary document file, and did:

cg commit

Typed in "modifiqué sección 3.6 Ambientes del Usuario" and saved and exited. Then saw my changes:

Syndicate content