plugins

Trying to create Template::Plugin::Filter for Haml

I'm trying to create a cpan module that integrates Text::Haml into Template Toolkit. I think that Haml is an interesting templating language but rather limited, it doesn't support loops or conditionals let alone more advanced things. But I can't seem to get eve a very simple version to work. The following are some test scripts that work ...

Problem with Drools Eclipse Workbench

Hi, When I attempt to go through the "New Drools Project" wizard in Eclipse (for Drools 5.0, Eclipse Helios), I reach a point where I receive the message, " No Drools Runtimes have been defined, configure workspace settings first" I have the Drools binaries, but the problem I am having is that I do not know how to configure the workspa...

plugin has performed illegal operation

Hi, I am developing a firefox plugin. When i am using debug mode dll ,it works fine but when i am using release dll it is showing me a prompt saying that Plugin has performed an illegal operation. Can anybody tell me why this is happening ? ...

Git (or Hg) plugin for dealing with Microsoft Word and/or OpenOffice files

Has anyone come across a Git or Hg plugin for "meaningful" diffs/merging/branching of OpenOffice or Microsoft word files. I know I can 'checkin' .doc files but both Git and Hg treat them as binary blobs. I'd like to be able to do all (or at least many) of the normal revision based operations on the text of the file. And yes, I do know...

Write a Plugin in Python for audio

I have written a script that on execution lets the user record a message by accessing their microphone and stores it. I want to make this script useable over my website, which will require me to write a plug-in for the browser. Is there a good tutorial that will teach me how to write this plug in and set it up. is there another way. ...

How to add plugins to the WordPress repository?

I'm trying to add my plugin to the WordPress Repository so that users can just search for on the admin panel and then install. I've filled the plugin form from wordpress.org with a title, description and I don`t know which URL I need to provide. This URL can be from GITHUB with the files? Or something else? Also, I need to know how l...

How to generate class files manually in Eclipse plugin development?

I want to generate class files to some place(not the output folder in the build path) manually ,i found some classes like JavaBuilder,Compiler,IncrementalProjectBuilder,etc,but i still dont know how to use these classes to compile class files to a specified location.How to do this? Thanks. ...

how do I add a second parameter to the tags in acts_as_taggable_on_steroids plugin

In my Rails application I am trying to use the acts_as_taggable_on_steroids plugin but it is falling short a little bit. I would like to add a second parameter to each tag that describes what it is tagging. Not the class, I understand that is recorded in the taggings join table. For example, if I were to tag an interview, I would give it...

Checking programmatically if a .class file extends particular class.

Hi, I have a problem I've been trying to solve for quite some hours. In an Eclipse plugin, I have an ArrayList that contains the full paths (as strings) of some java .class files. What I'd like to do is check if the classes that are included in the list extend a particular class. I thought about parsing the file, looking for what is afte...

Facebook like Video uploader plugins.

Hi, I want that through my web page user could upload audio/video files & it will display exactly like in Facebook. I searched for such type of AJAX plugin but failed to got.. Please help me.. ...

How can I add my controllers and views in a plugin for rails

I am trying to make a test plugin . Although I am able to add methods to activerecord from my plugin , but I am not able to define a controller and view in my plugin . I thought , I would just inherit from ActionController::Base and then define a route and it would reach my plugin but that does not seems to work . Do I need to do anythi...

How can I enable "Mark Occurrences" in a Java editor that is loaded in a multi page editor?

I am working on a multi page editor that loads opens multiple files (e.g. java, html) in separate tabs of a multi page editor. The files get opened with the default editors associated with the file type and these default editors are embedded in the multi page editor as tabs. Here is how I am determining which editor to load (for a file ...

Why I must use jQuery definition instead of $ ?!

I'm a newbie in jQuery... I've used one jQuery plugin (Actually SimpleModal Plugin) in my page. It didn't work until I replace $ with jQuery! $(document).ready(function() { --> jQuery(document).ready(function() { It is working now, but I still have a problem! I want to close this modal window by click on my cancel button on th...

Mounting multiple instances of the same engine in Rails 3

Hi, I'm wanting to make use of the new modularity prospects offered by the architecture changes in rails 3. However, rather than just mount an engine as in the majority of examples... Rails.application.routes.draw do match "/blog" => Rack::Blog end ...I'd like to mount multiple versions of the same engines, and have those instance...

How can I compile gVim under Ubuntu?

I am trying to install the codecheck plugin for gVim, but to do so I must compile gVim with the plugin. On apt, every apt-get source to a gVim package downloads the normal Vim source, so I guess compiling the GUI must be a configure option. However, I can install the plugin on Vim but I can't compile gVim (since when I make there appear...

Custom pdf plugin for internet exporer, firefox ,chrome etc..

I want to write a custom plugin which can open a pdf file for popular browsers(IE , Firefox, Chrome). I am going to use some open source pdf viewer code if I can and put some checks in that code for authentication and license validity. Actually the plugin should work with many file types(Video, audio, doc etc...), I am trying to develo...

How to develop Add-In/Extensions for Visual Studio 2010 [Source / Reference]

I'm thinking of developing a tool that runs under Visual Studio 2010 and am struggling to find sample applications, source codes, and especially handouts that help in this journey. I wonder if anyone would have any recommendation of material, or website. Thanks ...

Can't get "Syntastic" vim plugin to work.

I've installed Syntastic plugin in vim. I can't get it to work. I've tried :SyntasticEnable but no luck. SyntasticEnable python in my vimrc doesn't work either (in fact, it doesn't even parse the command, an error is shown when I try to add it to my .vimrc : Not an editor command: SyntasticEnable python). How can I know what's going on?...

How define a unique "plugins" path to all apps in 1.3?

In 1.2 i used: $pluginPaths = array(CAKE_CORE_INCLUDE_PATH . DS. 'vendors' . DS. 'plugins' . DS); But.. in 1.3 we have the new plugins path, and i believe thats not necessary the $pluginsPaths manual declaration if i have: if (!defined('CAKE_CORE_INCLUDE_PATH')) { //define('CAKE_CORE_INCLUDE_PATH', ROOT); ...

How do I add external dependencies to an Eclipse Plugin Product definition?

I'm attempting to define an eclipse plugin product that includes bundles from Spring's Enterprise Bundle Repository and Eclipse's Zodiac repository. I've used Maven to download these repositories, but I can't figure out how to make the product editor aware of them. Ideally, I'd like to make the product editor aware of a list of maven ...