21. Juni 2008 04:10
von crazy-weasel

Just released: mail2blog Extension

Its late.. I need some sleep.. so just a few words:

Have fun with it. Laughing

Mail2Blog Extension v0.1 - 21. June 2008

As every extension it’s released under the Ms-PL

For usage informations, installation notes and so on, take a look into the readme.txt in the zip file…

Later I will create a page for the extension, where I’ll put those informations too, but now I have to go to bed. Laughing

Oh.. and.. I have used this extension several times on this blog and it worked without problems, but the released one is a little bit pimped up.. So there could be some bugs, or other crazy things. Please inform me about weird behaviour. Smile

Mhm.. and you need a current version of BlogEngine.net (at least with this extensionmanager thing..) and it would be fine when you’re able to do some changes to the code of BlogEngine.net. (Reason is explained in the readme file, and here is some explanation too )

And now.. good night. Smile

whoops..I forgot to mention how to write an email to your blog:

Just write a normal email to the configured email address, but some special information in the subject:

[BLOG] *these are tags* #these are categories# ‘i am the author’ “this is the subject of the posting”

The [BLOG] part is needed, but can be configured to some other text. (Called prefix on the configure page) Then you have a tag and a category list. You can specify the author, and the subject. These infos are recognized by the characters surrounding the information. So remember:

* -> surrounds tags
# -> surrounds categories
’ -> surrounds the author name
” -> surrounds the title

None of them are required infos, except the prefix part. ([BLOG] in the example above..)

Update 3. July 2008: Here is the patched core dll to use with the mail2blog extension. It’s the code from the official 1.4 release but with the 2 modifications needed.

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (7) | Kommentar RSSRSS comment feed
 
 
 
 
5. Februar 2008 12:08
von crazy-weasel

Grad gefunden - Datejs

Datejs is an open-source JavaScript Date Library.

Comprehensive, yet simple, stealthy and fast. Datejs has passed all trials and is ready to strike. Datejs doesn’t just parse strings, it slices them cleanly in two.

Datejs

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: ,
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
4. Februar 2008 21:54
von crazy-weasel

JavaScript ist ja schon fein

So, damit ich auch mal wieder was (sinnvolles) Blogge…

Für gewisse Bereiche hab ich ja schon in den letzten Monaten vermehrt JavaScript eingesetzt, und fands recht cool was man damit feines erstellen kann. Das JavaScript im Browser einiges kann, sollte man ja schon wissen. Vorallem seit eine im Web sehr präsente Firma unmengen an Diensten anbietet, welche alle ohne JavaScript nicht in der Form denkbar wären.

Nungut. Seit ein paar Tagen bastel ich eigentlich nur noch an einer JavaScript-Sache rum. Fazit: Einfach cool damit zu basteln. Um mir einiges zu erleichtern greife ich natürlich auf eine kleine Bibliothek zurück.

Anfangs war es gimme doch mittlerweile arbeite ich mit prototype. Der Grund für den Wechsel ist die Verwendung von MonoRail. Könnte mich aber auch an einem JSGenerator für MonoRail versuchen. hmmm

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
23. Dezember 2007 21:48
von crazy-weasel

Rotate Left/Right

Tja.. jetzt ist es mir passiert. Shiften reicht mir nicht, ich brauche ein Rotate! In der .net Klassenbibliothek hab ichs nicht gefunden. Also mal fix selber überlegt und umgesetzt.

public static class Utils
{
	/// <summary>
	/// Rotates the given int value right by the specified number of bits.
	/// </summary>
	/// <param name="number">The integer to rotate</param>
	/// <param name="distance">The number of bits to rotate</param>
	/// <returns>Returns the given int rotated right side by the given distance</returns>
	public static int RotateRight(int i, int distance)
	{
		uint num = (uint)i;
		int length = (sizeof(int) * 8);
		distance = distance % length;
		uint add = num << (length - distance);
		num = num >> distance;
		num = num | add;
		return (int)num;
	}

	/// <summary>
	/// Rotates the given int value left by the specified number of bits.
	/// </summary>
	/// <param name="number">The integer to rotate</param>
	/// <param name="distance">The number of bits to rotate</param>
	/// <returns>Returns the given int rotated left side by the given distance</returns>
	public static int RotateLeft(int i, int distance)
	{
		uint num = (uint)i;
		int length = (sizeof(int) * 8);
		distance = distance % length;
		uint add = num >> (length - distance);
		num = num << distance;
		num = num | add;
		return (int)num;
	}
}

Das ganze ist auch auf dotnet-snippets.de zu bewundern, und zu bewerten. Smile

Bewertung: 5.0 von 1 Benutzern

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
23. Dezember 2007 00:23
von crazy-weasel

Visual Studio 2005 Standard Performance

Hm.. Seit ein paar Tagen habe ich interessante Probleme mit meiner VisualStudio 2005 Installation.

Sie ist noch ziemlich frisch. Erst Anfang Dezember, oder Ende November, habe ich mein System neu aufgesetzt, und eben auch VS neu installiert.

Vor ein paar Tagen hatte ich nun das Problem, dass die Einstellungsdatei CurrentSettings.vsstudio nicht gefunden wurde, obwohl sie an ihrem Platz liegt. Ein setzen der Einstellung hat dieses Problem gelöst. Allerdings habe ich noch ein weiteres merkwürdiges Verhalten.

Es dauert recht lange bis ein Projekt geladen ist, und Speichervorgänge brauchen auch länger als normal. Viel länger sogar. Für kurze Zeit scheint VS überhaupt nicht zu reagieren.

