my projects

security token service relying party in php

Example how to use STS with WS-Federation and SAML2 token bearer from a php relying party application.

code »

grid example with knockoutjs and viewmodel plugin

Knockoutjs grid that is optimized for large datasets. Search, sorting, paging are provided. Challenge is to render the grid without binding all elements, but only elements from the current page window. Similar implementation that bind all grid elements takes about 10x more time. The solution was to data-bind computed property that slices the observable array and render only the sliced bit.

demo with 10K grid items »

c# project euler

Implementations of the project euler tasks I've solved.

code »

photo gallery

Easy to use photo gallery. Source code available in php, perl, java and c#.

more » see live demo »

ocr project

Perl app that reads animated gif files and extracts the text.

It does very simple character recognition. It reads animated gif file (included in the download). Splits the frames. Each frame is converted to text - if pixel is white symbol is '0' if not symbol '1' is used. The result text image is splited into chars and each char is matched against predefined dictionary. The dictionary is also included in the download. Example item from the library is:

00000000
00000000
00000010
00000110
01111110
01111110
00001110
00001110
00001110
00001110
00001110
00001110
00001110
00001110
00001110
00001110
11111111
11111111
00000000
The script uses:
  • perl5
  • Imager
  • Text::Levenshtein (included in the project)

code »