This module/function lets you find a 2 dimensional list of indices for elements you are looking for in a super list.
returns: [[0, 1, 2, 4], [3, 5], [6, 7]]
Here is a handy script that uses the simplex algorithm to compute an optimum list of refunds (for example, after a trip with shared expenses with friends).
It minimizes the number of transactions (refunds) required to reach the balance.
Market your site to a large list of Free For All link pages. Includes scripts to gather URLs, remove duplicates, verify accuracy, and automate the submission process.
Adds a template tag 'trackback_template()' that displays the list of trackbacks for a post/page. This is especially useful for sites that are displaying the comments using a seperate service (i.e. Disqus).
This module provides per-language access control for creating and updating nodes by adding a list of checkboxes for each available language to the user add/edit form (only visible to users with 'administer users' permission). These language...
Eduworks' Competency Training and Record Management System (CTRMS) is an app for aiding the user to determine the readiness of a team of people for a project or mission by running a skill gap analysis on those peoples' competencies.
I often return result sets from a database call using a list of dictionary objects. When transmitting the pickled list object over the wire, the size of the pickle greatly effects the speed of the transmission.
I wrote this small class...
List of Posts from each Category plugin for WordPress
This plugin displays a list of the posts from each category of your WordPress installation. It can be added to a post or page, or used directly in a template file. In the...
This module takes a user's time budget as well as a list of tasks (issues/cases/bugs/...) with a specified time need, and uses this data in order to calculate estimated target dates for these tasks. Optionally, target dates are then also...
This function takes a range in form of "a-b" and generate a list of numbers between a and b inclusive.
Also accepts comma separated ranges like "a-b,c-d,f" will build a list which will include numbers from a to b, a to d...
Here is a quick and dirty way to sort a list of dictionary based on a key value.
Generates a list of links used in a post. This can be used to create a list of references like those in scientific publications. Add [lor] at the end of your post (or wherever you want the list of references) and add a title attribute to all links...
Jax UpdateInfo is a script coded with PHP which helps you to manage a list of updates for any software project on your website. The script works in two modes ie :Download List- The script shows the user a list of all updates that are newer than...
One of the most frequently asked questions is how to efficiently get a list of Python dictionaries from a database query rather than the difficult-to-use list of tuples.
Group a list of items according to the starting character(s) of items.
This is based on Raymond Hettinger's groupby class:
Sometimes you get a list of lists and want to swap rows and columns, i.e. transpose the list. Yet, what if the rows have different lengths? Here is some advice you might find useful in such situations.
This module takes a list of equal length lists and converts it into XML.
If the first sublist is a list of headings, these are used to form the element names of the rest of the data, or these can be defined in the function call. Root...
The attached Matlab file estimate numerically the probability of error for M-array orthogonal signals and plot the graph BER for M-signals [2 to 64].
Numerical estimation is performed on the probability of error equation derived in...
URLiSt will generate a list of full URLs to every object on your website.
This is useful if you want a list of all your URLs to submit to search engines, or if you want to build a "Site Map" page. It's a dirty hack so it might...
A simple widget that will display a list of your sticky posts.
1. Download and unzip the most recent version of this plugin
2. Upload the sticky-posts-widget folder to...