Suicide Methods
B::More Perl module contains additional introspection methods and functions. Adds stuff I needed in B and wasnt there. Feel free to email me with suggestions for other methods I can add. B::SV METHODS svref Inverse of B::svref_2object. B::PVMG METHODS magic Returns a string...
Platforms: *nix
License: Freeware | Size: 3.07 KB | Download (87): B::More Download |
B::OptreeShortestPath is a Perl module that adds the methods ->shortest_path( $op ) and ->all_paths() to all B::OP objects in an optree. SYNOPSIS use B qw( main_root main_start ); use B::OptreeShortestPath; for ( main_start()->shortest_path( main_root() ) ) { print "$_n"; } METHODS...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (86): B::OptreeShortestPath Download |
ImplicitThis is a syntactical sugar for OO methods. SYNOPSIS use ImplicitThis; ImplicitThis::imply(); sub new { my $type = shift; my %args = @_; # must be blessed hash object bless { foo => $args{foo}, bar => $args{bar}, }, $type; } sub my_accessor { # $this is read for us. $bar...
Platforms: *nix
License: Freeware | Size: 4.1 KB | Download (86): ImplicitThis Download |
This script is useful for decorating functions/methods that you'd like to disable from the main loop or commandline via optparse.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (81): decorator: suppressable Download |
VisualStat is a comprehensive and versatile desktop statistics package that is simple for beginners, yet powerful enough for experts. It is designed for business, science, marketing, and education, with fully functional spreadsheet. It incorporates all the descriptive statistics, parametric and...
Platforms: Windows 8, Windows, Windows 7
License: Shareware | Cost: $99.00 USD | Size: 558.73 MB | Download (63): VisualStat Download |
Brahmi project aims at producing Java Input Methods and OpenType fonts for Indian languages. They are bundled with Brahmi - Word Processor which installs the fonts, Input Methods and font.properties files
Platforms: Windows, Mac, Linux
License: Freeware | Size: 907.02 KB | Download (60): Brahmi - Indic Input Methods & OT fonts Download |
People are committing suicide by throwing themselves from the castle walls! You must kill them before they hit the ground or the special kind of hell reserved for suicides will become full and EXPLODE!
Platforms: Windows
License: Freeware | Size: 7.72 MB | Download (58): People Shooter Download |
M-files accompanying the " Genetic Algorithms & New Optimization Methods in MATLAB " webinar.These files provide what you need to run the two demos: Optimization of non-smooth objective function, and Optimization of a random stochastic objective function.To run the first demo run the file...
Platforms: Matlab
License: Freeware | Size: 10 KB | Download (58): Optimization with MATLAB and the Genetic Algorithm and Direct Search Toolbox Download |
This script allows you to add a method to a class at an arbitrary point in your code. The method is available instantly to all already existing instances and of course ones yet to be created. If you specify method_name then that name is used for the method call.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Dynamically added methods to a class Download |
Sometimes you define properties in base class and override the getter setter methods in derived classes. Then you find out the base class though has derived properties are still pointing to baseclasse's methods not the overriden ones.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (56): Rebind class properties Download |
When creating a class,one often end up writing lots get/set methods which essentially do the same thing e.g. get_name, get_age, ... , set_name, set_age, ... - each such method will simply set or return the value of its associated attribute. This script is a stategy for automating the creation of...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Generating get/set methods using closures Download |
The point is that python doesn't have a notion of abstract methods.Abstract methods are part of a base class that defines an interface, without any code. Abstract methods can't be called directly, because they don't contain any code in their definition. In the definition of the base class, you...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (55): Abstract methods/classes Download |
Javascript Tools provides a common set of methods extending those available in Drupal core (drupal.js) for Javascript and AJAX module development in Drupal.Installation - To install, move this directory and all its subdirectories to your sites/all/modules directory. - Enable it in Administer ->...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (55): Javascript Tools Download |
Class methods were introduced in python2.2. This script illustrates how the same effect can be achieved in python 2.1.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (54): Classmethod emulation in python2.1 Download |
This module adds workflow_ng (in Drupal 5) and Conditional Actions (in Drupal 6) support to Ubercart payment methods, so payment methods can be restricted by cart total, user role, or any other conditions that these modules provide.This does not override the standard payment methods page at...
Platforms: PHP
License: Freeware | Size: 10 KB | Download (53): Ubercart Conditional Payment Download |
In Python, any variable can be re-bound at will -- and modules don't let you define special methods such as an instance's __setattr__ to stop attribute re-binding. This script allows you to manage constants in Python.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): Constants in Python Download |
This script allows you to create custom list classes from a small subset of list methods.Subclasses should define _get_element(i), _set_element(i, value), __len__(), _resize_region(start, end, new_size) and _constructor(iterable). Define __iter__() for extra speed. The _get_element() and...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (52): List mixin Download |
There are three methods (1, 2 & 3 [Back-propagation]) for forecasting a time series. Here is a collection of MATLAB programming, screen shorts, Fig files giving results. Follow comments in the files to run programs
Platforms: Matlab
License: Freeware | Size: 256 KB | Download (52): Mackey-Glass Time Series Forecasting using Method 1 Single Stage Fuzzy Forecaster Download |
Value-at-Risk calculation for portfolio stocks using variance-covariance, historical and MonteCarlo methods. Portfolio can be larger as you want including either the risk factor (stock index, currency, etc.)
Platforms: Matlab
License: Freeware | Size: 276.48 KB | Download (52): PortVaR Download |
Mutating list methods such as 'append' or 'extend' return None instead of the (mutated) list itself. Sometimes, this is not the desired behaviour. To have a reference to the (mutated) list returned is usefull, if one wants to chain commands such as mylistinstance.append(7).sort().
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (51): Changing return value for mutating list methods Download |