In Sublime Text, go to Preferences -> Browse packages. Go to the PHP folder and create an empty file PHP.sublime-build. Edit this file and enter : 12345{ "cmd": ["php", "-l", "$file"], "selector": "source.php", "file_regex": "^Parse error: .* in (.*?) on line ([0-9]*)" } Now, when editing a .php file, press Cmd+B to run php-l on […]

These past two months, I’ve helped two people start a tumblr blog. One of them is just a place for my daughter’s day care to share pictures of children with the parents. For obvious reasons, this blog is private. Tumblr is simple to use and the day care had no problem posting their photos and […]

Today, I was needing to use the Tumblr API which PHP class uses the php-oauth extension. So, before I could get started with Tumblr itself, I had to set a few tings up : Install Pear : 123curl -O http://pear.php.net/go-pear.phar sudo php -d detect_unicode=0 go-pear.phar Once the pear install script starts, I decided to place […]

The YouTube API allows a user to retrieve a lot of information about an user’s profile and his videos (his uploads, his favorite videos). For each of these videos, it also allows to retrieve a lot of information like duration, keywords, comments and trackbacks… These information are accessible without the need of an API key. […]

Memcached if a free and open source distributed memory object caching system. It is used by web applications to lower database load by caching data in a key-value format for faster retrieval. If you happen to develop on Mac OS X, you can easily setup a development memcached server locally using MacPorts. 1sudo port install […]

A recent project at work lead me to develop a lightweight C# Oauth Consumer class to call an OAuth API from a Microsoft Office addin. Oauth is “an open protocol to allow secure API authorization in a simple and standard method from desktop and web applications”. A lot of documentation, and the specification, about the […]

If you install Debian on a Dedibox dedicated server, by default, you can not send emails from a PHP script (or by any call to sendmail). In order to enable that, you need to reconfigure exim (which is the MTA installed by default). Run dpkg-reconfigure exim4-config. Select the Internet mode and answer the few following […]

I don’t remember how I’ve heard about Chive, a young alternative to PhpMyAdmin (version 0.3 was released less than a week ago). I believe it was a link on twitter. There seem to be two policies when it comes to a MySQL browser for web developers: the desktop app or the web app. A lot […]

Recently, I wrote about geolocalisation of your users/visitors based on the IP to Country table. After using it for a couple of months, I found it painful to have to regularly update the table (even if some people came up with an automatic work around based on PERL scripts for example). So, I decided to find another […]

Setting up Code Igniter

February 13, 2010 | 2 Comments

A few months ago, we jumped into Teeorama, a PHP based online tee-shirt store front end for Spreadshirt. We finally completed the project and we’re planning on opening it to the public tomorrow. By the way, if you feel you could use a new Geek shirt, please head over to teeorama.com before reading on… When […]

keep looking »
  • About Me


    photo of Samantha Halfon Samantha Halfon
    Software Engineer
    blueKiwi software
    Paris, France
    I enjoy playing with my computer(s), listening to Bob Dylan (and related artists) and watching movies (especially if they were directed by Martin Scorsese or John Cassavetes). Sometimes, I play a little guitar... If not doing any of the above, I am either riding a small red bike around Paris, or, making videos. About my videomaking please check out World Wide Angle and its blog.