McGivrer's Home http://mcgivrer.fr life of french web solution architect posterous.com Wed, 16 May 2012 02:13:00 -0700 Maven and Encoding ? http://mcgivrer.fr/maven-and-encoding http://mcgivrer.fr/maven-and-encoding

How to set a specific encoding against the default one ?

Just add the following configuration lines into your pom.xml:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
        <encoding>ISO-8859-1</encoding>
        <source>1.5</source>
        <target>1.5</target>
    </configuration>
</plugin>

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <configuration>
        <encoding>ISO-8859-1</encoding>
    </configuration>
</plugin>

The <encoding> tag specify the one needed.
Can be applied on the compiler plugin and on the resource plugin.

The <source> and <target> tags can be set to specify Java version compatibility of source and target.
Can be applied on the compiler plugin.

McG.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Fri, 20 Apr 2012 05:26:00 -0700 Sublime Text 2 : the "killer" source editor ! http://mcgivrer.fr/sublime-text-2-the-killer-source-editor http://mcgivrer.fr/sublime-text-2-the-killer-source-editor

Walking the web, i've found the ultimate text editor.

A multi-platform editor

It's like TextMate on OS-X and bring a lots of fantastic feature like a "distraction free" mode, displaying your current text in a fullscreen format without anything else like menubar or status bar. Only a big black screen with synthaxe highlighted text.

Ok, for coder it's not heaven, but with all the snippets, plugins, console, templates, and more (Column edtion mode, etc...)

Sublime Text in its second edition is not only a good editor but also a beautiful one: see screen captures bellow on Linux (Ubuntu 11.10):

Capture_du_2012-04-20_011516
figure 1 : The text editor with all features activated:
 project explorer, console, and mini-map mode.
Capture_du_2012-04-20_012004
figure 2 : Here is the Famous Distraction Free Mode
for Hardcore developers :)

This Very good "professional" text editor is quiet stable, during all my edition sessions: no bug, no crash!  

Very good work, guy's !

I also like the easy way to create plugin (complexe one can be implemented because of the Python embbeded engine !).

Create a plugin from scratch

You just have to create a new Directory in the "~/.config/sublime-text-2/Packages/" named with your new extension name to create.

The create a new *.py file script with the name to be used in the configuration file (see later). For exemple "open_google". just copy and paste the following peace of code bellow :

import sublime, sublime_plugin, webbrowser

#
# Open the default browser to seach for the selected text in Google 
# (or any other search engine, through Default.sublie-keymap parameters)
# sample:
# { "keys": ["ctrl+alt+g"] , 
#   "command": "open_browser" , 
#   "args": {"url" : "http://www.google.fr/#hl=fr&output=search&sclient=psy-ab&q={search}&oq={search}"}
#
# where *search* is the selected string to serach for.
#
class OpenBrowserCommand(sublime_plugin.TextCommand):

        def run(self, edit, url):
                selection = ""
                for region in self.view.sel():
                        selection += self.view.substr(region)
                webbrowser.open_new_tab(url.format(search=selection))

