echo
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 185
mass
mass is a program that lets a system administrator execute programs on some set of machines as root. more>>
mass.pl is the implementation of a relatively simple idea. Instead of interactively doing some task on one machine, then duplicating the effort on N other machines, write a shell script, then scp it to N machines and execute it as root.
Example
(sic@foo)($:~/mass)- ./mass.pl --name solaris --script pushsomething --su --sshpass
sudo password:
ssh password:
trying to run pushsomething on 1 machines
test
test
PING test.example.com (10.1.1.10) from 10.1.2.3 : 56(84) bytes of data.
64 bytes from 10.1.1.10: icmp_seq=1 ttl=64 time=0.142 ms
--- test.example.com ping statistics ---
1 packets transmitted, 1 received, 0% loss, time 0ms
rtt min/avg/max/mdev = 0.142/0.142/0.142/0.000 ms
pushsomething 100% |*****************************| 183 00:00
test.txt 100% |*****************************| 15 00:00
sic@tests password: sh-2.05a$ PS1=$ ; PATH=/usr/local/bin:/bin:/usr/bin:/usr/s;export PS1;export PATH
$ sudo -K ; sudo sh
Password:
$ PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin ; export PATH
$ if [ `id|cut -d -f 1` = uid=0(root) ]; then PS1=# ; fi
# sh pushsomething && echo script done || echo script failed
script done
# /bin/rm pushsomething test.txt && echo removed pushsomething test.txt
removed pushsomething test.txt
#
1 passed: test
0 failed:
0 fatal errors:
<<lessExample
(sic@foo)($:~/mass)- ./mass.pl --name solaris --script pushsomething --su --sshpass
sudo password:
ssh password:
trying to run pushsomething on 1 machines
test
test
PING test.example.com (10.1.1.10) from 10.1.2.3 : 56(84) bytes of data.
64 bytes from 10.1.1.10: icmp_seq=1 ttl=64 time=0.142 ms
--- test.example.com ping statistics ---
1 packets transmitted, 1 received, 0% loss, time 0ms
rtt min/avg/max/mdev = 0.142/0.142/0.142/0.000 ms
pushsomething 100% |*****************************| 183 00:00
test.txt 100% |*****************************| 15 00:00
sic@tests password: sh-2.05a$ PS1=$ ; PATH=/usr/local/bin:/bin:/usr/bin:/usr/s;export PS1;export PATH
$ sudo -K ; sudo sh
Password:
$ PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/local/sbin:/sbin ; export PATH
$ if [ `id|cut -d -f 1` = uid=0(root) ]; then PS1=# ; fi
# sh pushsomething && echo script done || echo script failed
script done
# /bin/rm pushsomething test.txt && echo removed pushsomething test.txt
removed pushsomething test.txt
#
1 passed: test
0 failed:
0 fatal errors:
Download (0.012MB)
Added: 2005-09-21 License: Artistic License Price:
2368 downloads
Command Line WRAPper 0.3.0
Command Line WRAPper is a tool to build and run commands from input lines. more>>
Command Line WRAPper is a tool that provides an easy way to build and run commands from input lines, avoiding the use of shell script. It is similar to xargs.
clwrap can make great things with the locate command, and is low resource intensive. It can also do some not-quite-fun works like multiple configure/make/make install after a fresh system installation. In practice, you have to generate a list of files/directories you want to manage, clwrap takes it in standard input and apply the command you want to apply for each files (lines) in input.
But you can do much more, in fact, its up to you to find how to use it ;).
examples:
- copying several files into one specific directory:
locate myfiles | clwrap -e cp {} mydir/
- renaming several files:
ls -1 ultra*
| clwrap -e "echo -n mv -v {}" -e "echo {} | sed s/ultra/ /"
| clwrap -e {}
- running a specific line in the shell history:
history | grep "482" | head -n 1 | sed s/ *[0-9]* *// | clwrap -v -e {}
- try all tv norms and frequency tables possible combinations with scantv:
cat norm
| clwrap -e "cat freq | clwrap -e echo scantv -n {} -f {}"
| clwrap -e {} > file 2>&1
- reformat source code, after a backup of course:
ls -1 | clwrap -e "cp {} {}.orig && flip -u {} && cat {}
| sed s/^[ t]*$//;/^$/d
| indent -kr -bad -bap -bbb -sob -i8 -l100 {} -o {}.tmp
&& mv {} tmp && mv {}.tmp {}"
<<lessclwrap can make great things with the locate command, and is low resource intensive. It can also do some not-quite-fun works like multiple configure/make/make install after a fresh system installation. In practice, you have to generate a list of files/directories you want to manage, clwrap takes it in standard input and apply the command you want to apply for each files (lines) in input.
But you can do much more, in fact, its up to you to find how to use it ;).
examples:
- copying several files into one specific directory:
locate myfiles | clwrap -e cp {} mydir/
- renaming several files:
ls -1 ultra*
| clwrap -e "echo -n mv -v {}" -e "echo {} | sed s/ultra/ /"
| clwrap -e {}
- running a specific line in the shell history:
history | grep "482" | head -n 1 | sed s/ *[0-9]* *// | clwrap -v -e {}
- try all tv norms and frequency tables possible combinations with scantv:
cat norm
| clwrap -e "cat freq | clwrap -e echo scantv -n {} -f {}"
| clwrap -e {} > file 2>&1
- reformat source code, after a backup of course:
ls -1 | clwrap -e "cp {} {}.orig && flip -u {} && cat {}
| sed s/^[ t]*$//;/^$/d
| indent -kr -bad -bap -bbb -sob -i8 -l100 {} -o {}.tmp
&& mv {} tmp && mv {}.tmp {}"
Download (0.042MB)
Added: 2005-04-04 License: GPL (GNU General Public License) Price:
1664 downloads
posh 0.3.14
posh is a Policy-compliant Ordinary SHell. more>>
posh is a stripped-down version of pdksh with several improvements that aims for compliance with Debians /bin/sh policy, and few extra features.
Currently, Debians policy is to adhere to POSIX with the exception of supporting echo -n, so posh strives toward compliance with SUSv3 (with the exception of echo -n).
<<lessCurrently, Debians policy is to adhere to POSIX with the exception of supporting echo -n, so posh strives toward compliance with SUSv3 (with the exception of echo -n).
Download (0.65MB)
Added: 2005-04-04 License: GPL (GNU General Public License) Price:
1663 downloads
BootRoot 0.4
BootRoot it creates a separate boot and root Linux system. more>>
BootRoot creates a boot disk with lilo, a kernel and an initrd image. The initrd script mounts another root disk with a compressed (gzip or bzip2) filesystem.
The root filesystem isnt made by this program, but there lots of compressed filesytems out there to use.
You can use a bzip2 compressed filesystem, this program is easy to use, and it provides a framework showing a simple initrd method which you can freely modify.
The four steps to making a Boot Root set.
1). Grab the Perl Script right here .. boot_root give it a name .. umm .. boot_root.
2). Make sure the bang line points to the right place:
$ which perl
/usr/bin/perl
$ grep "perl -w" boot_root
#!/usr/bin/perl -w
3). Make it executable:
$ chmod 755 boot_root
4). Put it in one of your LIB PATHS:
$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:.:
$ mv boot_root /usr/bin
5). Run it, and have lots of fun! More directions can be found at the beginning of the script.
<<lessThe root filesystem isnt made by this program, but there lots of compressed filesytems out there to use.
You can use a bzip2 compressed filesystem, this program is easy to use, and it provides a framework showing a simple initrd method which you can freely modify.
The four steps to making a Boot Root set.
1). Grab the Perl Script right here .. boot_root give it a name .. umm .. boot_root.
2). Make sure the bang line points to the right place:
$ which perl
/usr/bin/perl
$ grep "perl -w" boot_root
#!/usr/bin/perl -w
3). Make it executable:
$ chmod 755 boot_root
4). Put it in one of your LIB PATHS:
$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:.:
$ mv boot_root /usr/bin
5). Run it, and have lots of fun! More directions can be found at the beginning of the script.
Download (0.030MB)
Added: 2005-04-11 License: GPL (GNU General Public License) Price:
1658 downloads
Echo Web Application Framework 1.1.4
Echo Web Application Framework is an object-oriented, event-driven Web application framework. more>>
Echo is a framework for developing object-oriented, event-driven Web applications.
Echo removes the developer from having to think in terms of "page-based" applications and enables him/her to develop applications using the conventional object-oriented and event-driven paradigm for user interface development.
Knowledge of HTML, HTTP, and JavaScript is not required. Echo is open-source software distributed under the terms of the Mozilla Public License or the GNU LGPL License.
Enhancements:
- Version 1.1.4 adds support for specifying the order of tab-based navigation of components. The release also fixes bugs reported in previous versions, including the issues discovered with setting component focus.
<<lessEcho removes the developer from having to think in terms of "page-based" applications and enables him/her to develop applications using the conventional object-oriented and event-driven paradigm for user interface development.
Knowledge of HTML, HTTP, and JavaScript is not required. Echo is open-source software distributed under the terms of the Mozilla Public License or the GNU LGPL License.
Enhancements:
- Version 1.1.4 adds support for specifying the order of tab-based navigation of components. The release also fixes bugs reported in previous versions, including the issues discovered with setting component focus.
Download (0.80MB)
Added: 2005-05-05 License: LGPL (GNU Lesser General Public License) Price:
1635 downloads
ImageBackup 1.8
ImageBackup creates incremental backup CDs of digital pictures. more>>
This is a small Perl script to create backup CDs out of images. I like to organize my digital pictures into a directory structure based on image content and subject. I dont store them by date. This makes it nice to find pictures, but difficult to back them up without using traditional incremental backup software and/or backing up some images more than once.
Although this program is made to work well with AutoScrapbook, it can work with any directory of images. You run the program and specify a base directory. The directory is processed recursively and any images are mirrored into a staging area.
Once enough images are in the staging area, the program will (optionall) run AutoScrapbook to create a set of web pages specifically for that disc of images. It will then create an ISO image that you can burn to CD when convenient. This script is made to work on Linux, but could work on other systems with a bit of modification.
Once a disc has been created, the list of images that were on that disc is stored in a hidden data file in the base directory specified. You can then run ImageBackup on that directory again. Any images not included in any previous backups will be mirrored to the (now empty) staging directory.
If the directory fills, another ISO will be generated. If not, the staging directory will remain partially-filled. You can then run ImageBackup regularly (i.e. from cron even) and new images will be added to the staging directory as they are found. Whenever the disc is full enough, an ISO is generated, and the whole process starts over.
Installation/Use
To use the program, simply download the program below and place it somewhere on your system. If your Perl interpreter is not in /usr/bin/perl, you will have to edit the first line of the file.
Edit the program and change any of the variables near the top that need to be changed.
Then, simply run the program with a directory name as a parameter. You should always enter the same base directory name for good results. If, for example, you run ImageBackup on ~/pictures and created a backup CD, you should always run it on the same directory from then on.
Automatic Runs
You can have this script run automatically -- say once per week. Just run this script from cron (on Red Hat Linux, for example, just place this in /etc/cron.weekly):
#!/bin/bash
email="kirk@kaybee.org"
image_backup="/home/kirk/projects/misc/image_backup.pl"
DIRS="/export/share/pictures"
TEMPDIR="/home/kirk/tmp"
mkdir -p "$TEMPDIR"
for dir in $DIRS ; do
echo "Processing directory $dir"
echo
iso=`$image_backup $dir 2> "$TEMPDIR/image_backup.errors" | grep ^ISO Image Ready:`
if [ $? == 0 ] ; then
echo "$iso"
mail -s "$iso" $email < /dev/null
exit 0
elif [ $? == -1 ] ; then
echo "Not enough images yet..."
exit -1
else
echo "ERROR running image backup!" >&2
mail -s Image backup errors! $email < "$TEMPDIR/image_backup.errors"
exit 1
fi
done
Now you will receive an email whenever a new ISO image is available or if there are any errors.
Note that if you configure ImageBackup to use AutoScrapbook to create an index on the backup CDs, you must have already run AutoScrapbook on the source directories if you are running ImageBackup non-interactively.
If you havent, then picture descriptions will be requested during the cron job, which wont work too well.
<<lessAlthough this program is made to work well with AutoScrapbook, it can work with any directory of images. You run the program and specify a base directory. The directory is processed recursively and any images are mirrored into a staging area.
Once enough images are in the staging area, the program will (optionall) run AutoScrapbook to create a set of web pages specifically for that disc of images. It will then create an ISO image that you can burn to CD when convenient. This script is made to work on Linux, but could work on other systems with a bit of modification.
Once a disc has been created, the list of images that were on that disc is stored in a hidden data file in the base directory specified. You can then run ImageBackup on that directory again. Any images not included in any previous backups will be mirrored to the (now empty) staging directory.
If the directory fills, another ISO will be generated. If not, the staging directory will remain partially-filled. You can then run ImageBackup regularly (i.e. from cron even) and new images will be added to the staging directory as they are found. Whenever the disc is full enough, an ISO is generated, and the whole process starts over.
Installation/Use
To use the program, simply download the program below and place it somewhere on your system. If your Perl interpreter is not in /usr/bin/perl, you will have to edit the first line of the file.
Edit the program and change any of the variables near the top that need to be changed.
Then, simply run the program with a directory name as a parameter. You should always enter the same base directory name for good results. If, for example, you run ImageBackup on ~/pictures and created a backup CD, you should always run it on the same directory from then on.
Automatic Runs
You can have this script run automatically -- say once per week. Just run this script from cron (on Red Hat Linux, for example, just place this in /etc/cron.weekly):
#!/bin/bash
email="kirk@kaybee.org"
image_backup="/home/kirk/projects/misc/image_backup.pl"
DIRS="/export/share/pictures"
TEMPDIR="/home/kirk/tmp"
mkdir -p "$TEMPDIR"
for dir in $DIRS ; do
echo "Processing directory $dir"
echo
iso=`$image_backup $dir 2> "$TEMPDIR/image_backup.errors" | grep ^ISO Image Ready:`
if [ $? == 0 ] ; then
echo "$iso"
mail -s "$iso" $email < /dev/null
exit 0
elif [ $? == -1 ] ; then
echo "Not enough images yet..."
exit -1
else
echo "ERROR running image backup!" >&2
mail -s Image backup errors! $email < "$TEMPDIR/image_backup.errors"
exit 1
fi
done
Now you will receive an email whenever a new ISO image is available or if there are any errors.
Note that if you configure ImageBackup to use AutoScrapbook to create an index on the backup CDs, you must have already run AutoScrapbook on the source directories if you are running ImageBackup non-interactively.
If you havent, then picture descriptions will be requested during the cron job, which wont work too well.
Download (0.005MB)
Added: 2005-05-04 License: MIT/X Consortium License Price:
1634 downloads
GNUitar 0.3.2
GNUitar is a real-time guitar processor. more>>
GNUitar is a real-time guitar processor.
This is a program for real-time sound effect processing. You can use it to add some distortion to your guitar, or some reverb to your voice.
Main features:
- 2 kinds of distortion (one is Ibanez TubeScreamer 9 simulation)
- sustain
- various flavors of reverb, echo & delay
- chorus/flanger
- equalizer
- noise reduction
- wah-wah
- phasor
- tremolo
- vibrato
<<lessThis is a program for real-time sound effect processing. You can use it to add some distortion to your guitar, or some reverb to your voice.
Main features:
- 2 kinds of distortion (one is Ibanez TubeScreamer 9 simulation)
- sustain
- various flavors of reverb, echo & delay
- chorus/flanger
- equalizer
- noise reduction
- wah-wah
- phasor
- tremolo
- vibrato
Download (0.15MB)
Added: 2005-07-19 License: GPL (GNU General Public License) Price:
1562 downloads
hping 2.0.0-rc3
hping is a command-line oriented TCP/IP packet assembler/analyzer. more>>
hping is a command-line oriented TCP/IP packet assembler/analyzer. The interface is inspired to the ping(8) unix command, but hping isnt only able to send ICMP echo requests.
It supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, and many other features.
Main features:
- Firewall testing
- Advanced port scanning
- Network testing, using different protocols, TOS, fragmentation
- Manual path MTU discovery
- Advanced traceroute, under all the supported protocols
- Remote OS fingerprinting
- Remote uptime guessing
- TCP/IP stacks auditing
- hping can also be useful to students that are learning TCP/IP.
Enhancements:
- Fixed a problem with the checksum code. Some packet was generated with the wrong checksum! Please upgrade to rc3 ASAP.
- Scan mode. You can use hping as a low-level automated TCP port scanner. An example of output follows
<<lessIt supports TCP, UDP, ICMP and RAW-IP protocols, has a traceroute mode, the ability to send files between a covered channel, and many other features.
Main features:
- Firewall testing
- Advanced port scanning
- Network testing, using different protocols, TOS, fragmentation
- Manual path MTU discovery
- Advanced traceroute, under all the supported protocols
- Remote OS fingerprinting
- Remote uptime guessing
- TCP/IP stacks auditing
- hping can also be useful to students that are learning TCP/IP.
Enhancements:
- Fixed a problem with the checksum code. Some packet was generated with the wrong checksum! Please upgrade to rc3 ASAP.
- Scan mode. You can use hping as a low-level automated TCP port scanner. An example of output follows
Download (0.12MB)
Added: 2005-09-21 License: GPL (GNU General Public License) Price:
1528 downloads
Caiviar 0.3.5
Caiviar is an Interactive Voice Response (IVR) System based on CAPI. more>>
Caiviar is an Interactive Voice Response (IVR) System based on CAPI.
It runs on Linux and Windows systems, and supports Text-To-Speech (most notably Realspeak and Festival), multithreading, Barge In, 3 Party Conference, G3 Fax etc.
It has a very simple interface, allowing fast creation of Telephony applications, like e.g. Voiceboxes, Authentication systems, automatic Callcenters etc.
Languages supported include Java, C++, Perl and Python. The source code for Caiviar is freely available.
Enhancements:
- several bugfixes.
- delay (echo) of the connect() function has been greatly reduced.
<<lessIt runs on Linux and Windows systems, and supports Text-To-Speech (most notably Realspeak and Festival), multithreading, Barge In, 3 Party Conference, G3 Fax etc.
It has a very simple interface, allowing fast creation of Telephony applications, like e.g. Voiceboxes, Authentication systems, automatic Callcenters etc.
Languages supported include Java, C++, Perl and Python. The source code for Caiviar is freely available.
Enhancements:
- several bugfixes.
- delay (echo) of the connect() function has been greatly reduced.
Download (0.26MB)
Added: 2005-09-21 License: GPL (GNU General Public License) Price:
1493 downloads
chan_misdn 0.2.1
chan_misdn is a channel driver for the open source PBX Asterisk for using ISDN BRI/PRI devices that are supported by mISDN. more>>
chan_misdn is a channel driver for the open source PBX Asterisk for using ISDN BRI/PRI devices that are supported by mISDN. chan_misdn is the new ISDN Layer for Linux.
Main features:
- NT and TE mode
- PP and PMP mode
- BRI and PRI (with BNE1 and BN2E1 Cards)
- DTMF Detection in HW+mISDNdsp (much better than asterisks internal!)
- Display Messages to Phones (which support display msg)
- HOLD/RETRIEVE/TRANSFER on ISDN Phones : )
- Screen/ Not Screen User Number
- Basic EchoCancellation
- Volume Control
- Crypting with mISDNdsp (Blowfish)
- Data (HDLC) callthrough
- Data Callin (with app_ptyfork +pppd)
- echo cancellation
- some other
Enhancements:
- Release management was changed.
- This is the first stable version.
<<lessMain features:
- NT and TE mode
- PP and PMP mode
- BRI and PRI (with BNE1 and BN2E1 Cards)
- DTMF Detection in HW+mISDNdsp (much better than asterisks internal!)
- Display Messages to Phones (which support display msg)
- HOLD/RETRIEVE/TRANSFER on ISDN Phones : )
- Screen/ Not Screen User Number
- Basic EchoCancellation
- Volume Control
- Crypting with mISDNdsp (Blowfish)
- Data (HDLC) callthrough
- Data Callin (with app_ptyfork +pppd)
- echo cancellation
- some other
Enhancements:
- Release management was changed.
- This is the first stable version.
Download (0.12MB)
Added: 2005-12-06 License: GPL (GNU General Public License) Price:
1418 downloads
libshape 20060117
libshape is library for limiting the download rate of programs. more>>
libshape is library for limiting the download rate of programs.
libshape library works entirely in user space with existing programs through LD_PRELOAD.
Are tested with threaded programs. This limiting is done entirely in user space. You only need to start Your program with
$ LIBSHAPE_CFG=/home/user/.libshape/program1
LD_PRELOAD=libshape.so
./program1
to limit download rate to 14Kbps You need to convert this rate to Bps:
$ echo $[14 * 1024 / 8] > /home/user/.libshape/program1
You cant dissable limiter, but you can set it to very high limit.
You can change download rate on the fly. Changes will occur in 1-5 seconds, becous there are some buffers in kernel space.
<<lesslibshape library works entirely in user space with existing programs through LD_PRELOAD.
Are tested with threaded programs. This limiting is done entirely in user space. You only need to start Your program with
$ LIBSHAPE_CFG=/home/user/.libshape/program1
LD_PRELOAD=libshape.so
./program1
to limit download rate to 14Kbps You need to convert this rate to Bps:
$ echo $[14 * 1024 / 8] > /home/user/.libshape/program1
You cant dissable limiter, but you can set it to very high limit.
You can change download rate on the fly. Changes will occur in 1-5 seconds, becous there are some buffers in kernel space.
Download (0.004MB)
Added: 2006-01-18 License: LGPL (GNU Lesser General Public License) Price:
1374 downloads
tcptraceroute 1.5 Beta6
tcptraceroute is a traceroute implementation using TCP packets. more>>
tcptraceroute project is a traceroute implementation using TCP packets.
The more traditional traceroute(8) sends out either UDP or ICMP ECHO packets with a TTL of one, and increments the TTL until the destination has been reached. By printing the gateways that generate ICMP time exceeded messages along the way, it is able to determine the path packets are taking to reach the destination.
The problem is that with the widespread use of firewalls on the modern Internet, many of the packets that traceroute(8) sends out end up being filtered, making it impossible to completely trace the path to the destination.
However, in many cases, these firewalls will permit inbound TCP packets to specific ports that hosts sitting behind the firewall are listening for connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common firewall filters.
<<lessThe more traditional traceroute(8) sends out either UDP or ICMP ECHO packets with a TTL of one, and increments the TTL until the destination has been reached. By printing the gateways that generate ICMP time exceeded messages along the way, it is able to determine the path packets are taking to reach the destination.
The problem is that with the widespread use of firewalls on the modern Internet, many of the packets that traceroute(8) sends out end up being filtered, making it impossible to completely trace the path to the destination.
However, in many cases, these firewalls will permit inbound TCP packets to specific ports that hosts sitting behind the firewall are listening for connections on. By sending out TCP SYN packets instead of UDP or ICMP ECHO packets, tcptraceroute is able to bypass the most common firewall filters.
Download (0.14MB)
Added: 2006-03-10 License: GPL (GNU General Public License) Price:
1345 downloads
getAbsPath 1.4
getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) which converts relative unix/win32 pathes to absolute one more>>
getAbsPath is a C header (getAbsPath.h) or an ANSI C tool (getAbsPath) which converts relative unix/win32 pathes to absolute ones.
getAbsPath uses current working directory (CWD) as basis. Use it e.g. for finding out the current path of a shell script.
EXAMPLE:
find out the current path of a script, using the $0 and the ` pwd` command
#!/bin/bash
PWD=`pwd`
RelPath="../../../testdir"
GAP=`./getAbsPath $PWD $0`
echo $GAP
exit 0
<<lessgetAbsPath uses current working directory (CWD) as basis. Use it e.g. for finding out the current path of a shell script.
EXAMPLE:
find out the current path of a script, using the $0 and the ` pwd` command
#!/bin/bash
PWD=`pwd`
RelPath="../../../testdir"
GAP=`./getAbsPath $PWD $0`
echo $GAP
exit 0
Download (0.009MB)
Added: 2006-03-31 License: Public Domain Price:
1304 downloads
SoundCard Plugin 1.0.0
SoundCard Plugin is an input plugin for XMMS which enables to read audio data directly from the soundcard. more>>
SoundCard Plugin is an input plugin for XMMS which enables to read audio data directly from the soundcard.
Using the plugin you can now use your computer with the XMMS player as a powerful sound processor with any of XMMS effect plugins, such as, equalizer or echo effects.
In particular, this plugin in combination with the FIR filter plugin enables you to use your PC as a DSP to process audio data in real-time using long FIR filters without any need for dedicated DSP hardware.
<<lessUsing the plugin you can now use your computer with the XMMS player as a powerful sound processor with any of XMMS effect plugins, such as, equalizer or echo effects.
In particular, this plugin in combination with the FIR filter plugin enables you to use your PC as a DSP to process audio data in real-time using long FIR filters without any need for dedicated DSP hardware.
Download (0.20MB)
Added: 2006-04-05 License: GPL (GNU General Public License) Price:
1303 downloads
php-json 1.2.1
php-json is an extremely fast PHP C extension for JSON (JavaScript Object Notation) serialisation. more>>
php-json is an extremely fast PHP C extension for JSON (JavaScript Object Notation) serialisation. php-json project library uses a forked version of json-c.
It can be used in conjunction with XMLHTTPRequest to exchange JavaScript-encoded data with a browser.
Usage:
A simple ./configure; make; make install should do the trick. Make sure to add an extension=json.so line to your php.ini/php.d. Note: you need to compile php-json with gcc 3.x and up.
Then, just use json_encode to encode your PHP values into JSON, and json_decode to decode JSON into a PHP value.
For example:
$output = json_encode($val);
echo $output."n";
Would produce:
{ "abc": 12, "foo": "bar", "bool0": false, "bool1": true, "arr": [ 1, 2, 3, null, 5 ], "float": 1.2345 }
While:
$input = { "abc": 12, "foo": "bar", "bool0": false, "bool1": true, "arr": [ 1, 2, 3, null, 5 ], "float": 1.2345 };
$val = json_decode($input);
echo $val->abc."n";
Would produce:
12
As of version 1.0.5, json_decode takes an optional parameter, assoc (boolean), that returns an associative array instead of an object.
A PHP object correlates to a JavaScript object (associative array, i.e., key => value pairs), so the above would be referenced in JavaScript like so:
var obj = ...; /* retrieve JSON and eval() it, returning an object */
var result = obj["abc"] * obj["float"];
alert("result is " + result);
This should display an alert box with the value of result, i.e., 14.814.
Enhancements:
- A complete rewrite using JSON_checker as the base for the parser.
- Implements the JSON specification.
- Significant performance improvements on encoding.
- Re-licensed under the PHP license.
<<lessIt can be used in conjunction with XMLHTTPRequest to exchange JavaScript-encoded data with a browser.
Usage:
A simple ./configure; make; make install should do the trick. Make sure to add an extension=json.so line to your php.ini/php.d. Note: you need to compile php-json with gcc 3.x and up.
Then, just use json_encode to encode your PHP values into JSON, and json_decode to decode JSON into a PHP value.
For example:
$output = json_encode($val);
echo $output."n";
Would produce:
{ "abc": 12, "foo": "bar", "bool0": false, "bool1": true, "arr": [ 1, 2, 3, null, 5 ], "float": 1.2345 }
While:
$input = { "abc": 12, "foo": "bar", "bool0": false, "bool1": true, "arr": [ 1, 2, 3, null, 5 ], "float": 1.2345 };
$val = json_decode($input);
echo $val->abc."n";
Would produce:
12
As of version 1.0.5, json_decode takes an optional parameter, assoc (boolean), that returns an associative array instead of an object.
A PHP object correlates to a JavaScript object (associative array, i.e., key => value pairs), so the above would be referenced in JavaScript like so:
var obj = ...; /* retrieve JSON and eval() it, returning an object */
var result = obj["abc"] * obj["float"];
alert("result is " + result);
This should display an alert box with the value of result, i.e., 14.814.
Enhancements:
- A complete rewrite using JSON_checker as the base for the parser.
- Implements the JSON specification.
- Significant performance improvements on encoding.
- Re-licensed under the PHP license.
Download (0.15MB)
Added: 2006-04-16 License: LGPL (GNU Lesser General Public License) Price:
1295 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above echo search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed