openpot solutions

This is a selection of openpot's IT solutions which might be useful for others as well. All of them were developed due to their lack of existence by reason of their quite specific nature. The scripts below are published under a CC license, so feel free to use, share and modify them.

binomnom

binomnom is a php script which caluculates and displays the p-value for scientific binomial probability calculations, based on an alpha-niveau, the result of the measurment, number of total probes, the possibilities per probe, the possibility per result (which is predetermined for binomial dissemination), the possibilities for each result, and using either the to-the-left or to-the-right method.


cx7r

cx7r is a command-line based ruby program which allows a OTP-encrypted communication between two peers. It can generate OTP-keys and use them to encrypt and decrypt messages which are sent and received from peer to peer. Its implementation and usability is rudimentary, yet. But it can do what it should: Conceptional unbreakable encrypted communication. (Please be advised that you will need to know about OTP [One-Time-Pad]-encryption to use this software in a safe manner. Also, please wait till the software is documented.)


evil

Evil is a little php script which is a php-cli interactive mode workaround for operating systems which do not support readline (like windows in general, or linux distributions wich are compiled without lib-readline). Using that script will almost let you forget that your system does not support php's interactive mode, since it is very close to its behavior.


gimp_bp

gimp_bp is a little python script which can be used within the GIMP python-fu console to batch process a series of (bmp) images. It does not act like a plug-in and although it comes with some of the important filters of GIMP, you will have to code some lines to make your picture modifications effective to the batch. It is a nice template to speed up your GIMP picture modification automation. And since you have to write the modifications on your own you keep the full control over every plug-in and filter GIMP provides.


http_request

http_request is a (very) small javascript library which eases ajax's XMLHttp. It offers one function which can be triggered to achieve the wished behavior of XMLHttp. Featuring method to use, url to go, async or sync behavior, postdata, modus (replace, append, prepend) and nl2br. It expects a specific syntax which comes in return of the request. That syntax is very useful in some cases, in other maybe not. But it can be easily modified to your needs.


JStele

JStele is a tele-prompter software written in Javascript. In combination with installing a mirrored font on your OS, you can use it to prompt flowing text from a monitor to a mirror. One can control the flow by keyboard, featuring start, stop, speed, go to position and increase/decrease size of text.


mktiftoc

mktiftoc is a little ruby cli-script which translates some parameters to a table of content file (TIFFLIST) which can be used e.g. by cinelerra for importing tif-image sequences.


optracker

optracker is an absolute minimal bittorrent tracker software for php. Its purpose is to serve peers for bittorrent clients. It is the most minimal implementation of the bittorrent specifications, which is possible. It does its job but is not useful for many files or great amounts of clients. It is especially useful for anyone who want to share a specific torrent with a manageable number of people without relying on DHT and external trackers.


rmssd

rmssd is a very small ruby script which sets up a telnet server. It supports multi-threading (- well, ruby is really easy with that). The server 'as it is' can do practically nothing, but you can easily write some code to let it do what you need.


rnrb

rnrb is a very small ruby script which allows you to rename a sequence of pictures to a leading-zero name sequence on linux/unix systems.


spHTTPd

A "simple pseudo | php HTTP deamon". It is a minimal (pseudo) web server for single connection written in php. One can use it to set up stand-alone applications using php or for point2point connections between two clients (or client/server).
It supports the very basic specifications of HTTP/1.1. Featuring GET/POST request, COOKIE, auto-index and auto-headers (for php scripts). One can configure it to listen to any IP and port and if external communication shall be allowed or not.


srt25t24

A php script which converts SRT subtitles from 25fps to 24fps. Useful if you have e.g. written subtitles for a dvd (pal) version of a motion picture and want to use them for the original 24fps version.
With a little rewriting this script can also be used vice versa and convert from 24pfs to 25fps.


VASTplayer

VASTplayer is a natty flash video player which supports implementation of video ads in the VAST standard. Featuring 1 pre-, up to 3 mid- and 1 post-roll advertisement/s. Besides that it supports video zoom control, volume control, start/stop/skip and subtitles. The biggest benefit of the player is, that it keep the control of the ad delivery. Most ad agencys will let their ad servers decide which content will be delivered or if a fallback appears. This is somehow logical in regard to the communication structure of video ads in flash players. The VASTplayer however acts like a slave for the server it was deliverd by. The player will arrange every step with its orign server before requesting the ad servers. That let you keep total control over the delivery and fallback contents. It is written in AS3/Flex and needs a server side script to communicate with.


vilebrowser

vilebrowser is a very little php/html script, which can be useful if you don't want to deal with AutoIndex-modules. Simply put the index.php in the directory which file-list you want to publish. vilebrowser shows to a webbrowser all files in the dir on the server and every dir deeper (but not higher).


WavChannelSplitter

WavChannelSplitter is a little ruby tool which converts a multi-channel wave-file to mono files. To date it supports only WAVE_FORMAT_EXTENSIBLE files but therefore up to 16 channels. It makes NOT a downmix but a seperation of each channel in one sole mono file. Also it does not re-encode or resample; it simply copies the channel data.


x3frepair

A small php script which repairs broken x3f files after being recovered when deleted on flash drives. Recovery tools (like e.g. testdisk) will read the whole block when recovering, so the x3f file has some overhead which simply gets cut off by this tool.



powered by openpot Media | Contact and Imprint on: openpot.com