, and update the  keybinding user (CTRL+P and select "Default (Windows).sublime-keymap" file and paste the following lines:

[
     {
          "keys": ["ctrl+alt+g"] ,
              "command": "open_browser" ,
              "args": {"url" : "http://www.google.fr/#hl=fr&output=search&sclient=psy-ab&q={search}&oq={search}"}
      }
]

Save the files and try to select some text in any sublime editor window, and then press a magic [CTRL]+[ALT]+[G]...

Your default Web browser would open a new tab and display result of the google search with the selected text.

Have fun !

 

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Sun, 15 Apr 2012 15:44:00 -0700 Samsung have its own PPA ! http://mcgivrer.fr/samsung-have-its-own-ppa http://mcgivrer.fr/samsung-have-its-own-ppa

Yes !

All Samsung laptops will need this PPA repository : ppa:voria/ppa

Linux_on_my_samsung_-_fortunato_ventre

Installing these useful tools is very easy, just follow the next command lines:

sudo add-apt-repository ppa:voria/ppa
sudo apt-get update
sudo apt-get install samsung-tools samsung-backlight samsung-wireless

That's all.

have fun !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Thu, 12 Apr 2012 14:46:00 -0700 Restore backlight on Ubuntu ? http://mcgivrer.fr/restore-backlight-on-ubuntu-tags-ubuntu-linux http://mcgivrer.fr/restore-backlight-on-ubuntu-tags-ubuntu-linux

Using Ubuntu as main OS for years now on all Laptop and desk
top at home, I am regularly in front of common problems. But one of the most anoying is the "backlight off bug",

Samsung-q210

Sometimes, after kernel update, my laptop LCD decide to stay off, for unknown reason.

So only one way to restore it:

sudo vbetools dpms on

This is the only solution I have found to restore the "ON" state.

After any reboot, the LCD stay ON.

Ubuntu is sometimes frustrating for newbies. So here is ONE solution.

Have Fun(buntu ?) 

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Wed, 04 Apr 2012 13:37:00 -0700 How to solve REALTEK 8192 driver on Ubuntu ? http://mcgivrer.fr/how-to-solve-realtek-8192-driver-on-ubuntu http://mcgivrer.fr/how-to-solve-realtek-8192-driver-on-ubuntu

Using for 2 years a Samsung R580 laptop, I am in front of a annoying issue relaying on thethe realtek R8192e_pci for wifi device.

Each time I am closing the screen, the laptop switch to hibernate mode. But when I open it again, Wifi stay off !

So here is the solution:

r8192e_pci

This will install the module at boot time.

An addtional note. This wireless driver seems to cause problems with the power manager sleep (suspend) and hibernate modes. There is a fix for this that worked on my netbook. Edit /usr/lib/pm-utils/sleep.d/55NetworkManager to read as shown below adding the lies in bold:

Code:

case "$1" in 
 hibernate|suspend)
   modprobe -r r8192e_pci 
   suspend_nm
   ;; 
 thaw|resume)
   modprobe r8192e_pci 
   resume_nm
   ;; 
 *)
   exit $NA 
   ;; 
esac

Thanks to this post http://ubuntuforums.org/showthread.php?t=1457592&page=14#td_post_9173699

 

Have fun !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Thu, 26 Jan 2012 15:07:00 -0800 Box.com en davfs sur Ubuntu ! http://mcgivrer.fr/boxcom-en-wevdav-sur-ubuntu http://mcgivrer.fr/boxcom-en-wevdav-sur-ubuntu

Connaissez vous le  site www.box.com qui propose du stockage en ligne gratuit à hauteur de 5Go ?

Si non, courrez vous créer un compte pour stocker tous les fichiers qui vous sont vitaux.

Donc, un fois votre compte en main, vous allez pouvoir le monter comme un disque local sous linux avec les informations suivantes !

Tout d'abord,  commençezs par installer l'outil magique qui va permettre d'accèder au repertoire DAV distant sur box.com

  #> sudo apt-get install davfs2

Maintenant, créez un répertoire box.com dans votre répertoire personnel:

  #> mkdir ~/box.com

Ensuite, éditez le fichier fstab décrivant les volumes monté au démarrage (vos disques connus de linux):

  #> sudo gedit /etc/fstab

Et ajouter la ligne ci-dessous:

  https://www.box.com/dav /home/[username]/box.com davfs rw,user,noauto 0 0

où [username] est votre nom d'utilisateur linux.

Ensuite, créons l'espace de stockage de nom / password pour le nouveau point de montage DAV.

Créez un répertoire .davfs2 dans votre $HOME

  #> mkdir  ~/.davfs2
  #> cp /etc/davfs2/davfs2.conf ~/.davfs2
  #> sudo cp /etc/davfs2/secrets ~/.davfs2
  #> sudo chown $USER ~/.davfs2/secrets

Et éditez le fichier ~/.davfs2/secrets  pour ajouter une ligne de la forme:

  https://www.box.com/dav    [box.username]    [box.password]

où [box.username] et [box.password] sont respectivement les nom et mot de passe utilisateur de votre compte box.com.

 Maintenant la commande magique:

  #> mount ~/box.com

Et voila, vous avez accès à vos fichiers présents sur votre compte box.com !

Pour démonter le lecteur box.com, simple:

  #> umount ~/box.com

Encore plus fort, sous Nautilus, une nouvelle entrée de volume est disponible, un seul click sur l'icone et le lecteur est monté.  Un click sur le petit bouton de démontage, à droite et le lecteur est démonté.

Nautilus-drive-box-com
Note:

Si comme moi, vous êtes confrontés à l'impossibilité de monter un volume DAVFS en tant que simple utilisateur (non root) vous devez passer la commande suivante:


  #> sudo chmod u+s /sbin/mount.davfs 

facile, non ?

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Thu, 19 Jan 2012 15:23:00 -0800 Play! sample blog http://mcgivrer.fr/sample-code-about-playframework-for-yammer-gr http://mcgivrer.fr/sample-code-about-playframework-for-yammer-gr

