Wednesday, June 11. 2014Get home, even being miles away
Under way again, but forgot some files from my home. I know, there's a network drive there, the data is on it. May I be so lucky to access it being physically separated from my home network? YES!™, follow this guide to be able to ...
DSL is a really great technology bringing the broadband access to me as an end user. Comparing to the times back then when I had a 56k modem and paid the connection hourly or whatever (well, still have it, a voice/fax modem ![]() Continue reading "Get home, even being miles away"
Posted by Anatol Belski
in Bash, Dynamic DNS, FRITZ!Box, PHP5, Web
at
14:01
| Comments (0)
| Trackbacks (0)
Wednesday, January 1. 2014Phurple 0.6.0 is out
The most reasonable new functionality - about 30 new Phurple\Client callbacks implemented, which give control over almost any event in the conversation.
Windows PHP users HEADS UP - Windows builds are available now. Besides the extension DLL an appropriate libpurple build is needed, which is available in the sourceforge files section. Continue reading "Phurple 0.6.0 is out"
Posted by Anatol Belski
in C/C++, Linux, PHP5 extentions, Windows
at
17:40
| Comments (0)
| Trackbacks (0)
Saturday, October 12. 2013XML Diff and Merge
Excited by the the PERL module XML::DifferenceMarkup I've decided to make the same possible in PHP. The new extension xmldiff recently arrived at PECL. It utilizes the libbdiffmark, the library behind XML::DifferenceMarkup. The xmldiff extension can operate on local XML files, strings in memory or DOMDocument objects.
Continue reading "XML Diff and Merge"
Posted by Anatol Belski
in C/C++, Perl, PHP5 extentions, PHP7 extensions, Web
at
21:54
| Comments (4)
| Trackbacks (0)
Sunday, September 8. 2013Phurple for PHP 5.3 and up
Shortly I needed an IM functionality in a small project. That turned me again to the Phurple project, the first PHP extension I ever wrote. What a pain was to look into the code written by myself about seven years ago
![]() Continue reading "Phurple for PHP 5.3 and up" Thursday, May 23. 2013Upgrading Postfix, Spamassassin and Dovecot on debian squeeze
Having a bit time I've decided to upgrade my mail services running very stable but being a bit too old. Debian squeeze is the oldstable now, so it has Postfix 2.7.1 and Dovecot 1.x by default. Despite wheezy was released shortly, having no time and expressive reason to move the complete server to it, a partial upgrade seemed meaningful to me. So I was going on with the debian backports repo for
BASH: $ aptitude -t squeeze-backports postfix dovecot spamassassin spamc The upgrade went smoothly except that the backports repo has dovecot 2.1 and it had some configure errors. Also note, that you might have to add some other relevant packages to upgrade, like dovecot-pgsql. Continue reading "Upgrading Postfix, Spamassassin and Dovecot on debian squeeze" Monday, May 28. 2012Trader PHP extension, use it
I've just wrote a wrapper extension to the TA-Lib - the technical analysis library. It includes over 150 market analysis indicators and some of vector math functions. The ext is primarily intended to help finance software developers to analyse market data with PHP. Nevertheless I think it wouldn't help to forecast the recently blowed Facebooks IPO
![]() Continue reading "Trader PHP extension, use it"
Posted by Anatol Belski
in C/C++, PHP5, PHP5 extentions, PHP7, PHP7 extensions
at
14:22
| Comments (19)
| Trackbacks (0)
Monday, May 7. 2012Trick your blog to act like a Wordpress one
Blogging is my little hobbyhorse, however not big enough to excite me. Nevertheless sometimes you feel challenged when some social networks linking professionals in (yes, I'm pointing the finger
![]() Why would one do that obviously half baked thing limiting the RSS syndication to Wordpress only? I don't know, probably it's just politics and therefore the answer isn't really interesting. A more interesting approach would be a possibility to not to play by that rules. And here it is - after a couple of hours playing around I wrote a simple wordpress gateway for my blog. Continue reading "Trick your blog to act like a Wordpress one" Sunday, May 6. 2012A tool for quick c one liners
There is always something to try out when writing c programs. Sometimes you just want to know if a small piece of code works as expected without having to recompile the whole project. I used to write small programs for this, just like
C: #include <stdio.h> int main(void) { printf("%c\n", 127); return 0; } But the more you program c, the more pieces of code you possibly want to try out. And writing all that wrapping stuff around the snippet you actually want to check isn't really productive. Therefore I came to the idea of a small program which would straight forward compile and run a piece of c code. Continue reading "A tool for quick c one liners" Thursday, October 13. 2011Serendipity meets Varnish
I've been using Serendipity for a couple of years and really love it now. But sometimes I wish it could be faster. Different servers tell a difference, but an average generation time for example for one category listing with 15 entries takes about 5 seconds or more. So I couldn't wait any longer, since I've learned Varnish Cache, to toggle it between Serendipity and the end user. Of course, Varnish would limit some blogging features, but the benefits will be worth of that. Sounds interesting? So this article is for you.
Continue reading "Serendipity meets Varnish" Sunday, October 2. 2011SquirrelMail Change Password Plugin
A couple of years ago I've shared my expierience about how to setup virtual mail hosting with Postfix and Dovecot. Some time ago I needed to make that accessible via Web. So, a webmail.
After trying a couple of engines I've decided in favour of SquirrelMail. This worked like a charm with SSL, etc. so the full mailing functionality was available just out of the box. The one thing I was still missing was a possibility to change password. There are already several plugins to achieve the goal, for instance when logging in over LDAP, but nothing could really fit for me. That's because the maildir setup I'm using is non standard. Luckily, the SquirrelMail API is simple and just well documented, so I was able to write a custom change password plugin very fast. Continue reading "SquirrelMail Change Password Plugin" Tuesday, August 23. 2011Varnish Cache now for PHP and from PHP
There is a new PHP extension I've written to work with Varnish. The extension allows interaction from within a PHP script with a running Varnish instance. For now there is a basic useful functionality such as ban URLs or set/get Varnish configuration. There will be more with the time. For now I would give a couple of examples for the extension usage, as there is not really any docs for the extension here.
Continue reading "Varnish Cache now for PHP and from PHP"
Posted by Anatol Belski
in C/C++, Linux, PHP5, PHP5 extentions, PHP7, PHP7 extensions, Web
at
20:34
| Comments (0)
| Trackbacks (0)
Thursday, June 3. 2010Using great Geonames database for geographical data handling
This time I needed some geographical data evaluation for one of my current projects. The data used to be opensource and as possible qualitative and complete. After spending some time in front of the famous search engine window there was a solution:
http://www.geonames.org/ That's the first sentence from the site: The GeoNames geographical database covers all countries and contains over eight million placenames that are available for download free of charge. Geonames is used by number of sites. Besides data it has also web services and code libraries in many programming languages to access them. Continue reading "Using great Geonames database for geographical data handling" Thursday, September 17. 2009Turn PHP non public class/object methods available
Anyone who did unit testing in PHP knows that private methods are untestable. One workaround for this could be to make no private but protected only members and to call methods using a proxy class. Another approach I'd like to present here is a small extension hack.
Continue reading "Turn PHP non public class/object methods available" Thursday, October 2. 2008Making server side playlist with PHP
Hi again,
whole last week I was mad about hearing music. I've heared tons of mp3's and radio stations over the internet. After a couple of days hearing music at work and at home I was really bored with creating and syncronizing playlists/files. Based on this, I came to the idea to make an online playlist which I would must update only one time and in one place and it would be accessible from anywhere. The idea was easy brougth out with PHP. So just a light reading for you: Continue reading "Making server side playlist with PHP" Sunday, August 24. 2008Gender PHP Extension
Hi there,
last week I wrote a PHP port for Joerg Michael's gender program. The program stands for gender recognition based on firstnames and has a base of >40000 firstnames from around the world. I hope the stuff is deserved to be accepted on PECL. Continue reading "Gender PHP Extension"
Posted by Anatol Belski
in C/C++, PHP5, PHP5 extentions, PHP7, PHP7 extensions
at
19:25
| Comments (2)
| Trackbacks (0)
(Page 1 of 3, totaling 37 entries)
» next page
|
QuicksearchCategoriesArchives |