A plug-in (or plugin) is a set of software components that adds specific abilities to a larger software application. If supported, plug-ins enable customizing the functionality of an application.

learn more… | top users | synonyms

1
vote
1answer
29 views

Documentation for a Minecraft server plugin

I'm working on a minecraft plugin for my Spigot Minecraft server. I have a class which works as expected. I've done my best to hammer every single bug out (famous last words, I know) and am now ...
0
votes
0answers
39 views

JS timer plugin

This code operates as intended, but with only with two operational timers running. I need the resize event in the match section as I need to retrieve the window ...
3
votes
1answer
69 views

Integrating the Ace embeddable code editor for editing HTML, CSS, and JavaScript

I am currently implementing the Ace-editor embeddable code editor. In to my application. I use a div with a certain class(example: editor_js) to render the editor the div also gets a data attribute (...
1
vote
0answers
21 views

TinyMCE plugin to save with cancel button

Please provide constructive criticism for this TinyMCE plugin which allows the user to save the content, or cancel and go back to the original. JS Bin ...
2
votes
0answers
24 views

Compile-time plugin system (2)

Background This is a follow-up of this CR: Compile-time plugin system. The code exposed below can also be browsed on this gist, which shows the differences between both questions (original is version ...
5
votes
1answer
66 views

Compile-time plugin system

Background For a piece of software that I need to get extensible, I wanted to design a simple compile-time "plugin" system in C++. My use case was that the program (actually a library) can accept ...
3
votes
2answers
48 views

Nagios plugin webdav check 2

Original post: nagios plugin webdav check According to the good advice I have received I've made some modifications to the code: ...
4
votes
0answers
71 views

Object-oriented WordPress plugin

Note: This plugin is / was never intended to be submitted to repo just for personal use but the questions still apply to general Plugin Development. This plugin listens for ...
1
vote
1answer
47 views

Tabster / jQuery based plugin

I am PHP programmer whom only recently started to play with a bit of JS/jQuery. Because of that my code is probably something that most of You hardocding JS programmers would see as disgrace (again I ...
3
votes
1answer
44 views

Scale-able API development with macro definitions

In a couple of months I'll be part of a large(ish) project, and there's good chances my team will be a lot bigger, with at least 2 programmers (probably 3) and some 3-5, or more, consumers of the API ...
2
votes
1answer
57 views

ngCordova plugin for audio player

I wrote a Cordova plugin for an app that I'm working on, and now I'm trying to write an Angular definition to wrap my plugin. So far, I've followed the model in ng-cordova.js: ...
3
votes
1answer
331 views

Monitor, read and display data from a dynamic log file

I am developing a plugin for intellij that basically monitors a log file and displays the data in a tool window within the IDE in real-time. I have managed to get it working but I would like to know ...
1
vote
0answers
48 views

JavaScript plugin architecture for multiple methods with the same parameters

I am writing a JavaScript plugin for fun. The plugin allows the user to pass options to initialize the plugin and perform actions. It is a simple alert/confirm plugin just for fun. I am hoping to ...
3
votes
1answer
111 views

Simple Python plugin loader

I have written a simple system to load plugins from files in Python 2.7, and I'd like to see if any of it can be improved upon. vedo.py ...
1
vote
1answer
52 views

jQuery Plugin options

The user can provide a JSON object to configure the plugin when they initialise it. I want those options to be available whenever a plugin action is performed. I have read the plugin documentation ...
3
votes
1answer
74 views

Bash plugin to setup project for books

I'm writing a bash plugin to help people create books in a specific way. It's an ordinary shell script to setup the project and create its subresources. I'm using a loop to create barebones assets and ...
0
votes
0answers
46 views

jQuery plugin that filters and orders boxes with CSS transform

I made this jQuery plugin based on MixItUp and Isotope. In short, one needs to create an <ul> list filled with <li> ...
7
votes
2answers
264 views

jQuery plugin to cycle through text and “typewrite” it out

I have written a jQuery plugin (my first for a long time) that simply cycles through strings of text in a data attribute and uses setInterval to type it out - it's ...
3
votes
1answer
132 views

Plugin Pattern for Generic Python Application

Summary I am experimenting with a plugin pattern for a generic Python application (not necessarily web, desktop, or console) which would allow packages dropped into a plugin folder to be used ...
0
votes
1answer
146 views

jQuery form validator

I am new to the world of jQuery plugins, I don't know why I didn't get into this sooner. What I have a working validator that validates bootstrap styled forms. What I have discovered is that the way ...
5
votes
1answer
154 views

jQuery Plugin - Sliding Tile Puzzle

I created a basic jQuery plugin to make a basic sliding tile puzzle. ...
1
vote
1answer
154 views

jQuery resizable plugin

Is there any way I can simplify this re-sizable solution? It seems too difficult and messy to me. Working example ...
3
votes
2answers
79 views

Drop down menu plugin

I am making a dropdown menu in JavaScript for my website, and recently I decided I wanted to make it a plugin (as in, upload it on the web and make it compatible with other plugins). I am new to ...
11
votes
2answers
426 views

jQuery plugin that makes a slider out of an <ul> list

This is one of my very first jQuery plugins. In short: it makes a slider out of an <ul> list filled with <li> items ...
2
votes
0answers
31 views

Filtered Search Plugin

I need opinions on how to improve this code example github ...
3
votes
1answer
221 views

MEF Execute Plugin Exports in Threads

I am developing a service application that would implement a peer to peer messaging system. I am wondering if my following code is the best approach. It works, but I am naive and it would be nice to ...
2
votes
1answer
82 views

Making text field taggable

I'm new to JavaScript and new to jQuery plugin development. My plugin is really easy I just want to taggify a <ul> ...
3
votes
1answer
27 views

Bash Compress Managed Directory Ignoring .git, bower_components, node_modules, etc

Fairly easy way to compress a wordpress plugin (or similar) as a zip file without including all the dependencies used to create and manage the development, but which don't belong in the final product. ...
2
votes
1answer
126 views

jQuery plugin - image slider

This is my first jQuery plugin (used the jQuery ui widget factory). All code improvements are welcome. GitHub The plugin creates a gallery with one big picture and a given amount of clickable ...
2
votes
1answer
42 views

Converting any CSS colour to RGB(a)

For a plugin I'm writing in jQuery I have two optional parameters. For each parameter I do a check for its value. However, I'm curious if I can't write it shorter. Here is the fiddle and here's the ...
7
votes
2answers
213 views

Animating a block of HTML on scroll

I'm pretty new to client side scripting and I'm still learning. I've written this JS plugin which animates blocks of HTML (fade-in from left/top/right/bottom) as you scroll down the page. Everything ...
3
votes
1answer
131 views

Improving jQuery scrolldown animations

I'm pretty new to client side scripting and I'm still learning. I've written this JS plugin which animates blocks of HTML (fade-in from left/top/right/bottom) as you scroll down the page. Everything ...
1
vote
0answers
87 views

Pagination with static data

I am using following code to implement pagination functionality. All items are rendering on page load and li elements greater than page set are hidden with CSS. I ...
4
votes
1answer
145 views

Database Plugin for CKFinder users

I have written a small plugin library for CKFinder that I would like some critiques on. The library is located here. If you are looking for where to start, check out plugin.php and hook function in ...
5
votes
1answer
586 views

jQuery Datepicker Plugin

I created a jQuery plugin that converts a text field to a 3 drop down, datepicker. It allows the user to select a Day, Month and Year rather than type the date in an input box. The original input ...
3
votes
0answers
110 views

Ajax file uploader jQuery plugin

I tried to write my first jQuery plugin. It's a very simple Ajax file uploader. I would appreciate a review of this code. HTML ...
6
votes
2answers
249 views

Responsive text by JavaScript

I'm working on a JavaScript plugin that makes font-sizes flexible (for a responsive layout). The code works well so far, but I'm sure that it's capable of improvement (especially if you look at the ...
1
vote
0answers
113 views

jQuery remote validation plugin

I wrote this jquery plugin to do remote validations on the server. The code self explanatory. When the field blurs (event is customisable), the plugin checks to see if there is a value and sends the ...
2
votes
1answer
139 views

geoInput jQuery Plugin

I made my first jQuery plugin, and was hoping to get a review. I'm especially interested in comments on whether I went about building up my html and applying the css in a reasonable manner (I chose to ...
6
votes
1answer
178 views

Deadlock watchdog in a server to defend against poorly written extensions

In the Red5 server we have no control over what implementers do with their applications. As such, we have attempted to implement code that would prevent them from causing bad things to happen. This ...
2
votes
1answer
254 views

Switching from functional jQuery code to object-oriented

I've been happily using jQuery, creating vars and binding events in my modules (which have only a little bit of JS). But recently I needed to add an anonymous functions to my code and after ...
4
votes
1answer
122 views

jQuery scroll-prevention plugin

This plugin is for article pages that has a very long main content (left side) and a shorter sidebar. When the user scrolls down mostly the right part will be white space. What this plugin does is ...
18
votes
2answers
602 views

Pluggin' in Plugins

I'm currently working on an in-house project and a part of that project is this pretty standard plugin loader below. There must be a way to avoid so many ugly looking ...
5
votes
3answers
314 views

Monitoring params via JMX

A task for hiring on a new job (I failed it with reason "very bad code"). Write a program, which will be monitoring the params via JMX. Param should have name, type and observabale value. Why my ...
4
votes
2answers
144 views

Showing a list of plugins to filter

How can I refactor this function? I show a list of plugins in JSF, and I should filter them. I added function filterPlugins but I have some questions: Should we ...
2
votes
1answer
161 views

Expose only desired functions to 3rd party plugins in JavaScript

I tried to build a solution to dynamically load JS code, but to only expose predefined functions. Is this the correct approach? Is there any Method to execute arbitrary code if I put all my code ...
11
votes
1answer
180 views

Metalsmith plugin for stripping UTF8 BOM from files

I've been developing a metalsmith static site and I came across an issue where Visual Studio was automatically adding a BOM to the pages. I wrote the following plugin for metalsmith (it needs to be ...
11
votes
3answers
223 views

Scanning a directory for plugins and loading them

I'm working on a simple dictionary tool, with a base class that can be extended by plugins to represent different dictionaries. The plugins are organized in the filesystem like this: ...
3
votes
1answer
369 views

jQuery collapse/expand plugin

This is my first plugin for JavaScript. It originated from a need for a similar feature at work and I decided to make it a bit more generic in case I needed it again. I was just wanting some criticism ...
3
votes
1answer
217 views

Simple IRC bot with plugin support

I'm looking to see if there is anything in this I could have done better or see if could have structured the code better. Here is the project on GitHub. ...