play-blog-sample.zip Download this file

 

Play!framework.

A small sample code

Install play framework into your prefered path on your account and modify your system path to add the play installation directory:


And then, unzip the demo in your prefered path, just "cd" in and then, to run demo :
#> cd play-blog-sample
#> play dependencies
#> play run
if you want to edit project with eclipse
#> play eclipsify
and import the resulting project into a brand new Eclipse workspace.
 

Note:
Before running eclipse, don't forget to copy jar files from 
play-1.2.4/support/eclipse 
to the eclipse/dropins directory.

If you want to consult play documentation run this play app as discribed as before, and click on the

And if you are a tester:
#> play test
and click http://localhost:9000/@tests


Have fun !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Thu, 22 Dec 2011 11:14:00 -0800 Test Driven Development tutorial http://mcgivrer.fr/test-driven-development-tutorial http://mcgivrer.fr/test-driven-development-tutorial

In a next post, I will write a brand new tutorial about the TDD agile method on development process.

Listingsid_148_0711_rdn_tb_gif
image from:http://reddevnews.com/articles/2007/11/01/testdriven-development-tdd.aspx

Stay tuned !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Tue, 20 Dec 2011 16:59:19 -0800 Agile technology to serve project management ! http://mcgivrer.fr/agile-technology-to-serve-project-management http://mcgivrer.fr/agile-technology-to-serve-project-management
Please, let me show you our new i-BrownPaper, this is the art of our activities now.

Brown-paper-modified

Thanks to agile process to perform projects and activities management.

McG.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Tue, 20 Dec 2011 16:06:00 -0800 X360, RIP... http://mcgivrer.fr/x360-rip http://mcgivrer.fr/x360-rip

While I am trying to rescue my good old console, It did not survive more than 45 minutes to the last heat treatment. Dear Microsoft Console, rest in peace !

Xbox360-burn-19052011-002_014f000000062995

illustration from :http://www.xboxgen.fr/noire-surchauffe-playstation-3-80-60-fat-rockstar-games-sony-firmware-actualite-14059.html

Dear Santa Claus, please, could you bring me a brand new one like in the following pack ?

Xbox-pack-forza3-crysis2-small

illustration from : http://www.trouvetaxbox.com/index/bundles/id/9

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Tue, 08 Nov 2011 08:28:50 -0800 X360, second chance ! http://mcgivrer.fr/x360-second-chance http://mcgivrer.fr/x360-second-chance Again, my X360 crash down and refuse running any games without a double LED ring error...

So , using a heat gn, I re'warm  Console Circuit for a second round.

Hope that IC will survive to this treatment.

Lucky, or not lucky ?

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Mon, 26 Sep 2011 09:06:00 -0700 Last games ? http://mcgivrer.fr/last-games http://mcgivrer.fr/last-games

Et Hop, quelques nouveaux jeux en tests sur nos consoles

Collages

Intro

Ainsi, Côté Wii, on trouvera My Fitness Coach et Just Dance 2, côté X360, on trouvera NFS Hot Pursuit, Enslaved, Mafia 2 et enfin Dungeon Siege 3.

A part une petite faiblesse du côté de "My Fitness Coach", tous sont de très bon jeux !

Quelques Notes

Wii-my_fitness_coach-cover

My Fitness Coach / Wii

Un habillage graphique pauvre, mais un fond plein de bonne volonté, sans doute le moins bon des 6 jeux présentés ici.

Le nombreux mouvements disponibles font honneur au joueur prompt à progresser.

12/20

Wii-just_dance_2-cover

Just Dance 2 / Wii

Le jeu s'annonce comme la parfaite évolution de son prédécesseur. J'ai l'impression que les développeurs ont pris note des remarques des joueurs !

En effet, les graphismes sont incroyablement améliorés, tout en gardant l'esprit de la série, mais en refondant l'habillage de façon intelligente.

16/20

X360-dungeon_siege_3-cover

Dungeon Siege 3 / X360

Le successeur pour moi de "Dark Alliance" sur PS2. Ce jeu est incroyablement sympa à deux en simultané. Parfois un peu dur, il faut s'accrocher pour refaire certains passages plusieurs fois et arriver a battre ces satanées bestioles...
Graphiquement à la hauteur de ce que l'on peut attendre de ce genre de jeu. Certes, nous sommes à des lieux d'un "Gears of War 3", mais on s'éclate largement sur ce jeu.

16/20

