-
Last Posts
Last Comments
Also mine
- @ YouTube
- Fix for array_reduce (PHP)
- Fix for ruby-debug-ide (Ruby)
- Plugins for jQuery
- Plugins for WordPress (PHP)
- Project Chili (jQuery)
- Project Postable (JavaScript)
- Project Ship (JavaScript)
- Project XGC 1 (Maths)
- Project XGC 2 (JavaScript)
- Project XGC 3 (Mathematica)
- Project XGC 4 (OEIS)
- Project Zend_Utf8 (PHP)
Regular Expressions
Dismantle Software Patents
The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying. (John Carmack)
Patents protect implementations, not ideas. But in software, an implementation is just the means that expresses the idea.
Software is speech. Speech is free.
Why is not software free?
hi, thanks for creating this fastest highlighting plugin for jquery, i\’m using chilli 2.2.
here\’s the content of my body
var test = {}; for(var x=0;x3) test[x] = x;ChiliBook.recipeFolder = "SOMEWHERE/";
ChiliBook.automatic = false;
$( function() {
$( \'#highlight\' )
.one( \'click\', function() {
var time1 = new Date();
var $chili = $( \'#jq\' ).chili();
var time2 = new Date();
var delta = time2 - time1;
var spans = $chili.find( \'span\' ).length;
var rate = Math.round( spans / delta * 100 ) / 100;
$( \'#highlight\' ).html(
\'highlight done in \' + delta + \' milliseconds\'
+ \' with \' + spans + \' spans\'
+ \' at a rate of \' + rate * 1000 + \' span/sec\'
);
} )
.show()
;
} );
and here\’s the content of my javascript script:
$(function() {
ChiliBook.recipeFolder = \”/r/js/jqc/\”;
ChiliBook.automatic = false;
ChiliBook.lineNumbers = true;
$( \’#test1 > pre > code\’ ).chili();
$( \’#test2 > pre > code\’ ).chili();
$( \’#test3 > pre > code\’ ).chili();
});
the ajax of loading html.js and js.js was working just fine, but it seems that there are no syntax highlighting completed.. it still show black on white..
i wonder was there anything wrong with it..
please reply if you\’re not busy ^^
Thank you in advance
Regards,
Kiswono P
GB