flex.rb is a regexp matching and scanning library for the Ruby language. It is more than 3 times faster than Ruby regexps, and supports matching text arriving in multiple parts (via async, non-blocking I/O). flex.rb embeds the GNU Flex 2.5.4 (fast lexical analyzer generator) as an engine, and all of Flex's functionality is accessible from Ruby scripts.
quote.rb is a Ruby script which defines more than 70 quoters (basic string manipulation routines). Most quoters just add or remove backslashes at the appropriate place; others include hexdumps, checksums, simple encryptions, etc. quote.rb's main goal is to provide all quoters necessary for simple and advanced web programming (CGI and server-side scripting) in one place.
TeXtrace is a collection of scripts that convert any TeX font into a Type1 .pfb outline font immediately suitable for use with dvips, pdftex, Acroread, and many other programs. The main advantage of using Type1 fonts with TeX is that Acroread renders TeX's bitmap fonts ugly on screen, but it renders outline fonts beutifully and fast.
pRuby is the ultimate glue code between PHP and Ruby which lets you use Ruby as a HTML-embedded, server-side scripting language. With pRuby, you can intermix PHP and Ruby to create dynamic web content. It features better startup speed than CGI and PHP, better execution speed than PHP, more powerful and less messier to program than PHP, cross-language function calls, and cross-language error handling.
java_syn.pl is a syntax highlighter for Java that converts a package of multiple .java files to multiple .html files. Class names are converted to links, so the reader can click on a class name to immediately see its source code. Default highlighting colors are the same as in Textpad.
muZCat is Flate uncompression filter that can uncompress GZIP, ZIP, and ZLIB (PS/FlateEncoded) files and concatenations of those. muZCat is implemented in ANSI C, K&R C, Java, OC, Perl, Ruby, Python, ISO Standard Pascal and PostScript. No external libraries (such as zlib) are required.
wget_img.pl is a Perl script that examines HTML files on the local filesystem, finds all the image tags, and outputs wget commands that would download those images. wget_img.pl is more reliable than wget in finding all the images, and it can force wget to disguise itself to prevent Web servers from denying the automatic download.
tif22pnm is a command line utility that converts between TIFF sampled images and PNM images (both directions), using the libtiff library, but not using NetPBM. tif22pnm is similar to the tifftopnm utility in the NetPBM distribution, but tif22pnm handles a wider range of TIFF files and is able to output the alpha channel as a PBM or PGM file. png22pnm, a converter from PNG to PNM, is also bundled into the distribution.
sam2p is a Unix commandline utility that converts many raster (bitmap) image formats into Adobe PostScript or PDF files. The images are not vectorized. It gives full control to the user to specify standards-compliance, compression, and bit depths. It is common that sam2p can compress an image down to an 50kB Level1 PostScript file without quality loss, while other popular converters produce multi-megabyte output. It provides some Level3 compression filters even on Level1 devices.
img_bbox.pl is a standalone Perl script that can extract file format, width, height, bounding box, and other meta-information from image files. Supported vector formats are PDF, Flash SWF, EPS, PS, DVI, and FIG. Supported raster image formats are GIF, JPEG, PNG, TIFF, XPM, XBM1, XBM, PNM, PBM, PGM, PPM, PCX, LBM, other IFF, Windows and OS/2 BMP, MIFF, Gimp XCF, Windows ICO, Adobe PSD, FBM, SunRaster, CMUWM, Utah RLE, Photo CD PCD, XWD, GEM, McIDAS, PM, SGI IRIS, FITS, VICAR, PDS, FIT, Fax G3, Targa TGA, and Faces.
Untarka extracts TAR (Unix Tape ARchive) files without calling any external programs. It supports and autodetects multiple compression methods (.tar, .tar.Z, .tar.gz, .tar.bz2, .Z, .gz, and .bz2). Unix devices, sockets, hard links, symlinks, owners, and permissions are ignored during extraction.
biki is a user-level keyboard layout fixup and switching program for the Linux console and X11. The standard English and Hungarian layouts with the Euro key are supported. An X11 GUI interface is provided (using TCL/Tk Wish). biki sets all keys and modifiers properly, so it can be used to fix a screwed-up layout.
a2ping is a Unix command line utility that converts many raster image and vector graphics formats to EPS or PDF and other page description formats. Accepted input file formats are: PS (PostScript), EPS, PDF, PNG, JPEG, TIFF, PNM, BMP, GIF, LBM, XPM, PCX, and TGA. Accepted output formats are: EPS, PCL5, PDF, PDF1, PBM, PGM, PPM, PS, markedEPS, markedPS, PNG, XWD, BMP, TIFF, JPEG, GIF, and XPM. a2ping delegates the low-level work to Ghostscript (GS), pdftops, and sam2p. Only the first page of PDF and PS files are converted.
kmp_search is an extremely fast exact string search utility that can be used to search for exact strings or patterns in binary and text files and devices. It can search for multiple strings concurrently, but is much faster when searching for strings one-by-one. The starting byte offset of each match is reported to stdout. Because it is extremely fast, it can be used in a data recovery process after a multi-gigabyte file system crash. The Knuth-Morris-Pratt algorithm is used for the search, which gives a total time of O(file length + pattern length).
dumplinks.pl is a script that dumps URLs (links) found in plain text and HTML files. It finds all global links, and if the URL of the file itself is specified, it finds site-absolute and relative links inside src= and href= attributes too. It can also instruct Mozilla to open all links found in new tabs immediately.
cgi_trampoline.c is a parametric C program which executes a CGI script in a specific directory and sets the real UID and GID to the effective UID and GID. It is safe to set the setuid/setgid bits of the binary of cgi_trampoline.c. initgroups() and setgroups() are not called, because this works only as root. cgi_trampoline.c contains optimizations for Linux i386, so the generated binary will be statically linked and very small.
pts-elfdisasm is command-line ELF disassembler for the i386 architecture, based on elfdisasm-0.11, which is in turn based on ndisasm of nasm-0.98. It supports dumping section headers, symbol tables, and disassembling code sections of i386 ELF binaries, object, and shared object files. It shows both the file offset, the memory offset, the hex dump, and the mnemonic of each assembly instruction. It can also find and mark jump targets, call targets, and system calls in the dump for easier cross-referencing. The dump cannot be fed directly to an assembler to recreate the original binary.
SafeWeb is a personal homepage middleware environment for Apache (including 1.3 and 2.0) on Unix. It provides page hit counting, visitor logging, server-side includes (SSI), safe setuid CGI (with or without suEXEC) by installing appropriate CGIs, and .htaccess for a single user, without the need of becoming root or restarting Apache. SafeWeb is easy to install and easy to use.
pts-console-hu is a collection of fonts, keyboard layouts, and scripts that provide a good font (in several sizes) and several good keyboard layouts with the Euro key for the Linux virtual console (text mode and framebuffer). The package also provides Hungarian keyboard layouts for X11.
SpeedySu is a modification of SpeedyCGI (a.k.a. PersistentPerl) so that it works with suEXEC-enabled Apache Web servers. Both Apache 1.3.x and 2.y running on UNIX systems are supported. SpeedyCGI speeds up Perl scripts (CGI or not) so that they remain running persistently, thus reducing the startup times of subsequent executions. SpeedySu extends SpeedyCGI by allowing ~UserDir CGI scripts started by Apache execute with the privileges of their owner user. SpeedySu contains other improvements in addition to suEXEC support.
avidentify is a command line tool that extracts and prints various meta-information about media files: width, height, frame rate, video codec, audio codec, audio sample rate, audio bitrate, file format, etc. It uses ffmpeg's libavformat library to read the video files, thus MPEG, AVI, WMV, MP3, Ogg, and many other file formats are supported. avidentify is similar to MPlayer's midentify tool, but it has far fewer dependencies.
NanoSpell is a very simple fake spell checker that implements the "ispell -a" protocol. It can be used to debug the implementation of an ispell-compatible interface for word processing applications. The full list of good words are hard-wired to the script. NanoSpell gives suggestions for wrong words. It understands Unicode and I/O charsets. It can check HTML and plain text documents.
rootpretender is a system that enables special file operations such as the creation of block special and character special device nodes and unlimited chown()ing of files for non-root users of Unix systems. It does this by faking special file operations. For example, chown() is not executed, and mknod() creates regular files instead of device nodes. These operations are remembered, so next time a process under rootpretender's control examines an affected file with stat() or a similar system call, the fake information is returned. It uses LD_PRELOAD and includes patches for rsync 2.6.6 and rsync 2.6.9 for use on systems without LD_PRELOAD support. These make it possible to copy file ownership and device nodes even if root access is not available on the target.
fuse1.pl is a nontrivial demonstration of Fuse.pm, the Perl language interface of FUSE, the Linux userland filesystem. fuse1.pl reflects a subpath of the host filesystem as a mount point of type fuse. Read-only and read-write mounts are both possible. All Unix filesystem operations are supported, except for the handling of POSIX extended attributes. Large files (i.e. files longer than 2GB) are not supported.
movemetafs is a searchable filesystem metadata store for Linux that lets users tag local files (including image, video, audio, and text files) by simply moving the files to a special folder using any file manager. It also lets users find files by tags using a boolean search query. The original files (and their names) are kept intact. movemetafs doesn't have its own user interface, but it is usable with any file manager.
rfsdelta is a kernel module for the Linux 2.6 series that collects all filesystem inode changes (recursively) and reports them to a userspace process. It is similar to inotify, dnotify (but provides recursive notification, and only a single watcher process is allowed), fschange, fsevent, and rlocate (but also reports unlink(), rmdir(), and st_*). rfsdelta was based on the kernel module shipped with rlocate 0.5.5.
genmpeg.pl is a Perl script that generates a simple MPEG-2 program stream file, which consists of a single customizable image repeated in all the video frames, and two simple sine wave sounds in the two audio channels. Both PAL and NTSC and many aspect ratios are supported. The generated MPEG-2 file is suitable for direct DVD authoring with dvdauthor, without the need for reencoding. ffmpeg is required.
dvdmenuauthor makes it easy and efficient to author a DVD with menus in an indirect (non-WYSIWYG) way. An XML project file drives the DVD authoring, from which both menus and a dvdauthor XML file are generated. dvdauthor and spumux are then used to author the DVD filesystem. Menu items (buttons and static items such as images and text) can be specified conscisely in the project XML file with LaTeX markup (to be processed by pdfLaTeX and rendered by xpdf).
ClassPublic.java is a Java .class file converter which makes a Java class public and non-final, its fields public, and its methods public and non-final. ClassPublic.java has a compact implementation, depending only on J2SE 1.5.0 or newer. ClassPublic.java can be used to increase interoperability and code reusability of a .class file whose .java source is not available or is not feasible to recompile.
Syncless is an experimental, lightweight, non-blocking (asynchronous) client and server socket network communication library implemented in Stackless Python 2.6. It contains an asynchronous DNS resolver (using dnspython) and an HTTP server capable of serving WSGI applications. It aims to be a coroutine-based alternative of event-driven networking engines (such as Twisted and FriendFeed's Tornado). It is already about that fast, but it has fewer features and is less stable now.
StaticPython is a statically linked version of the Python 2.x (currently 2.7.1) and Stackless Python 2.x interpreters and their standard modules for 32-bit (i686, i386, x86) Linux, Mac OS X, and FreeBSD systems. It is distributed as single, statically linked 32-bit executable binaries, which contain the Python scripting engine, the interactive interpreter with command editing (readline), the Python debugger (pdb), most standard Python modules (including pure Python modules and C extensions), coroutine support using greenlet, and multithreading support. The binary contains both the pure Python modules and the C extensions, so no additional .py or .so files are needed to run it. It also works in a chroot environment. The binary uses uClibc, so it supports username lookups and DNS lookups as well (without NSS).
uevalrun is a self-contained computation sandbox for Linux, using User-mode Linux for both compilation and execution of the program to be sandboxed. The program can be written in C, C++, Python, Ruby, Perl, or PHP. uevanrun enforces memory limits, timeouts, and output size limits in the sandbox. The primary use case for uevalrun is evaluation of solution programs submitted by contestants of programming contests: uevalrun compiles the solution, runs it with the test input, compares its output against the expected output, and writes a status report.
@cat_millenium: You need libtiff installed to compile. Figure out which package contains tiffio.h, install it, and try compiling again.
Re: error in conversion from jpg to eps
> i downloaded a2ping.pl version 2.77p and
> changed chmod a+x a2ping.pl. Tried to
> run a2ping.pl -v im1.jpg im1.eps. But it
> shows following error. Can you help to
> debug this.
> $ a2ping.pl -v im1.jpeg im1.eps
> a2ping.pl 2.77p, 2004-02-08 -- by
> (epstopdf 2.7 Copyright 1998-2001 by
> Sebastian Rahtz et al.)
> * Strongest BoundingBox comment:
> * Output filename: im1.eps
> * Output FileFormat: EPS
> * Input filename: im1.jpeg
> * Running: sam2p EPS: -- im1.jpeg
> Can't exec "sam2p": Permission
> denied at ./a2ping.pl line 932.
> ./a2ping.pl: prog sam2p failed: -1
> Permission denied
You need a working sam2p program. If you run sam2p, it should display something like that:
This is sam2p v0.44.
Available Loaders: PS PDF JAI PNG JPEG TIFF PNM BMP GIF LBM XPM PCX TGA.
Available Appliers: XWD Meta Empty BMP PNG TIFF6 TIFF6-JAI JPEG-JAI JPEG PNM GIF89a+LZW XPM PSL1C PSL23+PDF PSL2+PDF-JAI P-TrOpBb.
sam2p [options] [OutputFormat:]
Example: sam2p test.gif EPS: test.eps
sam2p: Error: Incorrect command line