X360-enslaved-cover

Enslaved, Odyssey to the west / X360

Un bon jeu d'arcade/action à la Namco, comme ils savent si bien les faire ! On en redemande. Graphiquement très élaboré et proposant un vrai monde, la découverte de nouveau lieu est toujours un plaisir visuel. Il est peut-être un peu trop linéaire, mais c'est le genre qui veux cela. Le duo "Gros-Bras-Musclés" / "Top-modèle-super-intelligente" marche plutôt bien. Le fait de pouvoir donner quelques ordres de bases à Trip (la fille, donc) donne un dimension supplémentaire au jeu.

17/20

X360-mafia_2-cover

Mafia II / X360

Pour moi, Mafia 2 est le successeur de GTA4. Tout est là pour faire revivre cette ambiance particulière de l'après guerre en Amérique. La bande son n'est pas en reste non plus, car on retrouve les grands standards de cette époque.
L'immersion est d'autant plus réussie que les graphismes sont somptueux et les acteurs numérique, car je pense qu'on peut parler de cela, sont incroyables de réalisme. A voir donc !

18/20


X360-need_for_speed_hot_pursui

NFS Hot Pursuit / X360

Le retour ENFIN de Need For Speed. Non, pas les jeux underground, Most wanted, World ou autre Undercover et Shift, mais celui de l'origine, celui qui est une course poursuite "police contre méchant", comme en 1994, lors de la sortie de The Need For Speed sur Playstation (la psone, pas la 2, ni la 3 :)
Bref que du bonheur de (re)jouer à ce jeu, qui a profiter des bénéfices de la technologie pour faire un grand ravalement de façade :)

17/20


Conclusion

Voila, Fin des micro-tests pour aujourd'hui. Mais noter ma légère préférence :) pour les jeux X360 de cette fournée.

Bon jeu !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Sat, 03 Sep 2011 07:23:00 -0700 X360: Fixed with a heatgun ! http://mcgivrer.fr/x360-fixed-with-a-heatgun http://mcgivrer.fr/x360-fixed-with-a-heatgun
For a few monthes now, I was forbiden to play with my X360 because of RedRing sort of ! Yes, not the red ring of the death, but a similar failure: overheat !  2 red led were lighted.
X360-and-a-heatgun
So, thank to Internet and 'the' fantastic search engine, I have discovered this web site: www.ifixeit.com.

And about the X360 Microsoft console, there is a pletor of "tutorials" and "how tos" to maintain your favorite console in a normal running condition !

 

Thanks to this one; http://www.ifixit.com/Guide/Reflowing-Xbox-360-Motherboard/5845/1, I was able to solve my Xbox issue, with a ... Heat Gun !

So now, I am able to play with my 2 last games, bought just before the big fail:

jaquette-need-for-speed-hot-pursuit-xbox-360-cover-avant-p.jpgjaquette-enslaved-odyssey-to-the-west-xbox-360-cover-avant-p.jpg

Great !

And thanks to Florian for his HeatGun !

5 minutes under the toaster tool, and my X360 run for a second life, rebirth from their ashes, like a the Phoenix !

Ok, ok...  I am a little bit over optimistic. but from a 3 minutes play run before fixing, The console is running for more than 30 minutes without any hiccup.

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Wed, 24 Aug 2011 02:54:51 -0700 An interesting feature for Gmail : the preview panel http://mcgivrer.fr/an-interesting-feature-for-gmail-the-preview http://mcgivrer.fr/an-interesting-feature-for-gmail-the-preview An interesting feature has been added to the Gmail Labs: a useful preview panel, wich can be disposed as you want:
First go to the preferences in google mail account : 

click the gear on right side :

Capture4

then in preferences, click on "Labs" (here "Labos because UI is in french"):

Capture3

then choose the Preview Panel :

Capture2

and activate it by clicking the "Activate" radio button.

And finaly , discover the new fetaure just added:

Capture1

Done !

Thanks to Google labs ;)

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Sat, 06 Aug 2011 14:20:00 -0700 Lost all partition structure on external drive !!! http://mcgivrer.fr/lost-all-partitipon-structure-on-external-dri http://mcgivrer.fr/lost-all-partitipon-structure-on-external-dri

Help, please help me !

Wrong manipulation of usb wire drive me to unplug accidentally my external hard drive. So the bad news is the partition table has been altered and I am unable to reactivate (recreate) the right partition's table. Anybody can help me to find the right tool to restore such table ? Thanks in advance.

