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 !
Aug 05, 2007 by simone
No Comments
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 the current date
- At the end we will have the data we need in day, month and year.
- getUTCMonth return the current month shifted back by one (January is 0, February is 1 and so on) that's why we add 1. We multiply the value returned by getUTCMonth by one to cast it to integer.
May 30, 2007 by simone
No Comments
http://www.railsbrain.com/
May 10, 2007 by simone
No Comments
select dateadd(ss, {field_name}, '19700101')
Apr 24, 2007 by simone
Comments (2)
Also in Milano sometime we get good parties, like the Esterni party for the Salone del Mobile 2007.

Esterni party - Salone del mobile 2007
Apr 24, 2007 by simone
No Comments
As usual for the whole galley …
»»
Apr 08, 2007 by simone
No Comments
All the commands you need in one page
Mar 15, 2007 by simone
No Comments
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.
Feb 08, 2007 by simone
Comments (4)
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
- Il due a carte e nei giochi in generale (domino, dadi)
- Suit
- Semi delle carte
- Spades/Hearts/Diamonds/Clubs
- Picche/Cuori/Quadri/Fiori
- Poker face
- Faccia senza espressione
- Garter
- Giarrettiera
- Hit the nail on the head
- Centrare il punto del discorso
- Jack (Australian) | The clap (American & English)
- Il fante
- The jack
- Malattia venerea
- To have a card up the sleeve
- Avere un asso nella manica
- Did you splash your boots ?
- Sei andato al bagno
- For fack sake
- Santo cielo !
- To take something for granted
- Dare qualcosa per scontato !
- To hitch a ride
- Cercare un passaggio
Well that all so far … have good time mates and remember
Some men are searching for the Holy Grail,
but there ain't nothing sweeter then riding the rail.
Jan 11, 2007 by simone
No Comments
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:
Dec 07, 2006 by simone
No Comments