All Questions
159 questions
3
votes
0
answers
38
views
Add DAP debugging to NeoVim on Mac
Upgrading from vim to neovim (on the mac).
Part of this is to get the DAP debugger working from inside neovim.
I have "Lazy&...
2
votes
1
answer
106
views
An extended JavaScript plugin for rendering radial pie charts
(This post is the continuation of A JavaScript plugin for rendering radial pie charts.)
(See the continuation of this post.)
Now, you can mark up the radial pie charts via XML:
...
3
votes
1
answer
94
views
A JavaScript plugin for rendering radial pie charts
(See also An extended JavaScript plugin for rendering radial pie charts.)
I have this JavaScript plugin:
rodde-radial-pie-chart.js:
...
2
votes
1
answer
247
views
Display WordPress Custom Post Types with ACF-Fields on a Google map
I am currently working on my first WordPress plugin. I display custom post types on a google map with pins. The custom post types also have additional information by ACF fields which are displayed in ...
4
votes
2
answers
121
views
Jekyll plugin which bundles files into a zip archive
I am not a Ruby developer but cold-reading existing Jekyll plugins I implemented one to bundle files in a zip archive and open sourced it on GitHub.
What do I need to fix to make it look more Ruby-...
3
votes
0
answers
79
views
Custom HTML Element with scrolling text
A junior developer here.
I wrote a simple javascript custom element code here: https://codepen.io/rndbox/pen/mdWxryw as clean as I could with some advice from Junior Vs Senior Code - How To Write ...
1
vote
1
answer
149
views
Vim plugin for easy window navigation
I've been thinking about it for a while and, after asking a question on vi.stackexchange, I decided to write a small plugin myself and put it on GitHub; basically it offers a mapping to activate a ...
2
votes
0
answers
52
views
Vim plugin Nudge Lines
I've published a Vim plugin that nudges visually selected lines up or down, which for the most part seems to function as designed. However, I believe there are likely ways that this plugin could be ...
3
votes
0
answers
237
views
SBT Helm plugin
Description
I've created simple SBT plugin which enables creating Helm Charts
The main reasons:
in Helm it is impossible to 'fetch' external files: https://github.com/helm/helm/issues/3276 which is ...
3
votes
0
answers
136
views
Vim plugin MarkDown Headings
This is my first Vim plugin and is intended to assist with adding, and editing, MarkDown headings. Features include changing the heading depth, auto-update heading reference links, and adding link ...
3
votes
0
answers
258
views
Validating a file input whose value is reset to empty string ("") after selection
My form comprises of a mandatory file input.
The form is validated according to the jQuery validate plugin.
The file input has attribute required so that the ...
4
votes
1
answer
31
views
Simple Bespoke WordPress Integration Plugin
I am in the process of setting up WordPress with WooCommerce, one of the requirements is a bit of integration that takes a person from another website directly to a specific product. I have set the ...
3
votes
0
answers
42
views
NRPE script for monitoring filesystems usage
Next script returns NRPE friendly output. It checks percentage usage of all local filesystems.
Desired output if everything is ok:
OK | /=56;;;; /boot=20;;;; /opt=40;;;; /var=60;;;; (and ...
1
vote
1
answer
80
views
NRPE script for monitoring memory usage
This script based on previous NRPE script for monitoring load average. Same purpouse - get NRPE friendly output with minimal usage of non built in commands. In this case wasn't need to count with ...
7
votes
3
answers
317
views
NRPE script for monitoring load average
This script converts a server load value into percentage, compares it with non desired state ($warning and $critical) and returns all information in NRPE (Nagios Remote Plugin Executor) friendly ...
4
votes
2
answers
256
views
basic jQuery plugin template
I would like to know if I'm writing a plugin for jquery correctly. I followed the official guide and also added some tweaks that I've found from various sources over time.
While this works perfectly, ...
2
votes
1
answer
251
views
SafeBlockPopulator to ensure neighboring chunks are generated before population
Bukkit/CraftBukkit/Spigot are Minecraft server extenders that allow for creating and using plugins. A particular type of plugin is a generator, which creates the game world. Generators operate chunk-...
4
votes
1
answer
107
views
AutoSuggest: Better way to implement focus after inserting a snippet
Introduction:
I am working on a javascript plugin AutoSuggest, My aim is to create an IDE like autocomplete experience in web applications using JavaScript.
One of the features I have implemented is ...
2
votes
1
answer
1k
views
Dynamically Generating XML Deserialization Classes / Code: Part I, Reading
I'm building an IntelliJ Plugin which will allow a person to select an XML file (and even a snippet of XML in the file, if they like) and, using a really brief GUI, generate classes / code in one of a ...
5
votes
1
answer
158
views
Python toolbox for OpenStreetMap data
Background
My project is a Python toolbox. This is my first bigger coding project and it took me quite some time to code this toolbox. I learned a lot from the start point to this day. I changed this ...
3
votes
1
answer
142
views
jQuery plugin to load a full-page view window
I have been writing a lot of jQuery plugins lately, but I don't really know if what I am doing is any good. Here is one of my most recent plugins. It allows the user to add a data attribute to any ...
4
votes
1
answer
112
views
Internet Relay Chat bot core with plugins system
I started learning Python by making an IRC bot, as it took some pains in another language. I've improved it now over time. As it involves networking, I'd also like some comments on that side.
...
2
votes
0
answers
31
views
Range value selector jQuery plugin
In need of making a range selecting feature I made my first jQuery plugin. I tried to mimic the structure from some open-source plugins. I wonder if this can be improved.
Here is the source code:
<...
3
votes
0
answers
668
views
C++17: Boost.Hana based compile-time plugin registration
My aim with the following is to have a way of registering a list of classes, which represent plugins. In the end, I want a boost::hana::set that contains type objects for all plugins' classes. I want ...
5
votes
2
answers
4k
views
Load ASP.NET Core plugins and their dependencies
I'd like one of my RESTful services to support plugins. Currently it uses references hardwired at compile-time.
The Application Parts seem to be THE solution so I gave it a try and created a small ...
2
votes
1
answer
192
views
Option buttons in plugin Dialog
I used the jQuery UI plugin Dialog to ask a user for "name" and to show it in a subsequent dialog.
Is there the better way to add a function to the option "buttons" to get the data and to go to a ...
4
votes
0
answers
104
views
UI testing for a web application, with variant scenarios
I'm pretty new to software testing and am currently working on a cloud-based web application.
Briefly, the application uses:
Ext JS as a framework
Bryntum's Siesta framework for testing
Currently, ...
5
votes
1
answer
282
views
Sublime Text plugin to modify text before it's pasted
It's my first plugin and it's super simple but there could easily be some things worth knowing from this e.g. Python coding practices and potential bugs.
...
13
votes
1
answer
446
views
Voting plugin for an IRC bot
MetaBrainz has an IRC channel called #metabrainz on which there's a bot called BrainzBot running. It provides utilities such as linking to JIRA issues or Github PRs ...
2
votes
1
answer
870
views
A simple JavaScript and HTML5 Canvas drawing component
This is my first time writing a Vanilla JS plugin.
I have tried to make a simple HTML5 canvas drawing script. I have tried to handle both touch and mouse events on the canvas.
Kindly help me point ...
3
votes
2
answers
71
views
Setting QProgressBar values based on selection
I have a function which writes a report based on technologies selected by the user via QCheckBoxes. Depending on the number of technologies chosen, the QProgressBar will go through set values until ...
6
votes
1
answer
89
views
Update GIS Project by matching files from directory with files already loaded and apply relevant symbology
I am developing a plugin for a GIS (Geographic Information Systems) software, QGIS, which uses Python. I have created a function which performs an update (i.e. inserts files, or shapefiles, into their ...
3
votes
0
answers
806
views
jQuery Plugin, multiple instances/elements with different options
I was having some real issues creating a jQuery plugin that could handle multiple instances with different config options. I came up with this, but am not sure if it follows best practices. I used ...
4
votes
1
answer
115
views
Reduce list manipulation for QGIS layer tree
I am developing a plugin for the GIS software, QGIS. The code below reads the number of layers in various groups (as shown in the image) and adds them to a QTableWidget:
For each group, I want to ...
6
votes
1
answer
167
views
Calculating areas of map features
I am developing a plugin for QGIS (a Geographic Information Systems) software which uses Python. I have calculated four areas of interest, it does this by identifying each feature on the map (called <...
2
votes
1
answer
197
views
jQuery plugin to toggle truncated text
I have from a recommendation on my other question here:
My other review post
Developed a truncate plugin, and was wondering if you guys could help me improve it or see where I have gone wrong.
...
-2
votes
1
answer
187
views
Stateful Javascript plugin [closed]
I am new to Jquery plugins, I was searching a lot about widgets and plugins, however I am still not sure if this code is okay. Should I use widgets for stateful plugins? Or is this plugin correct? ...
2
votes
0
answers
131
views
jQuery plugin to highlight HTML on click/hover events and easy grouping
I have this plugin that I have finally finished the big pieces of, there's one or two minor details that are not yet implemented do to lack of a decision yet but everything else is there.
I wrote it ...
6
votes
2
answers
187
views
Handlers for checkboxes to select various map features
I am developing a plugin for QGIS (a Geographic Information Systems) software which uses Python. I have several functions where each of them is connected to a QCheckbox. So when a checkbox is checked, ...
2
votes
0
answers
66
views
jQuery Mobile Menu plugin
I would like some opinions on this Mobile Menu plugin I wrote for work. We develop custom WordPress themes, nothing too advanced or anything. I would like if anyone could just take a look and provide ...
2
votes
1
answer
119
views
WordPress Settings Plugin security
I'm wanting to step into plugin development so I can eventually push to WordPress.org so I wanted to go through and really learn how to properly develop a Plugin's settings page. I went through ...
0
votes
2
answers
63
views
injectOptions jQuery plugin
Over the past year I've found myself moving from back-end development to something more akin to full-stack development. I've created the following jQuery plugin as a test of my hopefully-not-so-...
3
votes
0
answers
80
views
jQuery plugin for a lightweight dropdown
I'm working on my first jQuery plugin for a lightweight dropdown. This dropdown behaves just like a ordinary <select>.
Before implementing new features I'd ...
2
votes
3
answers
258
views
jQuery plugin to highlight text spans in various colors
I am trying to tackle two fairly massive concepts through JavaScript and jQuery, the first being object-oriented programming and the second being how to build robust modular plugins with an OOP ...
3
votes
0
answers
148
views
jQuery modal dialog plugin
I'm working on creating a new jQuery modal plugin. I'm pretty good at jQuery but still pretty new to the whole object oriented plug-and-play style of plugins so I used a different plugin I found ...
1
vote
1
answer
84
views
Popup jQuery plugin
I need a code review for my first jQuery plugin. It seems like a lot of code and I want to hear something about my plugin code structure and more.
...
1
vote
1
answer
218
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 ...
4
votes
1
answer
792
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 (...
4
votes
0
answers
625
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 ...
7
votes
1
answer
4k
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 ...