background preloader

Tutorials

Facebook Twitter

Try R. Installing GLPK on a Mac | Arnab's Universe - (and all the parallel ones) Codenow. Learn to code. Java - How to serialize an object into a string. How to include custom library into maven local repository? There are 2 cases that you need to issue Maven’s command to include a jar into the Maven local repository manually. The jar you want to use doesn’t exist in the Maven center repository.You created a custom jar, and need to use for another Maven project. P.S Trust me, there are still many jars that doesn’t support Maven. Case study For example, kaptcha, a popular third party Java library, which is used to generate “captcha” image to stop spam, but it’s not available in the Maven center repository.

In this tutorial, we will show you how to install the “kaptcha” jar into your Maven’s local repository. 1. mvn install Download the “kaptcha“, extract it and copy the kaptcha-version.jar to somewhere else, for example, c drive. Mvn install:install-file -Dfile=c:\kaptcha-{version}.jar -DgroupId=com.google.code -DartifactId=kaptcha -Dversion={version} -Dpackaging=jar Demo. Now, the “kaptcha” jar is copied to your Maven local repository. 2. pom.xml 3. References. Ruby on Rails par la pratique - Commencer avec Ruby on Rails. Ce guide s'inspire du site « Rails Guides », de mon expérience personnelle de Ruby on Rails et dans tout un tas d'autres ressources (screencasts, sites communautaires, etc...).

Ce guide est également l'occasion de constituer une application de A à Z, d'en voir tous les tenants et les aboutissants (conception, codage, déploiement, etc...). Je vous souhaite d'ores et déjà une très bonne lecture ! Dans ce guide, je pars du principe que le lecteur possède une connaissance minimale du langage Ruby. Si certaines portions de code Ruby nécessitent des précisions, j'expliquerai le plus clairement possible ces points de détail. Pour commencer avec Ruby on Rails, il est nécessaire d'avoir au moins trois choses installées : Ruby (version 1.8.7 dans le cas de ce guide) Rubygems (version 1.3.2 dans le cas de ce guide) SQLite, MySQL, ou PostgreSQL Rails est un framework de développement web écrit en langage Ruby.

La philosophie de Rails se base sur trois principes : III-A. III-B. IV-A. IV-B. IV-C.