similar to: Ruby Syntax Highlighter v2

Displaying 20 results from an estimated 6000 matches similar to: "Ruby Syntax Highlighter v2"

2005 Mar 15
15
Web-based Ruby Syntax Highlighter
Hi all, Last night, I wrote a web-based syntax highlighter that takes Ruby and produces nice HTML of the code, ready for including on web pages, or in blog posts, or whatever. I don''t know how useful it will be for other people, but feel free to use it. Anyway, the URL is : http://syntax.carldr.com/ Any comments/suggestions would be gratefully received. Enjoy!
2007 Oct 24
1
Problems with creating my own syntax highlighter
Well, I wanted to make my own syntax highlighter using Wx::StyledTextCtrl. The easiest way to do it seemed to parse the text contents in a content-changed-event. But it doesn''t seem to work.. I tried to edit the scintilla sample and added this event(@sci is the StyledTextCtrl): @sci.evt_stc_change(@sci.get_id) do @sci.clear_document_style @sci.start_styling(1,31)
2010 Apr 22
0
Community help: creating Syntax-Highlighter-brush for R and WordPress.com
Hello dear R community, *Background:* Since I see more and more R users who blog about R opening their blogs in WordPress.com, I contacted one of their workers asking if they could add Syntax highlight support for R. He replied to me saying that if there was a "Brush" for R, according to the format given here:
2009 Nov 13
2
AR(2) modelling
Hi useRs, I'm trying to fit a basic AR(2) model with the 'ar' function. And when I try to check the value of the coefficients, I could not find the same value as the 'ar' function. Here is my example: myserie <- c(212, 205, 210, 213, 217, 222, 216, 218, 220, 212, 215, 236) #plot(myserie, type="l") myserieminus0 <- tail(myserie, -2) myserieminus1 <-
2009 Nov 13
2
AR(2) modelling
Hi useRs, I'm trying to fit a basic AR(2) model with the 'ar' function. And when I try to check the value of the coefficients, I could not find the same value as the 'ar' function. Here is my example: myserie <- c(212, 205, 210, 213, 217, 222, 216, 218, 220, 212, 215, 236) #plot(myserie, type="l") myserieminus0 <- tail(myserie, -2) myserieminus1 <-
2006 Jul 17
0
Draft port of lucene highlighter to ferret
Hi All, Hope all is going well. After being knocked out with the flu for a week I''ve been able to make some progress with porting the lucene highlighter to ferret. I''ve got a draft version available for perusal at: http://crafterm.net/ruby/highlighter/highlighter-ruby-0.1.tar.gz The port is pretty much a complete copy of the Java version at:
2007 May 28
0
external highlighter/excerpter
Has anyone seen an implementation or example of an highlighter/excerpter that works on external (non-stored) fields? Thanks.
2011 Feb 23
0
Custom highlighter/match vector access?
Hi everyone, I know from the archives things have kinda slowed down on ferret and there''s an effort ongoing with lucy, but I was wondering if anyone had discovered a way to enumerate the matches of a particular field in the document and get the offsets? With what I''m trying to do, ferret will be indexing large portions of structured information, but I really don''t want
2006 May 26
4
Jamis, problem w/Capistrano
Jamis, I''ve spent hours trying to get Capistrano working, to no avail. I''m hosting over at www.railsplayground.com, and here''s their instructions I''ve been following: http://tinyurl.com/hyo93 I can''t get past step 7. When I execute "rake remote:setup", I get a rake aborted! message. When I do a "rake --tasks", I get only a
2005 Jul 20
0
Syntax Highlighting library
Hi, first of all let this message serve as presentation and to stop lurking. I have a current project, which I am not sure that it fits the script.aculo.us library, so I thought that before anything else I''d ask here. The project is a client-side syntax highlighter, to bring some life to those <pre> and <code> blocks, so that no matter which server-side technology you are
2006 Nov 25
2
Comparison between RSpec and test/unit
I''m curious, Christian Neukirchen has released test/unit[1] that seems to mirror much of RSpec, but built on Test::Unit, so in some ways less brittle from a Rails-integration perspective, and also allowing you to mix the two together as appropriate. So, has anyone made an informed comparison? I''m new enough that I don''t really know the finer points yet. The syntax is
2009 Mar 16
2
R-code in html help pages: syntax highlighting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, A follow up to my previous post. It'd be good to have syntax highlighting in the html help pages. There is highlight (http://www.andre-simon.de/) which seems to be open source. Since code is delimited in the help file format, it should not be too difficult to run a highlighting program (actually, vim and emacs do this too) recursively and
2005 Nov 12
1
Samba/LDAP-Backend stability on Debian Sarge
Hi, First, excuse me if this post is a bit offtopic, maybe this should be posted in the debian-users maillist, but I just wanted to read your experiences with this kind of setup, since I've migrated the server to Debian Sarge using LDAP Backend to serve clients using WinXP and Win98, and I've got this serious problems: - Samba segfaults [1] - slapd process crashes very often, almost
2006 Mar 17
0
Installed Gems on godaddy.com
Hi, is there a core list of gems that one needs to install in a production environment? Anyways, here''s a current list of installed gems on godaddy.com: Gems *actionmailer 1.0.1* [www] <http://www.rubyonrails.org/> - depends on actionpack <http://www.situationman.com/_h_admin_/gems.html#actionpack>. Service layer for easy email delivery and testing. *actionmailer 1.1.5*
2006 Jun 04
0
[SUMMARY] Rails Core Weekly May 29 - June 4
Rails Core Weekly May 29 - June 4 Dear List, Another week has passed, here''s RCW, the McCartney Edition: This weeks kicks of with Josh Susser fixing has_and_belongs_to_many #create method to properly populate joins with new records :http://www.ruby-forum.com/topic/67478#new. Check out his test: def test_create_by_new_record devel = Developer.new(:name => "Marcel",
2007 Aug 17
1
Testing webservices in Integration Tests with Jamis Buck's recipe?
Hello, I''m using Jamis Buck''s recipe to do integration tests on an application, but I got a nil.recycle! error while doing a webservice call. This is the situation. def test_uploading_data invoke :upload, data invoke :upload, even_more_data real_user_session = new_session_as @real_user real_user_session.press_magic_button_to_enable_more_uploads invoke :upload,
2007 Apr 13
1
HTML report and Spec::Ui improvements
The trunk now has some nifty improvements to the HTML report (--format html). Each failing spec will (in addition to the backtrace) have a box with a source code snippet of the offending code. If you have Jamis Buck''s syntax gem installed the code will also be syntax highlighted 8-D There has also been some major improvements to Spec::Ui, and it should be much easier to set up than
2006 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the Ruby Cookbook and a Rails book are now available for purchase at O''Reilly Rough Cuts (something akin to PragProg''s beta book program): http://rubyurl.com/nHz http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS I haven''t tried them yet, but it definitely seems worth checking out.
2006 Jun 09
2
Timzones, UTC, and to_xml()
Does anyone know a good way to hook into the AR to_xml() method to allow for adjusting datetimes to a user''s timezone? Basically I want a user to be able dump all their data before cancelling an account. I store all datetime info as UTC as per the recommendations of Jamis Buck and Scott Barron in the Rails Recipe article "Dealing with Timezones". Come to think of it I bet
2006 Jul 13
0
AZ Ruby on Rails Community
If you are interested in learning about Ruby on Rails or are currently doing Ruby on Rails development this is a meeting you will want to attend. We will be having the first meeting this Wednesday July 19th at Molly Brannigan''s located at Val Vista and the US 60. Free wireless connectivity will be provided. The first part of the meeting will consist of introductions and feedback