McG

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Sat, 06 Aug 2011 00:19:56 -0700 Mathys a 4 ans !!! http://mcgivrer.fr/mathys-a-4-ans http://mcgivrer.fr/mathys-a-4-ans
Dsc00013

Et voila, mon bonhomme fete ses 4ans ! Et ce avec force Lego Miners et Lego Atlantis... Punaise, qu'ils grandissent vite ces enfants :)

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Tue, 26 Jul 2011 14:31:00 -0700 Linux + python + some dependencies = Web Browser ! http://mcgivrer.fr/linux-python-some-dependencies-web-browser http://mcgivrer.fr/linux-python-some-dependencies-web-browser

It's amazing to see what you are able to create with a small piece of code and a Great UI designer like Glade (for gnome).

Please, go, see and test the following video :

Have Fun and Code Now !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Sat, 16 Jul 2011 02:02:00 -0700 Tobi, is not a dog, but a Functional Test framework ! http://mcgivrer.fr/tobi-is-not-a-dog-but-a-functional-test-frame http://mcgivrer.fr/tobi-is-not-a-dog-but-a-functional-test-frame
Tobi ! Get' there !
No, I am not calling back my smart dog, but trying to integrate Tobi (a functional testing framework) into a beautiful web site.
THat's the fact, Tobi is a javascript API with a Human Language Oriented methods to test some web interface.
If you want to test some Login Form, you will be able to write something like this:
var tobi = require('tobi') , 
    app = require('./my/app') , 
    browser = tobi.createBrowser(app); 
browser.get('/login', function(res, $){ 
    $('form') 
      .fill({ username: 'tj', password: 'tobi' }) 
      .submit(function(res, $){ 
        res.should.have.status(200); 
        res.should.have.header('Content-Length'); 
        res.should.have.header('Content-Type', 'text/html; charset=utf-8'); 
        $('ul.messages').should.have.one('li', 'Successfully authenticated'); 
        browser.get('/login', function(res, $){ 
            res.should.have.status(200); 
            // We are finished testing, close the server app.close(); 
            $('ul.messages').should.have.one('li', 'Already authenticated'); 
        }); 
    }); 
});
With this smart javascript, you will be able to test login form with a 'tobi' password for a 'tj' user. and then detect if the authentication run ok or fail. And the descripted scenario is also testing the "Already authentified" process from this "/login" form.
Ready to test other things ?  go and visit this web site : https://github.com/LearnBoost/tobi
note:
This framework was discoverdI had just discovered this framework exploring the BrowserId.org feature from Mozilla !

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Fri, 15 Jul 2011 08:49:34 -0700 X360 out of order ! http://mcgivrer.fr/x360-out-of-order http://mcgivrer.fr/x360-out-of-order Et voila, ce qui devait finir par arriver est arrivé !  Ma console Xbox 360 datant de juin 2008 a rendu l'âme.

Enfin, pas vraiment, mais plutot partiellement:  seulement 2 / 4 des voyants rouge s'affichent après environ 3 minutes de jeu...
J'ai suivi les tutoriaux sur internet, conseillant le démontage et le changement de la pate thermique, l'ajout de petits radiateurs sur les composants de RAMs, mais rien n'y a fait.

Le meilleur résultat obtenu a été 45 minutes de fonctionnement normal sous NFS... et Paf : Red Light !

Donc, je crains que je n'ai plus qu'à prendre mon mal en patience d'ici à ce que j'ai à nouveau les moyens d'acheter une nouvelle X360 noire.

885370127195_1

Snifff....

Heureusement, j'ai une Wii sur laquelle nous nous éclatons, ma femme, mes enfants et moi-même !  :)

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme
Fri, 24 Jun 2011 06:35:08 -0700 Play!framework: embedded H2 database and Web interface http://mcgivrer.fr/playframework-embedded-h2-database-and-web-in http://mcgivrer.fr/playframework-embedded-h2-database-and-web-in
Working with the Java Play! framework for some months now, I've just (sic!) discovered the Web database interface on H2 throught the url http://localhost:9000/@db

A first page will ask you to configure the database connection:

Capture1

fig. 1 - Connection management page on embedded H2 database

And the you are able to query as you want any table from the H2 database:

Capture2

fig. 2 - Browse interface on "mydatabase" instance

Have fun (again) with Play!framework .

Permalink | Leave a comment  »

]]>
http://files.posterous.com/user_profile_pics/708616/avatar-gtalk.jpg http://posterous.com/users/cBuL38qtI Frédéric Delorme McGivrer Frédéric Delorme