This fragment is about to be reported (you'll remain on this page):

You can enter a comment to clarify the mistake if you would like to:

Posts tagged “My programs” RSS20

PHP Feeder

A personal RSS/Atom feed in every home.

PHP Feeder

Feeder is a syndication framework for PHP 5+. It generates RSS 0.92, RSS 2.0 and Atom feeds from single data source. Bundled Text Feeder generates feeds from text files so you don't have to do any coding at all to get your channel running. And, since it's part of Feeder, it outputs in all three supported feed formats.

Download & license

All Feeder classes and related data is released under public domain. If you use it I'll appreciate a backlink to this page; if you have feedback – feel free to drop a comment.

Last Feeder update was on 9 May 2012version 1.1.

«…»

No comments yet | Read rest of this entry »

D7X – Delphi 7 eXtension library

A collection of most used lightweight & standalone Delphi 7 classes, VCL components and functions.

During my long and fruity friendship with Delphi, particularly the 7th version, I have colelcted a large number of helpful standalone classes, VCL components and functions that I've been using in various projects. Not so long ago I decided to put them in a separate build which I called D7X (aka «Delphi 7 eXtension» library).

One of the main points behind D7X is complete Unicode support in each and every component. You will see that pascalString's are extremely rare in the code.

It is available from this SVN repository:

«…»

No comments yet | Read rest of this entry »

ApiHook – Win32 API hooking tool

A full-featured console WinAPI hooking tool written in Delphi 7. Freeware. Open source. Public domain.

ApiHook – Win32 API hooking tool

ApiHook is a freeware (public domain) open-source program written in Delphi 7 for hooking library calls in Win32 systems. In fact, it can be used to hook any snippet of assembly code in a single EXE file as well but this needs a bit of source code tweaking.

ApiHook lets you track and view information about what functions and how exactly the target program calls. It is implemented in two parts: loader and library. The first injects the ApiHook library into the target process (starting it or attaching to an already running one) while the second does the actual work.

ApiHook lets you examine values of registers the called routine was passed and also capture its parameters (using stored asmESP value) and returned value through them.

The mechanics is simple: you write a script file specifying what actions must be performed when a specific function is called; actions receive the snapshot of the call-time registers and can log them, dump memory blocks or do something else.

«…»

No comments yet | Read rest of this entry »

FileDrop – cross-browser JavaScript Drag & Drop file upload

Self-contained cross-browser pure JavaScript class for Drag & Drop and AJAX (multi) file upload.

FileDrop is a lightweight JavaScript class for easy-to-use file uploading that works out of the box.

Features:

  • Cross-browser – supports Firefox 3.6, Internet Explorer 6, Google Chrome 7, SRWare Iron 4, Apple Safari 5 and Opera 11.61.
  • Self-contained & tiny – just 470 lines of code; 8 KiB when minified.
  • Various callbacks – on progress, on done, on error and on many other events.
  • Graceful degradation using IFrame fallback.
  • Multiple file selection.
  • Any number of independent FileDrops.

FileDrop uses some ideas and solutions from qq FileUploader (Github) which is similar to FileDrop but almost 3 times as large (although, perhaps, more elaborated).

«…»

No comments yet | Read rest of this entry »

BEncoded – handling torrent files in PHP

Standalone PHP class for processing bencoding-encoded data, such as bit-torrent files.

BEncoded is a PHP OOP wrapper for two lightenc.php functions from Theory.org for manipulating bencoded data. It lets you transform bencoded files, retrieve data from them, add some, delete, calculate info hashes and do other things using a simple interface.

Can't want to see? Download now or view its source.

First version on 1 July 2011; last update on 23 January 2012.

Preface

«…»

No comments yet | Read rest of this entry »

ClipDiff

A tool that compares data on your clipboard when it's ran.

I'm often finding myself in need to compare two strings. If they would always be files it wouldn't be a problem – I've got two merge/diff programs that can do that. However, most of the time I need to compare what I've got on my clipboard rather than somewhere on my harddrive.

This is when I'd decided it was enough and wrote this small application. It's very simple and seamless but very convenient nevertheless:

  1. When it's ran it reads the clipboard's contents and saves it somewhere;
  2. When it's ran again it reads the clipboard one more time and saves it in a different file.
  3. Finally (still on the second run), it calls your merge tool and lets you see the diff;
  4. When you close it the program removes those two files it has created in steps #1 and #2 and quits. If you run it again it'll start from the first step.

ClipDiff (the name of this tool) can conveniently reside under some global hotkey (I have it under Ctrl+Alt+D) and so to compare your strings you don't even have to touch the mouse – Ctrl+C to copy a fragment, call ClipDiff, Ctrl+C again and call ClipDiff to see the result.

This program has no interface or configuration files so if you have your merge tool located on a different path or requiring different command line string you'll need to edit ClipDiff's source code and recompile it.
By default it's set up to call TortoiseMerge located inC:\Program Files\TortoiseSVN\bin\TortoiseMerge.exe.

Download – sources in Delphi 7 included.

No comments yet | Show this entry »

A server status script

A small server status script that scans a list of ports on given hostname and displays the result of that check.

Here's a handy PHP script I've written for my friend. It checks for server status – ports that server is listening on. This allows you to display a nice info page with the list of ports one or more servers (specified by an IP or domain name) should be listening on and if they don't the script will show you why (or just say DOWN – customizable).

To make it work first copy the following code into some file, e.g. servers.php (download, see it in action here or here):

Configuration

All configuration is done at the beginning of the script.

«…»

No comments yet | Read rest of this entry »

CSS enchant layer on PHP

A small standalone PHP script to transparently make underlying CSS files smaller.

This is a script I've recently made to enchance serving my CSS files. By «enchanting» I mean the following:

  • minify CSS – this was the main reason of why I made this script.
  • embed small images into the CSS itself (using url(data:...)) – this was the next important reason.
  • ability to merge several CSS files together (this isn't critical if you have control over the <head> section of your web engine but is still useful).

Download

You can download CSS enchant layer script here.

«…»

No comments yet | Read rest of this entry »