This is Lupo Montero's homepage - A personal blog where I post about my
adventures in web technology
Recent posts
This week I had a quick look at Red Hat’s OpenShift platform. After a very good first impression I decided to create a sort of “hello world” node app to see the gears in motion. So I look around…. cartdriges… and voila! There it is, nodejs… but its 0.6… hmmm… scroll down a bit more… [...]
Over a year ago I posted a script showing how you could fetch tweets using jQuery and Twitter’s JSON API, and to my surprise it has had a decent amount of traffic. So now that I’ve been learning more JavaScript and jQuery I decided to re-write the script as a jQuery plugin. The plugin allows [...]
I’m currently working on a new “social” site for a startup and when building some of the forms, one of the bits of information we need to collect from users is their country and town or city. Nothing really new, but I didn’t want to build an enormous dropdown with every country in the world [...]
I recently reinstalled the operating system on my Macbook and this time around I decided to use homebrew to manage packages. Since php comes pre-installed with OS X and homebrew encourages using the pre-installed binaries, I have been using the built-in install of php, and so far so good. But today I tried to install [...]
Today I found myself looking at how to write node.js modules in C++. I read @izs’s article on the How to Node website and felt tempted to explore the C++ route, being already familiar with their JavaScript counterparts. I am no C++ expert, in fact I’m quite a noobie, but I have read a lot [...]
One of the best known problems in JavaScript is it’s dependance on a global scope, which basically means that any variables you declare outside of a function live in the same name space: the ominous window object. Because of the nature of web pages, many scripts from differnt sources can (and will) run on the [...]
Today, after upgrading packages with apt-get on a server running Debian Lenny my PEAR installation seemed to be broken. PHP had been updated to 5.2.10 and PEAR version was now 1.8.0. So when I realised that PEAR wasn’t the latest stable I tried upgrading PEAR using the command I’ve always used: pear upgrade pear, where [...]
A very brief (5min) screencast based on the code used in my previous post “Fetching tweets with jQuery and the Twitter JSON API“. This screencast was made with screenr, so I was limited to 5min in length and no editing of the video…
This quick tutorial will show you how to set up a FreeBSD machine (based on minimal install) to run as a web server using Apache 2.2.x, PHP 5 and MySQL 5. This tutorial is based on FreeBSD 7.2 (the current stable release at the time of this writing). This tutorial builds on the minimal installation [...]
Just thought it’d be nice to share this little script that fetches tweets using a jQuery AJAX request and the Twitter API. The script is based on a snippet I picked up from my good friend Sven Lito. I’ve added verbose comments in the code itself, so let’s keep this post short This post is [...]