Script Take The Lead
for loop - simple script is the for loop - basic control structure. This example loops until the variable hits 10 and then breaks out.
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (61): for loop - simple Download |
This script has the following action: if the specified file exists, it is versioned by appending to the extension a three-digit number, starting with "000".It's pomp;quot;0ake backups of files before you mangle them. A standard way of doing so is to appending to the extension an incremented...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (61): Versioning file names Download |
phpIndex is a file index generating script for the PHP-enabled web server. It will show all files/file sizes, sub-folder in the folder on the left hand side menu frame, including total number of the files, and total file size.
Platforms: Windows, Mac, *nix, PHP, Solaris
License: Freeware | Download (60): phpIndex Download |
This script validates the entered value to see if it conforms to the ICD-10 format. (It does not check whether the code exists in the ICD-10 WHO library.)
Platforms: JavaScript
License: Freeware | Size: 10 KB | Download (60): ICD-10 Code Format Validation Download |
create array from comma separated list script uses the PHP Explode() command to create an array from a comma separated list.By changing the delimiter you can convert tab separated, newline separated, etc...
Platforms: Windows, Mac, *nix, PHP, BSD Solaris
License: Freeware | Download (60): create array from comma separated list Download |
This script returns the hash code (as an hex string) for a given file.There's no much to say, since Python does all for you. The only thing to notice is that usually file hashing (MD5, SHA1 and so on) is needed to compare very large files.So in readfile, I read the file in chunks of 1kb.You can...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (60): Simple file hashing Download |
This script uses the flac command line tools for reading a FLAC files.The scripts blends and uses the current Wavread interface. Key features "Fast FLAC Reader": - Raw file generation, for faster loading - Native and double output - 'size' query - Range decoding [from to] - Flac and metaflac...
Platforms: Windows, Mac, *nix, Matlab, BSD Solaris
License: Freeware | Download (60): Fast FLAC Reader Download |
The script shares the same functionality as the module except it is designed to be used if you cannot access the admin section of your website.
Platforms: Windows, *nix, PHP, BSD
License: Freeware | Download (59): XOOPS Info Script Download |
phpLogFacility is a log class for PHP (like log4j for java or the dead log4php projects here), which enables you to use an easy to use logging mechanism inside your console or web script without the need of ugly debug screen output.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 8.07 KB | Download (59): phpLogFacility (a working log4php) Download |
This javascript can take the contents of an HTML order form, process them, and display the order for verification even including the grand total! When the user confirms the order by clicking the button, the order is emailed to you by using freedback.com's free form processor cgi script.
Platforms: JavaScript
License: Freeware | Size: 102.4 KB | Download (58): Confirmable Order Form Download |
This script reads the content of the two md5 files in two lists. It will compare and differentiate the two md5 files.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): md5diff Download |
This script overrides the Python built in function TextWrapper.wrap with an implementation that handles spiltting a document into paragraphs and processing each individually. This allows things such as initial_indent to work as expected.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): TextWrapper Download |
This script provides the ability to write your own Python shell, which you can use to filter out input or output, and embed it in another application.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (58): Embed a Python shell in a user interface Download |
This script gets the sizes of all the monitors on a multi-monitor Windows PC.It gets both the actual resolution and the usable ("work") resolutions. The usable resolution excludes the taskbar and docked applications. Requirements: - ctypes module
Platforms: Windows, Python,
License: Freeware | Download (58): Get actual sizes of all monitors Download |
This script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
Platforms: *nix, Python, BSD
License: Freeware | Download (57): Get the IP address of a network interface Download |
This script enables the group_by functionality like the similar function existing in Ruby on Rails.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Group and partition Download |
This script finds the complement of a set of indices from a specific arange(n) array. Suppose, for example, you are given a linear array with 10 elements and you want to extract the elements from this array that have indices other than [1, 3, 5].You can then use this recipe to first find the...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): A numarray set complement Download |
This script uses the system_profiler application to retrieve detailed information about a Mac OS X system.There are two useful ways to use it: the first is to ask for a complete Python datastructure containing information about the system (see OSXSystemProfiler.all()) and the other is two ask...
Platforms: Mac, Python,
License: Freeware | Download (57): Gather detailed system information on Mac OS X Download |
This script parses the online documentation for compiler.ast and generate code for a skeletal ASTVisitor class that includes stubs for all of the various visitNODE functions that you might need in a visitor, along with comments in each function that list that node type's attributes.
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): ASTVisitor generator Download |
This script finds the shortest paths from the start vertex to all vertices nearer than or equal to the end.The input graph G is assumed to have the following representation: A vertex can be any object that can be used as an index into a dictionary. G is a dictionary, indexed by vertices.For any...
Platforms: Windows, Mac, *nix, Python, BSD Solaris
License: Freeware | Download (57): Dijkstra's algorithm for shortest paths Download |