Quantcast
Channel: andrewfreiday.com
Browsing all 10 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Generating MP3 waveforms with PHP

UPDATE: After some great comments, I have optimized the performance of this script and made some brief commentary available here. I have also updated any source code links below to the new github...

View Article



Retrieving coordinates of two addresses using Google Maps and calculating...

So here’s a quick couple snippets of code that will allow you to retrieve the coordinates of two locations using Google Maps API — no API key necessary. This first function will return the coordinates...

View Article

Image may be NSFW.
Clik here to view.

Google Charts-like Provincial Data Map For Canada

Map of Canada chart with province value colour coding. This is PHP class I developed for work when I needed a Canada-specific map chart in some reporting tools I was creating. Obviously Google’s Map...

View Article

An experiment: Django Framework-like querying/model interface in PHP

I have continued with this experiment and created a new querying interface compatible with PHP 5.3 and has no dependent PECL extensions: Experiment update: revised Django-like PHP (5.3 compatible)...

View Article

Experiment update: revised Django-like PHP (5.3 compatible) querying interface

After some research, discussion and a bit of hacking together some poorly organized code, I’ve come up with a revised interface from my previous post An experiment: Django Framework-like querying/model...

View Article


Image may be NSFW.
Clik here to view.

Give a simple image a transparent background: “Transparentize”

I needed a quick and dirty script (that I took a few minutes to clean up and throw together in a class) that can take a basic JPEG and turn it into a transparent PNG around the edges. I called it...

View Article

Image may be NSFW.
Clik here to view.

A slightly better/slightly worse imagefill algorithm for PHP

In my last post I was looking for a way to give simple images transparent backgrounds. I noted that PHP GD’s imagefill function wasn’t quite what I was looking for as it only replaced exact colours...

View Article

Further work on a django-like PHP ORM framework: “phrames”

It’s been a long time since I have last posted and since I have had the time to develop my django-like PHP framework/ORM. However in last few days I was able to crack down and get quite a lot done from...

View Article


“phrames” framework/ORM now on github

While in the midst of readying some fairly large projects at work, I haven’t had too much time to progress with my last update of my “phrames” ORM/framework. However, I am happy to announce (to whoever...

View Article


Image may be NSFW.
Clik here to view.

Optimizing the PHP MP3 waveform generator

Waveform generated using Dancing With Paris' "(Boardwalk)" MP3. After some great comments in the original PHP MP3 Waveform Generator blog post, I decided to go ahead and do my best to optimize the...

View Article
Browsing all 10 articles
Browse latest View live




Latest Images