Memorization Method
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 order total allows to add a fee to the order total according to the payment method choosen, and this fee will be shown on the payment page (important for the customer to see how much he will be charged before choosing). Works fine with COD for example.A Tax class for this fee can also be...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (56): Payment method fee Download |
This script implements the instance method for performing currying. Instance method provides a way to perform currying such that the curried function runs much faster than one produced by closure. Currying is an important technique to build callables on the fly and is well covered in other...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): High-performance currying with instance method Download |
This book introduces a new method of analyzing aeroelasticity for flexible aircraft by applying robust stability theory.For a full book description and ordering information, please visit http://www.mathworks.com/support/books/book1566.jsp.
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (56): Robust Aeroservoelastic Stability Analysis Download |
The fees and discounts will be displayed to the customer during the checkout process with small print underneath the payment method.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x - Drupal...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (55): Ubercart Payment Method Adjustments 5.x- Download |
The fees and discounts will be displayed to the customer during the checkout process with small print underneath the payment method.InstallationUnpack in your modules folder (usually /sites/all/modules/) and enable under Administer > Site Building > Modules. Requirements: - Drupal 5.x - Drupal...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (55): Ubercart Payment Method Adjustments 5.x- Download |
Decorator for main method script shows how to do the same thing with a decorator that makes the code much cleaner.This allows option and argument parsing to be hidden from the main code in your program. The user simply passes an optional getopt string and the number of required arguments. Then...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Decorator for main method Download |
Generic file processor method script helps you to manage files. Old LineReader class was thrown to /dev/null - fd will really be exhausted during each call of process(), so a simple method is enough.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Generic file processor method Download |
Problem:Each time a price is displayed on osCommerce the tax rate for that product is queried. Even if the user has set to not display taxes with price the tax rate is queried.Solution:Query for each rate one time as it is needed and then store it in session cache.What this contribution does:This...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (55): Optimize tep_get_tax_rate() method Download |
This script is a general method to figuren out all solutions of eight queens. Certainly, it can also solve any number of queens. Each solution is a list, and each value of the list represents the column number, at the same time the index of this value represents it's row number. For instance,...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): A general solution of Eight Queens Download |
This scripts shows you how to obtain the name of a method or a function from within the running method/function.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Obtaining the name of a function/method Download |
Tie is a simple method interception library for Java. It is based on the AOP Alliance interfaces, and is quick and easy to integrate into an application
Platforms: Windows, Mac, Linux
License: Freeware | Size: 549.76 KB | Download (53): Tie : Java Method Interception Download |
This small module builds an urllib2 opener that can be used to make a connection through a proxy using the http CONNECT method (that can be used to proxy SSLconnections). The current urrlib2 seems to not support this method.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): urrlib2 opener for SSL proxy Download |
Whenever a superclass implements a __init__ method to initialize its attributes, subclasses derived from it have to invoke the __init__ method of the superclass. This script is a different mechanism of initializing the attributes of a superclass with default values, achieved by overriding the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (53): Overriding __new__ for attribute initialization Download |
Karnaugh Map Minimizer is free (GPL) software for minimizing boolean functions using the graphic method of Karnaugh maps. I made it primarily for educational purposes so double check the output if you intend to use it for any "real" work. I hope it helps you with whatever you are doing.
Platforms: *nix
License: Freeware | Size: 204.8 KB | Download (53): Karnaugh Map Minimizer Download |
This contribution will allow you to choose the shipping method based on the total order, i.e. for orders under $200, ship with USPS, while for orders over $200, ship with UPS. It will also allow you to enable/disable shipping, depending on whether order is in the US or not.This is, in part, based...
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (52): Shipping Method Based On Order Total Download |
This script provides a context manager that allows the user to specify a method on the passed-in object to be called when the 'with' statement is exited. This is a generalization of contextlib.closing.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Method call when exit "with" statement Download |
Mackey-Glass Time Series Forecasting using Wang-Mendel Method
Platforms: Matlab
License: Freeware | Size: 143.36 KB | Download (52): Mackey-Glass Time Series Forecasting using Method 2 Single Stage Fuzzy Forecaster Download |
This module provides an Ubercart payment method for the SecureTrading.com gateway.The SecureTrading site reference must be entered in the payment methods admin page. You can configure whether to send SecureTrading emails to the customer and/or the merchant.The configuration page also lets you...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (52): Ubercart SecureTrading Payment Method Download |
This script presents an ideom for simplified accessors, that combines typical getter and setter functionality of an attribute into a single overloaded method, that instead of getATTRIBUTE and setATTRIBUTE can now just be called ATTRIBUTE. When called without arguments it acts as a getter and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Simplified attribute accessors using overloading Download |