Bin gespannt ob ich rausfinde woran es liegt, oder ob eine Neuinstallation nur zur Lösung dieses recht nervigen Problems verhilft.

Falls jemand eine Idee hat, bitte sagen. Danke =)

Update (23.12. 16:27)

Hab zuerst Erweiterungen deinstalliert. Half nicht.
Visual Studio übers Setup reparieren lassen. Half nicht.
Neu installiert. Einstellungen zurückgesetzt. Half nicht.
Defragmentiert hab ich in der Nacht schon. Half auch nichts.
Hmmmm…

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
17. Dezember 2007 20:25
von crazy-weasel

mail2blog Extension in Arbeit

Arbeite seit gestern Abend an einer mail2blog Extension für BlogEngine.net.

Das ist so ziemlich das einzige Feature das mir abgeht. dasBlog hatte diese Funktion schon als ich began diese Blog-Software zu benutzen, und ich habe sie auch mehrere male benutzt. Alle Einträge der mobile-Kategorie (ausgenommen der Ankündigung vom m600i) wurden von meinem alten Handy (SE v600i) geschrieben.

Habe damals einfach eine MMS an die eingetragene E-Mail Adresse geschickt, und dasBlog hats dann irgendwann abgeholt und ins Blog gestellt.

Zuerst hats nicht ganz funktioniert, weil soweit ich mich erinnern kann war einer der E-Mail Header nicht ganz korrekt, und wurde deswegen nicht erkannt. Das Problem wurde aber schnell behoben, und dem Mobile-Blogging stand nichts mehr im Wege.

In letzter Zeit vermisste ich diese Funktion zunehmends, und gestern rappelte ich mich auf und habe mit der Umsetzung einer solchen Extension begonnen.Mehr...

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
5. Dezember 2007 00:41
von crazy-weasel

Another BlogEngine Extension

Deutschsprachige User aufgepasst! Es folgt Englisch!

Well, it was a long time of nothing here on blog.furred.net, but today I wrote another extension for BlogEngine.net.

It was a quit simple task, because I just used two nice libraries, which are already existing for serveral years.

I had the idea for this extension a few weeks ago, but unfortunately I forgot the name of this libary. lol! But I found it again. Smile

You may ask what the extension is for, and I will answer with two words: wiki-like (one) formatting (two). Yeah. That’s it!

The whole thing works quite fine, even with my syntax highlighter. Before you ask: No, I’m not using TinyMCE or some other wysiwyg editor to write my blog posts. Plain old textarea (or let’s say multiline textbox Wink )

Lets come to the libraries I mentioned.
The first one ist a Markdown library for .net written by Milan Negovan.

And the other one is Smarty Pants. A .NET version comes with Markdown.Net

Please notice:
Original Markdown and SmartyPants © John Gruber
Markdown.NET and SmartyPants.NET © Milan Negovan

The extension will be released when I know if it works with the current version of the engine. I had no time to perform an upgrade.

Update 07.Dec.2007 Today I performed an upgrade to the most recent BlogEngine version from svn, and tested the extension. It worked, so I put the code online. So grab the extension now! Smile

Update 17.Dec.2007 Mh. It seems that nobody is using this extension. Because today I found out, that there was a little mistake in the uploaded version. The text is formatted, but it isn’t replaced, so the original text is written to the user. Download is updated, now it works. Smile

I’m already using it, and yes, this post is written with it.

Here is some demonstration of the features

Heading..

Another heading… <- ellipsis

Oh, it’s a quote!

Nested quotes?

Nested quotes!

harhar
yay?

yay!

Heading..

Another heading… <- ellipsis

Oh, it’s a quote!

Nested quotes?

Nested quotes!

harhar
yay?

yay!

Bewertung: 5.0 von 3 Benutzern

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (3) | Kommentar RSSRSS comment feed
 
 
 
 
15. November 2007 12:28
von crazy-weasel

HAI!

HAI
CAN HAS STDIO?
VISIBLE "HAI WORLD!"
KTHXBYE

Genial *g*

Quelle: lolcode.com

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Tags: ,
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (1) | Kommentar RSSRSS comment feed
 
 
 
 
23. September 2007 18:48
von crazy-weasel

Gimme ECMAScript (JavaScript) Library

Durch Zufall bin ich kürzlich auf eine JavaScript Library gestossen. Bis jetzt schaut sie ganz nett aus, werde sie mal bei meiner aktuellen Tätigkeit verwenden und schauen ob sie sich bewährt.

Gimme

Gimme is a ECMAScript (or Javascript if you prefer) library designed to make working with "everyone's favorite scripting language" fun again!

Es existiert auch eine Promo-Seite mit ein paar Beispielen.

Gib die erste Bewertung ab

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (0) | Kommentar RSSRSS comment feed
 
 
 
 
14. August 2007 15:26
von crazy-weasel

Syntax Highlighting for BlogEngine.net

Österreich Schweiz Deutschland Hallo, mal wieder ausnahmsweise ein englischer Beitrag.. Geht um eine SyntaxHighlighter-Erweiterung für die Blogengine die ich verwende.. Details und Beispiele

Great Britain U.S.A. Hi dear english readers ;)
Today I'm presenting you a syntax highlighting extension for BlogEngine.net.

Details and examples

This is how it can look:

class HelloWorldApp
{
    static void Main()
    {
        System.Console.WriteLine("Hello, world!");
    }
}

Bewertung: 4.2 von 6 Benutzern

  • Currently 4,166667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5
Kick it! | DZone it! | del.icio.us | E-mail | Permalink | Kommentare (10) | Kommentar RSSRSS comment feed
 
 
 
Clicky Web Analytics