Tag Archive for 'English'

Page 4 of 34

Talking about Ebuntu

Some months ago i've registered the ebuntu.org domain as i think, after Ubuntu with GNOME, Kubuntu with KDE, Xubuntu with Xfce and the ELive CD, we, the Enlightenment team, could start the work on a Enlightenment based Ubuntu distribution.
Today i'va got a email from a french e team member, that they have a Alpha version finished of a Enlightenment based Ubuntu distribution.
This evening i'll chat with that french men talking about the ebuntu.org domain and the project webpage. We will see what comes and what we can do.

flattr this!

toendaCMS.com opens his doors

I have created a new toendaCMS community webpage to provide a better platform and communication point for all toendaCMS fans. We have now only one place to publish themes, components and the CMS itself.
I'll change the layout and write better content, but at this time it's ok for a first look.
If you want to help me out, write me an email!
Go to this site !

flattr this!

Make a sandwich

sandwich

(from xkcd.com)

flattr this!

Code Snippet – C#: Generate square thumbnails

To generate a square thumbnail in c#, use this code:

public Bitmap Generate75x75Pixel(Bitmap image) {
    if(image == null)
    throw new ArgumentNullException("image");
    Bitmap bmp = null;
    Bitmap crapped = null;
    int x = 0, y = 0;
    double prop = 0;
    if(image.Width > 75) {
        // compute proportation
        prop = (double)image.Width / (double)image.Height;
        if(image.Width > image.Height) {
            x = (int)Math.Round(75 * prop, 0);
            y = 75;
        }
        else {
            x = 75;
            y = (int)Math.Round(75 / prop, 0);
        }
        bmp = new Bitmap((Image)image, new Size(x, y));
        crapped = new Bitmap(75, 75);
        Graphics g = Graphics.FromImage(crapped);
        g.DrawImage(bmp,
            new Rectangle(0, 0, 75, 75),
            new Rectangle(0, 0, 75, 75),
            GraphicsUnit.Pixel
        );
        bmp = crapped;
    }
    else {
        crapped = image;
    }
    return bmp;
}

flattr this!

toendaCMS 1.0.7 Bugfixupdate

With this version i have fixed some bugs and at some new features. Here's a small list of this features:

  • phpMailer for the newsletter
  • The media manager can now add images from additional folders into your news and documents
  • The tinyMCE WYSIWYG Editor can now integrate Flash files to your news and documents

This version is really the last release on the 1.0 release line.
You can find the download on my company's website (link ).

flattr this!