Blog personal de Alberto Romeu

Alberto Romeu's picture

Haciendo el jamelgo con Photobooth

Ya va a hacer casi dos años que me compré mi primer Mac y la primera gilipollez (de muchas otras) que hice cuando lo arranqué por primera vez fue probar el Photobooth. Tiene algunos efectos graciosos y más que se le pueden poner.

Desde entonces la mayoría de fotos que me pongo como Avatar las hago directamente con la webcam del Mac. Pues bueno ayer nos reímos un rato con el programita... juju






























Alberto Romeu's picture

Maya 3 años

Alberto Romeu's picture

Critters

Alberto Romeu's picture

Adding a new service to POIProxy in 5 minutes

This morning I've been asked about a convenient way to get geolocated wikipedia articles. Inmediatelly I've thought in POIProxy and Wikilocation.

Having the workspace of POIProxy I've spent exactly 5 minutes to add Wikilocation to POIProxy. These are the steps:

* Go to the Wikilocation API documentation and take a look to the request and response formats.

* Add a new configuration file, wikilocation.json, to the services folder at es.alrocar.poiproxy.gae:


{ describeService : {
format: "json",
apiKey : "",
requestTypes : {
"browse": {"url": "http://api.wikilocation.org/articles?lat=__LAT__&lng=__LON__&radius=__DIST__", "params": []},
"search": {"url": "b", "params": []}
},
featureTypes : { "browse" : {
"feature" : "id",
"elements" : ["title", "url", "distance"],
"lon": "lng",
"lat": "lat"
},"search" : {
"feature" : "id",
"elements" : ["title", "url", "distance"],
"lon": "lng",
"lat": "lat"
}
}
}}

* Add the Wikilocation layer to the Leaflet based demo of POIProxy


var wikilocation = new L.TileLayer.POIProxy("http://poiproxy.mapps.es/browse?service=wikilocation&x={x}&y={y}&z={z}&callback=?", {iconURL: "./images/marker7.png", service: "wikilocation"});


var controlLayers = new L.Control.Layers({"Foursquare": foursquare, "Panoramio": panoramio, "Flickr": flickr, "Minube": minube, "Minube": minube, "Nominatim": nominatim, "Mapquest": mapquest, "Geonames": geonames, "Cloudmade": cloudmade, "LastFM": lastfm, "WikiLocation": wikilocation}, {});

* Deploy to App Engine and we're done:


mvn gae:deploy

The demo is app and running. So easy. Yes I've spent much more time writing this blog post than programming o_O (well I did not program anything)

Alberto Romeu's picture

PDAE en Gandía

La semana de antes de Fallas hubo en Gandía una exposición canina y aprovechando la ocasión unos cuantos frikis dueños de perros de agua quedamos para pasar el día en la playa.

Personalmente, no me gustan mucho las exposiciones caninas, pero no me importa pasar un rato viendo perros dando vueltas en un "ring", si sé que luego voy a ir a otro sitio a pasármelo bien.

Además nunca había estado en Gandía y tengo que decir que no me gustó en absoluto :), demasiado turístico para mi gusto, pero siendo invierno no había nadie, así que pasamos un buen día.




















Fotos de Marley de Ubrique

Syndicate content