I’m a geek

A friend always call me Joe90.
Today, I googled about Joe90 and I discovered that I’m a GEEK !

Display image from server-side generated JSON with jquery

I was lately asking myself if it was possible to load <img> from JSON data.

I usualy send data to my web forms with JSON formated data using ajax requests. Let’s explain with an example :

server-side php code

// Only a "very" basic example...
< ?php
$pdo->prepare('SELECT label FROM someTable WHERE id=?')
$sth= $pdo->execute(filter_var($_POST['id'], FILTER_SANITIZE_NUMBER_INT));
$r = $sth->fetch(PDO::FETCH_ASSOC);
echo json_encode($r);
?>

Read the rest of this entry »

Netbeans problems under Gnome 3 when window is maximized

Lately, I discovered a very annoying bug with Netbeans 7.0.1 under Fedora x64.

The apps seemed to read the wrong coordinates from the mouse cursor when the window is maximized. The menu was barely unusable.

Read the rest of this entry »

Hello world!

Welcome to WordPress.

This POST was only a default post when this blog was created but, some people comment on this post about gnome 3 and I think it should be keeped..

-->

© 2012 Guroot's blog. All Rights Reserved.
WordPress theme by Blogging Tips