Bis vor kurzem war ich noch fest entschlossen, Web Photo Management Projekt Zappr endgültig zu schliessen, da sich eigentlcih nie wirklich jemand dafür interessiert hat - bis vor kurzem. Aber heute morgen bin ich aufgewacht und dachte mir, warum eigentlich schliessen? Genausogut kann ich es auch als Open-Source projekt weiterführen. Gesagt getan, also habe ich angefangen alles umzustellen, meine kleine ToendaTools DLL rauszunehmen - die eine kommerzielle Lizenz hat, die GNU Public Lizenz 3 einzubauen und so langsam alles zu einem Projekt umzubauen, in dem es keine Hosting-Beschränkungen gibt und an dem jeder mitarbeiten kann.
Nach einiger Recherche bin ich sogar zu dem Schluss gekommen, das Zappr sogar das Weltweit erste
Open-Source Online Photo Community Projekt ist.
Jeder der Interesse an der Mitarbeit hat, kann sich direkt an mich wenden (einfach eine EMail schreiben).
Link: http://code.google.com/p/zappr/ (ein Google Account ist notwendig).
public bool IsAlphaNumericString(string strAlphanum) {
System.Text.RegularExpressions.Regex pattern = new System.Text.RegularExpressions.Regex(@”^[A-Za-z0-9]+$”);
return pattern.IsMatch(strAlphanum.Trim());
}
public bool IsNumeric(string strAlphanum) {
System.Text.RegularExpressions.Regex pattern = new System.Text.RegularExpressions.Regex(@”^[0-9]+$”);
return pattern.IsMatch(strAlphanum.Trim());
}
Soeben habe ich mein neues Projekt veröffentlicht: Das freie jobportal JobLight.eu.
Hier können sich Arbeitgeber kostenlos anmelden und Jobanzeigen bereitstellen und Arbeitnehmer können ihre Bewerbungen und Lebensläufe verwalten. Über die Management Software kann sich Online per Formular dann auf die anzeigen beworben werden.
Link: JobLight.eu
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;
}
I have released y new version of my small and simple C# editor MonoPad. It includes a startscript to start the programm with arguments using the “MonoPad %@” command.
You can find the download at sourceforge and on my files section.
So, i have uploaded the first open version of the simple C# editor MonoPad. You can download it from Sourceforge.
Remember it is early version and i have something to do for it.