JavaScript On ajax star rater using mootools
by Jeremy Weiskotten,
November 21, 2007 20:53
No, you shouldn't need to.
...
JavaScript On ajax star rater using mootools
by blank714.myopenid.com,
November 21, 2007 18:41
i couldnt get any of those ...
Ruby On managable test method
by Jeremy Weiskotten,
November 21, 2007 18:23
You could move the preparat...
<script type="text/javascript">
function addRatingClickEvent(idx) {
...
JavaScript On ajax star rater using mootools
by Jeremy Weiskotten,
November 21, 2007 18:20
Slight changes to the previ...
<script type="text/javascript">
window.addEvent('domready', function()
{
...
JavaScript On ajax star rater using mootools
by ThomW,
November 21, 2007 13:57
You could definitely save s...
If you use this code, you can no longer insert those strings into a DB, unless you want corrupted data, or unless you manually unescape them before doing so. A nicer approach is to wrap the strings in a class, like SecureString, and have methods like toHtml(), toSql(), getRaw(), etc.
GridBagConstraints c = new GridBagConstraints(); c.insets.bottom = 2; c.insets.top = 2; ...
Java On Swing GridBagLayout in calc...
by Elij,
November 21, 2007 05:08
I've demonstrated using fal...
curl http://www.cnn.com | perl -ne 'm/>([^<>]*?)<\// && print$1."\n"' | sed -e '/^$/d'
Perl On Perl one-liner to extract x...
by griflet,
November 20, 2007 18:00
Tested. Works. I also added...
PHP On FLAC -> Multiple File Ty...
by wegosublime,
November 20, 2007 16:52
Thanks for that. The primar...
Ruby On Random number generator
by macournoyer,
November 19, 2007 19:57
Here's a fun intro to Ruby ...
Ruby On Random number generator
by dsphunxion,
November 19, 2007 18:59
Care to share any tutorials...
Ruby On Random number generator
by macournoyer,
November 19, 2007 18:09
sorry I forgot to put the p...
Ruby On Random number generator
by dsphunxion,
November 19, 2007 17:17
I tried from a normal bash ...
ruby -e "puts (1..500).map {rand(10 ** 16).to_s.rjust(16,'0')}"
Ruby On Random number generator
by macournoyer,
November 19, 2007 15:14
You can open an interactive...
Ruby On Random number generator
by dsphunxion,
November 19, 2007 13:57
macournoyer: how exactly do...
class Time def to_week_range (beginning_of_week..((self+7.days).beginning_of_week)) ...
Ruby On Finding all in a date range...
by Max Lapshin,
November 19, 2007 10:03
perhaps use to_s(:db)
def tag(name, attributes = {}, &block)
attributes = attributes.to_a.collect { |a| "#{a.first}=\"#{a.last}\""}.join(' ')
inner = block ? "\n\t#{block.call}\n" : ""
...
Ruby On Iterated printing in the he...
by Ben Burkert,
November 18, 2007 23:06
I like to use nested blocks...
def place_radio_button_row(options={})
returning html = "<tr>" do
html << "<td>#{options[:caption]}</td><td></td>"
...
Ruby On Iterated printing in the he...
by rpheath,
November 18, 2007 04:59
I don't believe you need to...
class String def replace_placeholders(placeholders) ...
Ruby On Simple Text Replacement
by Scott Patten,
November 17, 2007 06:56
Jason, good call on getting...

@ Oli and Daniel: I think, ...