Getting codemirror to highlight Clojure? - clojure

I am using the codemirror source editor but cannot get it to work for clojure. Has anyone managed to do this?

Not yet. If you're trying to implement a Clojure mode, feel free to ask specific questions in the google group ( http://groups.google.com/group/codemirror ).

I know it's been a while since the question was asked; I'd like to fill in that CodeMirror2 now has Clojure mode.
http://codemirror.net/mode/clojure/index.html

Related

what is the Alternative Way of TabActivity?

Hi I want to use Tab Activity(My Tab View must be at bottom) and android version 4.0 or later told that tabactivity is deprecated. so it must be a better way than it. but I could not find properly. some tutorials gave me advise to use Fragments but really I don't know anything about it. so please suggest me best tutorial or sample code for Fragments Or other best alternative way.
Thanks!
One suggestion is to use the Sherlock ActionBar. Inside the package there are good sample projects about Fragments, ActionBar, Navigation with tabs! I recommend ActionBarSherlock!
It also is 2.x compatible!!!
here is a link from android developer site,
http://developer.android.com/reference/android/app/TabActivity.html
and a tutorial,
http://maxalley.wordpress.com/2013/05/18/android-creating-a-tab-layout-with-fragmenttabhost-and-fragments/
Just by following above links you can create i easily.

Redmine Documentor

Have anyone used Redmine Documentor which lets you convert PHP to HTML to Redmine wiki format? If so do anyone have some recommendations or alternatives? I seems pretty cool to me.
http://forum.kohanaframework.org/discussion/3096/documentor-php-html-redmine-class-documentation-tool/p1
http://dev.kohanaframework.org/projects/documentor/wiki/
Actual Documentor Link:
http://www.keyframesandcode.com/resources/php/redmine/documentor/
Seems like a cool idea, but I just tried it and found that it mixed comments up and made a mess of things. For example, I tried the sample code here:
http://manual.phpdoc.org/HTMLSmartyConverter/HandS/phpDocumentor/tutorial_sample2.pkg.html
It is good to some extent. But it messes up some things and also ignore some annotations like #returns, #link.

Any good cfml Shopping Cart app?

Any good cfml Shopping Cart app? Tried using one? What's your experience with it?
There are few carts listed in Arehart's list. Haven't tried any, so can't give advices.
I've used SiteSirector by QuillDesign before, and tried a few others. SiteDirector was the best I've seen. It's pretty easily extended and has a lot of features out of the box. I would recommend you take a look at it.
I have been using Cartweaver so far. It has been pretty good. If you are integrating it with an existing site you will have to merge the application cfm/cfc's which can get a bit hairy.
Cartweaver is well written otherwise though. I hope in future versions they will make the entire cart into cfc's, but it is a great value for the dollar.
My needs have allways required completly custom applications; however, this package has allways interested me: http://www.cfwebstore.com/
Great Price
Open Source Code
Good luck.

What are my options for working with markdown in ColdFusion?

I am seeing many many different use cases where I could use Markdown in apps that I write, both personal and professional. But from my research so far, I haven't been able to find many options for working with it in ColdFusion. I would certainly like to keep from reinventing the wheel by trying to implement it myself if someone else already has a project that I can use and contribute to, both because of time and not to duplicate efforts.
My preference would be to use an implementation in native coldfusion because that would be the easiest to tweak if it was necessary, but I am open to alternatives in other languages, as long as it is easy enough to implement and maintain. I have looked at the WMD editor, but it doesn't look like it is the whole solution. It would work for outputing the markup, but I would want to store that and then convert it to html as necessary for display.
Does anyone know of any other options?
Update: I do know of the CFX_markdown but I am not sure it is mature enough. If anyone out there has experience with it I would love to hear about it.
Update 2: I have added a bounty to this question. Not to say that the answer that has been given so far isn't a good one or isn't the best one, but I am wanting to see if anyone else has any other information about markdown with CF so we know all of the options.
Update 3: So offering the bounty didn't really work. I will go ahead and let it auto accept the only answer just in case we have any late answers. Thanks to everyone who has contributed.
The Markdown Wiki refers to a Java implementation called MarkdownJ. I've no idea how mature it is, and I know you'd prefer a native ColdFusion implementation, but if you're running ColdfusionMX then a Java module might be a good compromise.
We have a plugin created that does this in ColdFusion already:
http://coldbox.org/forgebox/view/Markdown

What's the best way to parse RSS/Atom feeds for an iPhone application?

So I understand that there are a few options available as far as parsing straight XML goes: NSXMLParser, TouchXML from TouchCode, etc. That's all fine, and seems to work fine for me.
The real problem here is that there are dozens of small variations in RSS feeds (and Atom feeds too), so supporting all possible permutations of feeds available out on the Internet gets very difficult to manage. I searched around for a library that would handle all of these low-level details for me, but came out without anything.
Since one could link to an external C/C++ library in Objective-C, I was wondering if there is a library out there that would be best suited for this task? Someone must have already created something like this, it's just difficult to find the "right" option from the thousands of results in Google.
Anyway, what's the best way to parse RSS/Atom feeds in an iPhone application?
I've just released an open source RSS/Atom Parser for iPhone and hopefully it might be of some use.
I'd love to hear your thoughts on it too!
"Best" is relative. The best performance you'll need to go the SAX route and implement the handlers. I don't know of anything out there open source available (start a google code project and release it for the rest of us to use!)
Whatever you do, it's probably a really bad idea to try and load the whole XML file into memory and act on it like a DOM. Chances are you'll get feeds that are much larger than you can handle on the device leading to frequent memory warnings and crashes.
I'm currently trying out the MWFeedParser #Michael Waterfall is developing.
Quite easy to set up and use (I'm a beginner iPhone developer).
His sample code for using MWFeedParser to populate a UITableViewController implementation is helpful as well.
take a look at apple's XML Performance sample -- which points to using libXML directly -- for performance and quicker updates to the display. Which may be important if you are working with very large feeds.
Check out my library for parsing Atom feeds, (BSAtomParser) at GitHub. It doesn't care about validating the feed, it does its best at returning whatever is valid. The parser covers most of RFC 4287, even extensions.
Here's my solution: a really simple yet powerful RSS parsing library: https://github.com/H2CO3/RSSKit
Have you looked at TouchCode yet? I don't think it has an RSS processor, but it might give you a start.
http://code.google.com/p/touchcode/
I came accross igasus project on sourceforge today. I haven't used it or really checked it, but perhaps it might help.
From their site:
igagus is a web service for the iPhone that allows aggregation of RSS to be delivered in an iPhone friendly format.
Actually, I was trying to suggest you ask on the TouchCode discussion board, because I remember someone was trying to expand it to support RSS. That might be a decent starting point. But I was being rushed by my wife.
But I see now that TouchCode doesn't have a discussion board. I'd still ask the author, though, he might know what came of that effort.
This might be a reasonable starting point for you. Atom support isn't there yet, but you could help out?