In case someone is wondering how do I highlight the code I post on this blog … well, the lazy way. I don’t. Some time ago I setup a free service, hiliteme.com to do it for me, then I just copy/paste the generated code. It’s far from the best solution, but it’s definitelly the laziest, […]
Here’s a JavaScript that let’s you style an iframe just like its top parent. The script is basically just a proof of concept I did after talking to a friend about similar problem he has had in the past, so feel free to modify and use if you like it. So I have a page, […]
PEAR::Auth is a package that allows you to abstract the user authentication from the main part of your application and not worry about it. What is good about the package is that it comes with different “containers” that allows you to authenticate users against different storages, I mean you can store users data in a […]
Code example for creating POV-Ray 3d graphics.
Simple question, what’s $this – a or b?
Man, do I have a lot of todos! I was going through my posting drafts on this blog and found this 1 year old piece (from Aug 10th, 2005). I remember I was responding to this blog posting, but at some point I desided that I don’t have the time to finish it, so I […]
Here’s a little something I did to make it a bit easier to write API docs in TextPad, it’s a clip library to save some typing when writing comments in the phpDoc format. I submitted it to the TextPad team, so at some point it will probably appear in the downloads section, but meanwhile you […]
Hi all, after a long time of silence, I wanted to drop a line here to say I’m still alive. I’m back from beautiful Bulgaria, had a great time there, friends, family, trailer trip. Now I’m back in Montreal, moved to and working on the new house we bought at the end of May; it’s […]
I’m currently on a vacation in my native land Bulgaria, the party’s on (and so the soccer World Cup finals) so It wuould be quiet around here for a while. Meanwhile I’ve disabled comments, trackbacks and pingbacks, I appologize, it’s just that I’m receiving a lot of spam and since I don’t have the time […]
Just finished setting up my Amazon Connect profile and posted one message to the blog Amazon create for you when you set your profile up. Here’s the blog. Amazon Connect is an initiative where book authors can post messages directly to their books pages. So my smiling face is exposed on Amazon now when you […]
Intro So here’s the thing, we all know we hate forms, the only thing we hate more than forms themselves is actually filling out forms. But the forms are the interface to our web apps, so we cannot do without them. What we would love to do without, but can’t, is skip the application testing […]
Here’s how I got MySQL to do some enumerating for me, meaning increment a counter and add it to a select statement as in a numbered list. It is questionable if this type of functionality should be part of the “business” logic, as opposed to the display logic, but still, you never know. What you […]
I remember reading a discussion over at Sitepoint – has the fun gone out of PHP? No it isn’t! No way, the fun is here… or should I say PHun 😉 Check this out – videos from a beer drinking contest at a PHP conference. I love how serious the gyus are, I mean, at […]
I’ve been just toying with the CSS opacity to make fancier image thumbnail rollovers, it’s actually quite easy. The idea is when you have a thumbnail photo gallery to make the thumbs semi-transparent and, on mouse over, to remove the transparency and show the real image as is. All it takes is this little piece […]
Motivation Inspired by this article on SitePoint that shows how to find the Google ranking for a specific page and a search query, I decided to do the same, but for the Yahoo! ranking. The fun part is that my script is a JavaScript and requires nothing but a browser in order to run. How […]
This post talks about a JavaScript that can be used on any web/blog page to auto-generate a Table of Contents.
Ever wanted to use un underline on a web page that looks like a spelling mistake in Word? You know, the curly red underline. It’s actually very easy. Here’s an example. All you need is: A small piece of the wavy line, like this (it’s stretched here for the demo purpose) A style that uses […]
Post about The Focus and The Pocus (a.k.a. tfatp.com) which is a toy project of mine.
Make your content management application fly with the Yahoo JavaSrcipt UI
Today my blog turns 1 year, hence a few hiccups with the DNS change and the migration to a new server. To make up for the hiccups, I treated my little bloggie to a beautiful new theme. Also the second phpBB book was published.
I recently posted about those auto-fill utilities, like the one found in the Google toolbar and the problem they cause when you use light colors fonts in your input fields. Now, here’s a solution to this problem.
In case you’ve missed it, the fisrt pre-release of the Zend PHP framework went public. I briefly looked into it and here’s a quick example to get you started.
A funny thing – today I found out that there is the Town of Ajax, a city near Toronto, in my neighbouring Canadian province, Ontario (I’m in Quebec). It would take me about 6 hours 49 mins to get there. Anywone else want to move and join me in creating the newset coolest Web 2.0. company, based in Ajax, ON 😉
Warning: geek post ahead with a practical use of “little to none”.
I coded a simple JavaScript class to accept input such as “red” or “ff0033” or “light sky blue” or “fb0” and deduct a valid color out of the string.