fflush stdin
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 167
liblauch 1.0.0
liblauch is a simple library enables you you launch another program from within a program. more>>
liblauch is a simple library enables you you launch another program from within a program. It handles the intricacies of fork(2) and execve(2) for you.
It returns a couple of pipes that are connected to the launched programs stdin and stdout. It also contains a function to terminate the launched program.
BUILDING THE LIBRARY
Invoking the "make" command gives you a list of all possible options.
The usual invocation for a system-wide installation of the library would be to do "make all", "make test", login as root, and then do a "make install".
Alternatively you can embed the library in your own program, by sticking it into a subdirectory, and invoking "make static" there.
USING THE LIBRARY
See the manual pages launch_program.3 and kill_program.3 on how to use the functions.
<<lessIt returns a couple of pipes that are connected to the launched programs stdin and stdout. It also contains a function to terminate the launched program.
BUILDING THE LIBRARY
Invoking the "make" command gives you a list of all possible options.
The usual invocation for a system-wide installation of the library would be to do "make all", "make test", login as root, and then do a "make install".
Alternatively you can embed the library in your own program, by sticking it into a subdirectory, and invoking "make static" there.
USING THE LIBRARY
See the manual pages launch_program.3 and kill_program.3 on how to use the functions.
Download (0.013MB)
Added: 2006-06-07 License: GPL (GNU General Public License) Price:
1234 downloads
The bastard disassembler 0.17
The bastard disassembler is a disassembler for linux/unix platforms. more>>
The bastard disassembler is a disassembler written for x86 ELF targets on Linux. Other file formats/CPUs can be plugged in. It has a command-line interface and is meant to be used as a backend or engine. Support for controlling the disassembler via pipes is provided. Note that this disassembler does not rely on libopcodes to do its disassembly. Rather, the libi386 plugin is a standard .so that can be reused by other projects.
This interpreter can be used interactively, it can be fed commands via STDIN [just like a scripting interpreter], and it can be communicated with via a pair of FIFOs. Now, on top of this any number of UI front ends can be stacked -- ncurses console front ends, Gtk X front-ends, Tk front ends, etc. It is the reponsibility of the front-ends to display the information obtained by querying the disassembler, supplying syntax highlighting, displaying strings, xrefs, etc; however the disassembler will retain all of this information, do all of the brute processing, and will provide any of the information when requested.
<<lessThis interpreter can be used interactively, it can be fed commands via STDIN [just like a scripting interpreter], and it can be communicated with via a pair of FIFOs. Now, on top of this any number of UI front ends can be stacked -- ncurses console front ends, Gtk X front-ends, Tk front ends, etc. It is the reponsibility of the front-ends to display the information obtained by querying the disassembler, supplying syntax highlighting, displaying strings, xrefs, etc; however the disassembler will retain all of this information, do all of the brute processing, and will provide any of the information when requested.
Download (2.35MB)
Added: 2005-01-27 License: Artistic License Price:
1736 downloads
3D Spatialization of Sound
3D Spatialization of Sound is a Linux/X11 port of the 3D spatializer library from the CRC. more>>
3D Spatialization of Sound is a Linux/X11 port of the 3D spatializer library from the CRC.
This program creates "directional" stereo sound from mono source. CRC folks told me I shouldnt have raised the sampling frequency without adjusting other stuff.
Oh well. This was a proof-of-concept type project anyway. I think to get correct 3D effect, you need to drop sampling rate back to 11025.
To Build the X11 implementation:
1. make
2. cp audio-filter /usr/local/bin
3. mpg123 -m -s some_music.mp3 | audio-filter | aplay -S -s 44100 -f s16l -
audio-filter is implemented as a filter, it reads signed 16 bit mono input at 44100 khz from stdin, and outputs signed 16 bit stereo, 44100 khz output to stdout. You can replace mpg123 with any sound source generating signed 16 bit 44100 khz mono signal. "aplay" is a sound player utility which comes with ALSA linux sound driver. You can use "play" from the sox package, or "ampctl", or any other sound player that would read 44100 khz, signed 16 bit stereo raw data from stdin. For "sox" play script, you would replace "aplay" command line with "play -c 2 -f s -r 44100 -s w -t raw -"
If everything is good, a 640x480 window will come up, with some cryptic writing on the top, a filled circle with an arrow pointing right, and a empty circle slightly to the right of the circle with arrow.
NOTE, that just like in the original Windows implementation, the axiss are reversed. The arrow on the "head" is pointing "forward". So, in the default startup configuration, the sound is located in front of the listener. Moving the sound source "up" moves it to the left of the listener, and "down", to the right. You can visualize this well if you turn your monitor 90 degrees counter
clock wise.
The filled circle with an arrow is your "head"
The empty circle is the "sound source"
You can move the "sound source" around by clicking the mouse at any position in the window, or by clicking on the "sound source" circle, and dragging it to the desired position. Soundfield will be dynamically updated as you do this.
You can move the "head" by moving the mouse to desired position, and right-clicking. The "head" icon will move to the new position and soundfield will be updated.
<<lessThis program creates "directional" stereo sound from mono source. CRC folks told me I shouldnt have raised the sampling frequency without adjusting other stuff.
Oh well. This was a proof-of-concept type project anyway. I think to get correct 3D effect, you need to drop sampling rate back to 11025.
To Build the X11 implementation:
1. make
2. cp audio-filter /usr/local/bin
3. mpg123 -m -s some_music.mp3 | audio-filter | aplay -S -s 44100 -f s16l -
audio-filter is implemented as a filter, it reads signed 16 bit mono input at 44100 khz from stdin, and outputs signed 16 bit stereo, 44100 khz output to stdout. You can replace mpg123 with any sound source generating signed 16 bit 44100 khz mono signal. "aplay" is a sound player utility which comes with ALSA linux sound driver. You can use "play" from the sox package, or "ampctl", or any other sound player that would read 44100 khz, signed 16 bit stereo raw data from stdin. For "sox" play script, you would replace "aplay" command line with "play -c 2 -f s -r 44100 -s w -t raw -"
If everything is good, a 640x480 window will come up, with some cryptic writing on the top, a filled circle with an arrow pointing right, and a empty circle slightly to the right of the circle with arrow.
NOTE, that just like in the original Windows implementation, the axiss are reversed. The arrow on the "head" is pointing "forward". So, in the default startup configuration, the sound is located in front of the listener. Moving the sound source "up" moves it to the left of the listener, and "down", to the right. You can visualize this well if you turn your monitor 90 degrees counter
clock wise.
The filled circle with an arrow is your "head"
The empty circle is the "sound source"
You can move the "sound source" around by clicking the mouse at any position in the window, or by clicking on the "sound source" circle, and dragging it to the desired position. Soundfield will be dynamically updated as you do this.
You can move the "head" by moving the mouse to desired position, and right-clicking. The "head" icon will move to the new position and soundfield will be updated.
Download (0.046MB)
Added: 2006-10-19 License: GPL (GNU General Public License) Price:
1114 downloads
sudoku solver by darsie 1.6
sudoku solver by darsie is a console-based sudoku solver. more>>
sudoku solver by darsie project is a console-based sudoku solver.
sudoku solver by darsie is a console program that reads data from stdin (typically redirected from a file) and prints a possibly partial result. Definitive numbers are printed all over their fields.
Other fields contain the numbers that are not yet excluded.
Three solving rules are implemented and most sudokus are solved in a few milliseconds.
Usage:
sudoku<<less
sudoku solver by darsie is a console program that reads data from stdin (typically redirected from a file) and prints a possibly partial result. Definitive numbers are printed all over their fields.
Other fields contain the numbers that are not yet excluded.
Three solving rules are implemented and most sudokus are solved in a few milliseconds.
Usage:
sudoku<<less
Download (0.035MB)
Added: 2007-01-02 License: GPL (GNU General Public License) Price:
1029 downloads
Pf 1
Pf is a C program that implements the manual cryptosystem Playfair invented in 1854 by Charles Wheatstone. more>>
Pf project implements the manual cryptosystem "Playfair" invented in 1854 by Charles Wheatstone.
Sample output
$ ./pf
pf version 1 Copyright (C) 2006 Timothy Jon Fraser
pf comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the
LICENSE.txt file in the source distribution for details.
Usage examples:
Encrypt text from stdin to stdout:
pf -k MyKeyWord
Format output in 2-letter groups, 4 groups per line:
pf -k MyKeyWord -l 2 -g 4
Decrypt text from stdin to stdout:
pf -k MyKeyWord -d
Show key square for debugging purposes:
pf -k MyKeyWord -s
Show letters used by keyword for debugging purposes:
pf -k MyKeyWord -u
$ ./pf -k Apophenia -s
a p o h e
n i b c d
f g k l m
q r s t u
v w x y z
$ echo "An example message." | ./pf -k Apophenia
nfoz efhg duou qomp
$ echo "An example message." | ./pf -k Apophenia | ./pf -k Apohenia -d
anex ampl emes sage
<<lessSample output
$ ./pf
pf version 1 Copyright (C) 2006 Timothy Jon Fraser
pf comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the
LICENSE.txt file in the source distribution for details.
Usage examples:
Encrypt text from stdin to stdout:
pf -k MyKeyWord
Format output in 2-letter groups, 4 groups per line:
pf -k MyKeyWord -l 2 -g 4
Decrypt text from stdin to stdout:
pf -k MyKeyWord -d
Show key square for debugging purposes:
pf -k MyKeyWord -s
Show letters used by keyword for debugging purposes:
pf -k MyKeyWord -u
$ ./pf -k Apophenia -s
a p o h e
n i b c d
f g k l m
q r s t u
v w x y z
$ echo "An example message." | ./pf -k Apophenia
nfoz efhg duou qomp
$ echo "An example message." | ./pf -k Apophenia | ./pf -k Apohenia -d
anex ampl emes sage
Download (0.013MB)
Added: 2006-09-26 License: GPL (GNU General Public License) Price:
1128 downloads
iodine 0.4.0
iodine is a piece of software that lets you tunnel IPv4 data through a DNS server. more>>
iodine is a piece of software that lets you tunnel IPv4 data through a DNS server. This can be useful in situations where Internet access is firewalled, but DNS queries are allowed.
iodine needs a TUN/TAP device to operate. The bandwidth is asymmetrical with limited upstream and up to 1 Mbit/s downstream.
Enhancements:
- Multiuser support was added for up to 8 users simultaneously.
- Authentication was added, and a password is entered as an argument or on stdin.
- A manpage was added. "make" targets were added for "install" and "uninstall".
- The DNS code was cleaned up.
- More test cases were added.
- The directory structure was changed.
<<lessiodine needs a TUN/TAP device to operate. The bandwidth is asymmetrical with limited upstream and up to 1 Mbit/s downstream.
Enhancements:
- Multiuser support was added for up to 8 users simultaneously.
- Authentication was added, and a password is entered as an argument or on stdin.
- A manpage was added. "make" targets were added for "install" and "uninstall".
- The DNS code was cleaned up.
- More test cases were added.
- The directory structure was changed.
Download (0.010MB)
Added: 2007-03-25 License: GPL (GNU General Public License) Price:
943 downloads
scrssfeed 0.1
scrssfeed is a simple filter to use in mail programs to grab URLs from the messages that state that spamcop. more>>
scrssfeed is a simple filter to use in mail programs to grab URLs from the messages that state that spamcop "has accepted X mails for processing" and convert them to RSS so they can be used as a "live bookmark" in a browser.
scrssfeed is a very simple script that does one thing: convert the spamcop links in a has accepted X e-mails for processing mail to urls in an RSS feed.
You can then use this feed as a live bookmark in Firefox (and probably in other browsers) using for example the open in tabs option to follow all urls at once.
The scripts expects the mail on stdin and looks for the right urls.
The output is saved to spamcop.rdf, you will probably need to adjust the path to something that fits your web installation.
<<lessscrssfeed is a very simple script that does one thing: convert the spamcop links in a has accepted X e-mails for processing mail to urls in an RSS feed.
You can then use this feed as a live bookmark in Firefox (and probably in other browsers) using for example the open in tabs option to follow all urls at once.
The scripts expects the mail on stdin and looks for the right urls.
The output is saved to spamcop.rdf, you will probably need to adjust the path to something that fits your web installation.
Download (0.008MB)
Added: 2006-05-04 License: GPL (GNU General Public License) Price:
1268 downloads
FindBin 5.8.8
FindBin is a Perl module that can locate directory of original perl script. more>>
FindBin is a Perl module that can locate directory of original perl script.
SYNOPSIS
use FindBin;
use lib "$FindBin::Bin/../lib";
or
use FindBin qw($Bin);
use lib "$Bin/../lib";
Locates the full path to the script bin directory to allow the use of paths relative to the bin directory.
This allows a user to setup a directory tree for some software with directories < root >/bin and < root >/lib, and then the above example will allow the use of modules in the lib directory without knowing where the software tree is installed.
If perl is invoked using the -e option or the perl script is read from STDIN then FindBin sets both $Bin and $RealBin to the current directory.
EXPORTABLE VARIABLES
$Bin - path to bin directory from where script was invoked
$Script - basename of script from which perl was invoked
$RealBin - $Bin with all links resolved
$RealScript - $Script with all links resolved
<<lessSYNOPSIS
use FindBin;
use lib "$FindBin::Bin/../lib";
or
use FindBin qw($Bin);
use lib "$Bin/../lib";
Locates the full path to the script bin directory to allow the use of paths relative to the bin directory.
This allows a user to setup a directory tree for some software with directories < root >/bin and < root >/lib, and then the above example will allow the use of modules in the lib directory without knowing where the software tree is installed.
If perl is invoked using the -e option or the perl script is read from STDIN then FindBin sets both $Bin and $RealBin to the current directory.
EXPORTABLE VARIABLES
$Bin - path to bin directory from where script was invoked
$Script - basename of script from which perl was invoked
$RealBin - $Bin with all links resolved
$RealScript - $Script with all links resolved
Download (12.2MB)
Added: 2007-05-09 License: Perl Artistic License Price:
898 downloads
ipfwadm2ipchains 0.5.2
ipfwadm2ipchains is a script designed to convert ipfwadm rulesets into ipchains rulesets. more>>
ipfwadm2ipchains is a script designed to convert ipfwadm rulesets into ipchains rulesets.
This is the ipfwadm2ipchains script, designed to convert ipfwadm rulesets into ipchains rulesets. Simply feed it your ipfwadm rules via stdin and it will print out the corresponding ipchains rules.
For example, heres our example ipfwadm firewal which is stored in rust.examples:
!/bin/bash
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
ipfwadm -I -a accept -V 10.1.2.1 -S 10.0.0.0/8 -D 0.0.0.0/0
Process it with ipfwadm2ipchains, like so:
cat rust.examples | ipfwadm2ipchains >rust.ipchains
and you get the output file rust.ipchains:
!/bin/bash
ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
ipchains -A input -j ACCEPT -i eth0 -s 10.0.0.0/8 -d 0.0.0.0/0
<<lessThis is the ipfwadm2ipchains script, designed to convert ipfwadm rulesets into ipchains rulesets. Simply feed it your ipfwadm rules via stdin and it will print out the corresponding ipchains rules.
For example, heres our example ipfwadm firewal which is stored in rust.examples:
!/bin/bash
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.0.0/24 -D 0.0.0.0/0
ipfwadm -I -a accept -V 10.1.2.1 -S 10.0.0.0/8 -D 0.0.0.0/0
Process it with ipfwadm2ipchains, like so:
cat rust.examples | ipfwadm2ipchains >rust.ipchains
and you get the output file rust.ipchains:
!/bin/bash
ipchains -P forward DENY
ipchains -A forward -j MASQ -s 192.168.0.0/24 -d 0.0.0.0/0
ipchains -A input -j ACCEPT -i eth0 -s 10.0.0.0/8 -d 0.0.0.0/0
Download (0.009MB)
Added: 2006-07-08 License: GPL (GNU General Public License) Price:
1203 downloads
Crystality Plugin 0.92
Crystality Plugin consists of XMMS plugin and stdin/stdout plugin. more>>
Crystality Plugin consists of XMMS plugin and stdin/stdout plugin. It was written for realtime remastering of sound from mp3 files.
You will need a reasonably good stereo and a good ear to notice quality
improvement, otherwise this is not for you.
This plugin tries to patch mp3 format flaws, not a poor audio hardware! Yes, you should be able to hear well enough (sorry) - for some of my friends plugin is a cool thing, while the others does not hear nothing but echo and stereo expander (well, you will hear every effect if you set it to the maximum, but it will not sound nice).
Crystality was written for 16bit 44.1kHz stereo sound and may give strange results
with other sound formats.
Damian Hodgkiss sent me a quick port for Winamp 2.x. I have not tried it yet, but you can get it (cr-quick-winamp-port.zip).
This plugin does mainly four things (and some minor tricks):
1. Adds some sounds in very high frequency range. Most of the mp3s in The Net are flawed with a 16(15?) kHz cutoff. Even these ones compressed at high bitrates. This spectrum hole is audible and very unpleasant. This plugin helps a bit. Old mp3s made from the vinyl or the magnetic tape may also sound better with these "steroids". For old mp3s youll probably need to set filter to 0.1.
2. Adds some even harmonic distortions (actually nonlinearity), that sounds nice. Valve amps introduce even harmonic distortions (although differnt way) Look at audiophile pages for more info (well, mp3 format is not an audiophile stuff at all, but... welcome to the real world...).
3. Adds simple, but nice 3D echo (concert hall or church like). Most of echo plugins sounds too hard and aggresively for me. This one does not.
4. Extends stereo.
USING:
There are currently two versions of plugin - XMMS plugin and stdin/stdout. Stdin/out plugin is completly independent of XMMS plugin. It even stores its configuration in a separate file (~/.crystalityrc). Stdin/out plugin is alpha code, so some features are missed. You cannot reopen configuration dialog after closing without restarting plugin, there are no "save config", "load config" buttons. Configuration is loaded automatically on startup and saved on exit, either on normal finish or ^C. You can disable GUI with -g option (useful in scripts).
Because this plugin adds some sounds at high frequencies, you will probably need to decrease treble level on your amplifier. Plugin does not perform normalization, so you should slightly decrease signal level in XMMS equalizer (NOT volume slider on the main panel). Setting sliders to the maximum is generally a bad idea (well, except the filter, where that setting is useful).
PERFORMANCE:
It eats about 15% of CPU on my AMD K6-2/400 and optimization is still possible, this is not highly optimized code.
INSTALLATION:
Distribution contains binary version of XMMS plugin library and stdin/stdout plugin executable (Linux i586, glibc 2.1.3). You may copy plugin library file (libcrystality.so) into XMMSs Effect directory and executable (crystality-stdio) to /usr/local/bin or any location you prefer. For default locations simply type:
make install
and thats it.
You may also build crystality from the source.
make buildinstall
typed as root in the source directory should be all you have to do.
This plugin was my first small step in gtk programming, so dont expect any wonders, GUI is actually a quick hack to hardcoded settings. I am not a GUI programmer.
<<lessYou will need a reasonably good stereo and a good ear to notice quality
improvement, otherwise this is not for you.
This plugin tries to patch mp3 format flaws, not a poor audio hardware! Yes, you should be able to hear well enough (sorry) - for some of my friends plugin is a cool thing, while the others does not hear nothing but echo and stereo expander (well, you will hear every effect if you set it to the maximum, but it will not sound nice).
Crystality was written for 16bit 44.1kHz stereo sound and may give strange results
with other sound formats.
Damian Hodgkiss sent me a quick port for Winamp 2.x. I have not tried it yet, but you can get it (cr-quick-winamp-port.zip).
This plugin does mainly four things (and some minor tricks):
1. Adds some sounds in very high frequency range. Most of the mp3s in The Net are flawed with a 16(15?) kHz cutoff. Even these ones compressed at high bitrates. This spectrum hole is audible and very unpleasant. This plugin helps a bit. Old mp3s made from the vinyl or the magnetic tape may also sound better with these "steroids". For old mp3s youll probably need to set filter to 0.1.
2. Adds some even harmonic distortions (actually nonlinearity), that sounds nice. Valve amps introduce even harmonic distortions (although differnt way) Look at audiophile pages for more info (well, mp3 format is not an audiophile stuff at all, but... welcome to the real world...).
3. Adds simple, but nice 3D echo (concert hall or church like). Most of echo plugins sounds too hard and aggresively for me. This one does not.
4. Extends stereo.
USING:
There are currently two versions of plugin - XMMS plugin and stdin/stdout. Stdin/out plugin is completly independent of XMMS plugin. It even stores its configuration in a separate file (~/.crystalityrc). Stdin/out plugin is alpha code, so some features are missed. You cannot reopen configuration dialog after closing without restarting plugin, there are no "save config", "load config" buttons. Configuration is loaded automatically on startup and saved on exit, either on normal finish or ^C. You can disable GUI with -g option (useful in scripts).
Because this plugin adds some sounds at high frequencies, you will probably need to decrease treble level on your amplifier. Plugin does not perform normalization, so you should slightly decrease signal level in XMMS equalizer (NOT volume slider on the main panel). Setting sliders to the maximum is generally a bad idea (well, except the filter, where that setting is useful).
PERFORMANCE:
It eats about 15% of CPU on my AMD K6-2/400 and optimization is still possible, this is not highly optimized code.
INSTALLATION:
Distribution contains binary version of XMMS plugin library and stdin/stdout plugin executable (Linux i586, glibc 2.1.3). You may copy plugin library file (libcrystality.so) into XMMSs Effect directory and executable (crystality-stdio) to /usr/local/bin or any location you prefer. For default locations simply type:
make install
and thats it.
You may also build crystality from the source.
make buildinstall
typed as root in the source directory should be all you have to do.
This plugin was my first small step in gtk programming, so dont expect any wonders, GUI is actually a quick hack to hardcoded settings. I am not a GUI programmer.
Download (0.032MB)
Added: 2006-04-20 License: GPL (GNU General Public License) Price:
1291 downloads
IO::Busy 0.0.3
IO::Busy is a Perl module to intercept terminal input while something else is happening. more>>
IO::Busy is a Perl module to intercept terminal input while something else is happening.
SYNOPSIS
use IO::Busy;
my $fh = busy {
non_interactive_stuff();
};
This module exports a single subroutine, named busy. That subroutine takes a single argument, which must be a block of code. busy forks off a separate process that intercepts and stores any input, then executes the block (in the original process).
If the user types anything during the execution of the block, that input does not appear on the STDIN of the original process. Instead the busy block informs the user that their input is not being received, and stores the input in a separate filehandle. That filehandle is then returned by the busy call, at the end of the blocks execution, at which time STDIN is reconnected to the process.
<<lessSYNOPSIS
use IO::Busy;
my $fh = busy {
non_interactive_stuff();
};
This module exports a single subroutine, named busy. That subroutine takes a single argument, which must be a block of code. busy forks off a separate process that intercepts and stores any input, then executes the block (in the original process).
If the user types anything during the execution of the block, that input does not appear on the STDIN of the original process. Instead the busy block informs the user that their input is not being received, and stores the input in a separate filehandle. That filehandle is then returned by the busy call, at the end of the blocks execution, at which time STDIN is reconnected to the process.
Download (0.004MB)
Added: 2007-01-16 License: Perl Artistic License Price:
1012 downloads
Grinch
Grinch is a small script written in Perl which can be used to check whether a given address is an open mail relay host. more>>
Grinch is a small script written in Perl which can be used to check whether a given address is an open mail relay host. It can operate as a daemon and speaks the tcp_map protocol implemented in Postfix in that case.
Its also possible to use it in arbitrary shell script environments where the hostname is read from stdin and the error code is written to stdout.
The goal is to check "on the fly" whether a host accepts mail to a given destination it actually may not relay for. If it does, Grinch waits for the sent mail to return to you for a configurable period and meanwhile returns a soft error (450) for that host.
If the mail returns, the suspected host was verified as an open open relay and will be rejected until its cache entry times out.
<<lessIts also possible to use it in arbitrary shell script environments where the hostname is read from stdin and the error code is written to stdout.
The goal is to check "on the fly" whether a host accepts mail to a given destination it actually may not relay for. If it does, Grinch waits for the sent mail to return to you for a configurable period and meanwhile returns a soft error (450) for that host.
If the mail returns, the suspected host was verified as an open open relay and will be rejected until its cache entry times out.
Download (0.010MB)
Added: 2005-10-10 License: GPL (GNU General Public License) Price:
824 downloads
JavaScript::Minifier 0.01
JavaScript::Minifier is a Perl translation of jsmin.c. more>>
JavaScript::Minifier is a Perl translation of jsmin.c.
SYNOPSIS
use JavaScript::Minifier;
my $obj = new JavaScript::Minifier;
$obj->minify(*STDIN, *STDOUT);
use JavaScript::Minifier qw(jsmin);
jsmin(*STDIN, *STDOUT);
This work is a translation from C to Perl of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Perl version under the same conditions as the jsmin.c on which it is based.
Refer to the JSMin website for further information: http://javascript.crockford.com/jsmin.html
Speed is a bit slower than the python version and the python and perl versions are quite a bit slower than the c version(of course).
Here are test results processing a 71K javascript file. This is one of the largest we have -- most are considerably smaller.
| wall clock seconds(approximate)
---------------------------------------
Perl: | 1.4
Python: | 1.0
C: | 0.03
Tests performed on a Intel(R) Pentium(R) 4 CPU 1.80GHz under no load.
<<lessSYNOPSIS
use JavaScript::Minifier;
my $obj = new JavaScript::Minifier;
$obj->minify(*STDIN, *STDOUT);
use JavaScript::Minifier qw(jsmin);
jsmin(*STDIN, *STDOUT);
This work is a translation from C to Perl of jsmin.c published by Douglas Crockford. Permission is hereby granted to use the Perl version under the same conditions as the jsmin.c on which it is based.
Refer to the JSMin website for further information: http://javascript.crockford.com/jsmin.html
Speed is a bit slower than the python version and the python and perl versions are quite a bit slower than the c version(of course).
Here are test results processing a 71K javascript file. This is one of the largest we have -- most are considerably smaller.
| wall clock seconds(approximate)
---------------------------------------
Perl: | 1.4
Python: | 1.0
C: | 0.03
Tests performed on a Intel(R) Pentium(R) 4 CPU 1.80GHz under no load.
Download (0.004MB)
Added: 2007-02-12 License: Perl Artistic License Price:
988 downloads
Fetch and deliver mail 1.3
Fetch and deliver mail is a simple, lightweight replacement for mail fetching, filtering, and delivery programs. more>>
Fetch and deliver mail is a simple, lightweight replacement for mail fetching, filtering, and delivery programs such as fetchmail and procmail.
It can fetch using POP3, POP3S, IMAP, IMAPS, or stdin, and deliver to a pipe, file, maildir, mbox, or SMTP server, based on a set of regexps.
Fetch and deliver mail can be used for both single user and multiuser setups, and is designed with privilege separation when running as root.
Enhancements:
- Mostly configuration file enhancements and code cleanup were done since 1.2. ifdef/endif blocks and inline shell commands are allowed in the configuration file.
- A built-in string cache using TDB was added.
- Some extra default tags were added. NNTPS fetching was implemented.
<<lessIt can fetch using POP3, POP3S, IMAP, IMAPS, or stdin, and deliver to a pipe, file, maildir, mbox, or SMTP server, based on a set of regexps.
Fetch and deliver mail can be used for both single user and multiuser setups, and is designed with privilege separation when running as root.
Enhancements:
- Mostly configuration file enhancements and code cleanup were done since 1.2. ifdef/endif blocks and inline shell commands are allowed in the configuration file.
- A built-in string cache using TDB was added.
- Some extra default tags were added. NNTPS fetching was implemented.
Download (0.040MB)
Added: 2007-07-31 License: BSD License Price:
816 downloads
sud 1.3
sud is a daemon to execute interactive and non-interactive processes with special privileges in a nosuid environment. more>>
sud is a daemon to execute interactive and non-interactive processes with special (and customizable) privileges in a nosuid environment.
Some advantages of the program are:
you can switch to root privileges on a remote machine and keep its disks mounted with nosuid flag
your client will be authenticated by getting effective credentials via unix socket
you cant brute force or try to exploit code unless youre in the authgroup (you dont have permission to open a client connection)
you can drop privileges and use sud to implement a suid program in a nosuid environment
Main features:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a list
- introduction of three new modes: read (alias command), blind (alias write) and readwrite. these are very useful to emulate setuid programs which dont need a terminal and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
Enhancements:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- fixed timeout support in Linux (value-result) (Posix.1g specifies the const qualifier for timeout in select)
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a LIST
- introduction of three new modes: . read (aka command) blind (aka write) readwrite
- these are very useful to emulate setuid programs which dont need a terminal
- and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
<<lessSome advantages of the program are:
you can switch to root privileges on a remote machine and keep its disks mounted with nosuid flag
your client will be authenticated by getting effective credentials via unix socket
you cant brute force or try to exploit code unless youre in the authgroup (you dont have permission to open a client connection)
you can drop privileges and use sud to implement a suid program in a nosuid environment
Main features:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a list
- introduction of three new modes: read (alias command), blind (alias write) and readwrite. these are very useful to emulate setuid programs which dont need a terminal and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
Enhancements:
- added multiple services in the same configuration file every service is in the form label { parameters... }
- added general daemon options with label = options
- added general service options with label = default
- added SO_PEERCRED linux support
- added SIGHUP, SIGUSR1 support
- added emergency service
- fixed timeout support in Linux (value-result) (Posix.1g specifies the const qualifier for timeout in select)
- signals are now more reliable based on self-pipe trick
- sessions are now queued in a LIST
- introduction of three new modes: . read (aka command) blind (aka write) readwrite
- these are very useful to emulate setuid programs which dont need a terminal
- and to redirect stdin and stdout to suipfiles
- changes in suz client in order to support new modes
- improvements in SIGWINCH management
- minor changes and new options for services
Download (0.11MB)
Added: 2006-07-12 License: BSD License Price:
1199 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 fflush stdin 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