I am building couchdb from source using:
https://github.com/iriscouch/build-couchdb/
How do I enable coffeescript as a query language? This option appears on iriscouch's cloud server.
CouchDB 1.2.0 have build-in coffeescript query server.
Feature discussion
Looks like building the latest version from source includes this.
A more specific answer if you are running CouchDB 1.2.0 or higher:
On your design document add a property called "language" and set the value to "coffeescript". This seems to make all views expect coffeescript. It doesn't seem possible to have some views be done in javascript and some in coffeescript.
Related
I want to add #draft-js-plugins/mention but at the moment it's not possible since one of the dependencies of this package is immutable js that use a very old version thus cause an issue in my project since I'm using the newest version. It's not possible to downgrade at the moment and so I'm wondering what are my other options? Is it possible to integrate DraftJS with other libraries for this feature only? Is it possible to build a custom 'Mentioned' feature? How can I integrate it with Draft?
Any recommendations and examples will be very much appreciated
#draft-js-plugins uses the same version of immutable as draft-js. So your problem would be draft-js which is using immutable#3.7.4.
See also: https://github.com/draft-js-plugins/draft-js-plugins/pull/1710
I solve the issue by using the 'react-draft-wysiwyg' package that was written on top of DraftJS and contains all the necessary plugins. A simple implementation that solves everything
I'd like to use ag-grid community in plain JS project, which could be commercial soon. I don't know much about license policies.
From documentation I could suggest that community library is stored here?
src="https://unpkg.com/ag-grid/dist/ag-grid.min.noStyle.js
Further, I'm intersted in Tree Data (Legacy) feature, which is free. But it's source library looks like:
src="https://unpkg.com/ag-grid-enterprise#18.1.1/dist/ag-grid-enterprise.min.js
Am I breaking the license rules using this feature? How should I use it correctly? What if I use enterprise lib in non-commercial project, would it work?
You can indeed use the old tree data implementation without the enterprise version, there's a quote I didn't notice before which sums it up:
https://www.ag-grid.com/javascript-grid-tree-data/
How Tree Data is managed in ag-Grid was changed in ag-Grid v14. This
page presents the new way of working with Tree Data. The old way was
part of ag-Grid free, the new way is part of ag-Grid Enterprise. The
old way is deprecated but you can still use it, but we will not be
enhancing it. For documentation on the older version of the grid prior
to v14 see Tree Data (Legacy).
In their demo of old tree data, the JavaScript file used should really be the "community" version instead of the enterprise one. They just use the enterprise version in all demos to make it easier.
Is there a way to know the crafter version from Studio Admin Console/Dashboard?
I am running CrafterCMS 3.0 on my local. But from the content admin's point of view, is there any way to know the exact version/build I am using?
There is a feature being added in support of this. It's under Help > About, but it's not there yet.
You can track progress on the feature here: https://github.com/craftercms/craftercms/issues/813
And here for the UI: https://github.com/craftercms/craftercms/issues/711
You can also try http://localhost:8080/studio/api/1/services/getInfo.json that will give you something like this:
{"version":"3.0.0-SNAPSHOT","id":"33ed8125aa029a8170ed11d9cee62b802f45cd38","uiId":"f5318d804d51eea2501fdf1bc832af4c2ba5e30a","buildDate":"2017-05-09T10:38:21-06:00"}
Note this also work for 2.5.x (since 2.5.6)
How do you use Eclipse Birt 4.3 with mongoDB data source?
How do you use UI provided in latest version?
How do you write mongoDB query?
Try this http://code.google.com/a/eclipselabs.org/p/mongodb-oda-birt-plugin/ or
Try this http://www.birt-exchange.org/devshare/_/designing-birt-reports/1414-mongodb-oda-for-birt
The user guide available in the Downloads section and it will be very helpful from developing reports in BIRT
How do you use Eclipse Birt 4.3 with mongoDB data source?
When creating a Data Source choose MonogDb data source.
How do you write mongoDB query?
As to writing query http://developer.actuate.com/be/documentation/ihub2-web/birtos/fg31/index.html#page/birt-os/connecting.1.48.html explains it.
Also checkout http://developer.actuate.com/community/forum/index.php?/blog/10-birt-evangelist-blog/
I agree with you that documentation is lacking and no examples are given. I find it inconvenient that only one collection can be selected.
I am new to sakai, i want to add my own tool in sakai source code like announcement,syllabus...etc That tool having some my own functionality for this what i have to do, how can i develop my own tool in sakai.
Thanks.
Use one of the archetypes to get you started, then customise it. When you are comfortable you can change the UI layer to be whatever you like.
https://confluence.sakaiproject.org/display/BOOT/Developer+Tools
If you are looking for a solid "base" tool shell to begin with tool development my recommendation would be to start here: "Sakai Wicket Maven Archetype". There are a few other very good archetypes available but are often outdated and may cause you some problems based on my experience. This has been the one I've had the most success with.
This uses Wicket but does not mean you have to use Wicket to develop further with it. Make sure to pull the 1.2 version as last check the binaries for the others were not available yet so replace -DarchetypeVersion=1.4.1 with -DarchetypeVersion=1.2 It will compile and deploy successfully as a tool "as-is" that you can modify as needed. It also allows you to code in Java to directly access the sakai API and pull from its database or even add your own tables. I've successfully used it with NetBeans 8.0.1 and MySQL 5.6 under Windows 7 with Maven 3.2.3 and Sakai 10.1.
The code is well-documented and is no-frills but with enough varied functional use examples to allow you to do "almost" anything you want. The wicket manual is 600+ pages but in my experience you should be able to accomplish a lot just by looking at the code in the archetype.