Function Definitions
The plugin enhances the native WordPress post autosave function and extends it to pages and already published posts.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.2 or higher
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (61): Ajax Post Save Download |
MATLAB implementation of IGRF11 fortran code as function for calculating Earth mean magnetic field. Implementation has been modified to default to GPS reference coordinates with output B components North, East, and Vertical. Spherical harmonic coefficients are derived from downloaded Excel...
Platforms: Matlab
License: Freeware | Size: 1.01 MB | Download (60): IGRF Magnetic Field Download |
Function results are refreshed at cron time. This module is an API only.Installation - Unpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 4.7.x/5.x
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (59): Result cache Download |
Given a file path either physical or virtual with this function you can obtain the file name or the file directory.
Platforms: Windows, ASP.NET,
License: Freeware | Download (58): getFileName Function Download |
This script contains a function that finds out the gcd(a,b)(great common divisor of a and b) as a linear conbination of a anb b, ax by=gcd(a,b).
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Extended great common divisor function Download |
protect_utf8 is a function decorator that can prevent naive functions from breaking UTF-8. If the wrapped function takes a string, and that string happens to be valid UTF-8, converts it to a unicode object and call the wrapped function. If a conversion was done and if a unicode object was...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): ProtectUTF8 Download |
This script is a drop in replacement for open() function that automatically explicitly closes the file when its input is exhausted.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Automatic explicit file close Download |
The function is disabled for the_content and the_excerpt.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (58): Disable WPAUTOP Download |
The SEO Compliance Checker checks node content on search engine optimization upon its creation or modification. Whenever a publisher creates or modifies a node, the module performs a set of checks and gives the user a feedback on the compliance of the rules. This module is supported by the UFirst...
Platforms: PHP
License: Freeware | Size: 20.48 KB | Download (58): SEO Compliance Checker Download |
This simple generator function is used to call a function X times per second.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Call a function/method X times per second Download |
This script contains a function that allows you to easily sort a list by multiple columns in ascending and descending order similar in function to the ORDER BY clause in SQL.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): SQL-like ORDER BY function for lists Download |
This function takes a number (integer or float) and returns a string with the integer portion grouped by thousands and the decimal portion rounded or padded to given number of decimal places.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Number Format function Download |
A recursive function to get permutation of a list script allows you to make permutation on a list of objects. The script does not work on repeated items in the list.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): A recursive function to get permutation of a list Download |
This function decorates a function with tail call optimization. It does this by throwing an exception if it is it's own grandparent, and catching such exceptions to fake the tail call optimization. This function fails if the decorated function recurses in a non-tail contexif the de />
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Tail Call Optimization Decorator Download |
The function's algorithm uses Gaussian integer factorization and variable precision integers. Requirements: - MATLAB 7.8 or higher
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (56): Sumsqint Download |
phpfunc is a command line perl script that returns documentation on a builtin php function, works like perldoc -f function. phpfunc currently requires a connection to a web server that is serving the plain html version of php online documentation. This may be placed on a local web server to...
Platforms: Windows, Mac, *nix, Perl, BSD Solaris
License: Freeware | Download (56): phpfunc 0.1b Download |
The kfgetpostsbyhits() function can be called anywhere from inside the template. InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.7 or higher
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (56): KF most read Download |
This function solves the mixed integer linear programming problems. It uses the linprog.m function that comes with the optimization toolbox of MATLAB. It employs the branch and bound algorithm. It uses depth first search
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (56): mixed-integer LP Download |
A simple function to copy figure from MATLAB into MS Word automatically. It is a modification of saveppt (a function in File exchange) that save figures to MS Powerpoint.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (55): save2word Download |
In functional programming, currying is a way to bind arguments with a function and wait for the rest of the arguments to show up later. You "curry in" the first few parameters to a function, giving you a function that takes subsequent parameters as input and calls the original with all of those...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Associating parameters with a function Download |