Here you can find some useful utilities that i write during my work.
All those things are open source, so you can use it freely.
This is implementation of
javax.servlet.HttpServletRequest
that parses requests with mime-type 'multipart/form-data'.
source: MultipartRequest.java
documentation: javadoc
This is a PHP script that operate like HTTP proxy server.
This script supports to HTTP/1.1 protocol and convert relative links in
documents with mime-type 'text/html' and 'text/css' for script query.
This script is useful for closed LANs with only one HTTP server that has [in/out]coming connections.
using: redirect.php?host=<some host>&page=<page>
source: redirect.php
Prints current hebrew date with shift posibilities (useful for Karaiam sites)
source: hebrew_date.php
Serialization of PHP data types (object/array/primitives) into XML, JSON or PHP serialized string.
Useful for communication between PHP script and Ajax applications by sending complex structures.
source: Serializer.class.php
using: print Serializer::serialize(array('message'=>'This is message'),'js');
Makes auto-complete srcollable menu for input/textarea elements.
Implemented as jQuery plug-in.
Ideas taken from Timothy Groves's Ajax Auto Suggest.
source:
jquery.autocomplete.js,
sample CSS
example: autocomplete example (multi)
project homepage: hosted on Google Code
Small PERL utility for creation HTML photo galleries. Clean design, nested albums,thumbnails generation, javascript extension.
Assumes hierarchical gallery structure, where each album have meta.properties file.
Sample meta.properties:
title=My Album date=01 January, 1970 thumb=PIC_0021.JPG description=blah blah blah ...
example: my photo album, CS department photo gallery
source: create-albums,
jquery.image.js (jQuery extension for fancy gallering)
using: just run create-albums -help
This is a small utility writen in Perl that converts latex formula to gif image.
using: latex2gif '\int_{-\infty}^{+\infty} e^{-i2\pi(x\xi)} dx' out.gif
source: latex2gif
This is a LATEX style package for thesis article but it is not official.
source: bgu-thesis.sty