Author Archive

Finally ! What you see is what you mean

Sunday, August 5th, 2007

I was looking for a good and clean editor for one of my customers, and I end up to WYMeditor ! That's the way I like, that's the way I meant !

Add days to a date in javascript

Wednesday, May 30th, 2007

shiftDay = 10 var myDate = new Date(); myDate.setDate(myDate.getUTCDate() + shiftDay) day   = myDate.getUTCDate() month = myDate.getUTCMonth()*1 + 1 year  = myDate.getUTCFullYear() This code is quite easy: shiftDay hold the number of days you want to add, if you need to go backwards you can set it to a negative value. myDate is set to [...]

Rails API with the AJAX flavor

Thursday, May 10th, 2007

http://www.railsbrain.com/

MSSQL | Convert unix timestamp to date

Tuesday, April 24th, 2007

select dateadd(ss, {field_name}, '19700101')

Salone del Mobile | Esterni party

Tuesday, April 24th, 2007

Also in Milano sometime we get good parties, like the Esterni party for the Salone del Mobile 2007.

One more time in Verginate

Sunday, April 8th, 2007

As usual for the whole galley … »»

Ruby on Rails cheat sheet

Thursday, March 15th, 2007

All the commands you need in one page RoR cheat sheet

Get last day of the month with Ruby

Thursday, February 8th, 2007

last_day_of_the_month = (Date.parse(year_to_process + "-" + (month_to_process.to_i + 1).to_s + "-01") – 1).mday().to_s rescue "31" The final rescue is due to catch the error when month_to_process is 12.

Last one

Thursday, January 11th, 2007

My english course has finished in the middle of December but just now I get the time to write the note from the last 2 lessons. So, here we go: I got my signals crossed Ho perso la strada To shuffle Mischiare le carte To deal the cards Dare le carte Card shark Baro Deuce [...]

XUL tools

Thursday, December 7th, 2006

My interest for XUL is groving every day. Today I started to develop a Thunderbird Extension. Nothing special, just want to explore the XUL world. Here some usefull links: Getting started with Extension development Extension Developer's Extension Set of tool to make the extension developing easier and faster provided by Ted Mielczarek. I suggest The [...]

Yes !