johnidouglas.com.br
Looping over a list and grouping your items in Play Framework Scala template engine. | Johni Douglas
http://www.johnidouglas.com.br/looping-over-a-list-and-grouping-your-items-in-play-framework-scala-template-engine
March 12, 2015. Looping over a list and grouping your items in Play Framework Scala template engine. This source code is a elegant manner dividing and grouping lists in Scala template engine Play Framework. If you need to create dynamic columns in html template, this is a solution interesting. See grouping of 4 in 4 items. Linksgrouped(4).map { group =. Div class=row @group.map { item =. Div class=col-md-3 @item.url /div. I developed project Owl Links. Is based in Scala template engine. Groupmap { item =.
johnidouglas.com.br
Install maven in Linux – downloaded package | Johni Douglas
http://www.johnidouglas.com.br/install-maven-in-linux-downloaded-package
February 26, 2015. Install maven in Linux – downloaded package. We will install Maven in Linux through your downloaded package. Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. Offical website – http:/ maven.apache.org/. Sudo tar -xzvf ${HOME}/Download/apache-maven-3.2.5-bin.tar.gz -C ${HOME}/Download. Echo export M2 HOME /.bashc.
johnidouglas.com.br
Install Typesafe Activator – Play Framework | Johni Douglas
http://www.johnidouglas.com.br/install-typesafe-activator-play-framework
February 27, 2015. Install Typesafe Activator – Play Framework. We will install Typesafe Activator. After install you can create applications using Play Frameowk. I am using Typesafe Activator version 1.2.12. Step one: Download Typesafe Activator. Sudo wget -N http:/ downloads.typesafe.com/typesafe-activator/1.2.12/typesafe-activator-1.2.12.zip -P /tmp. Sudo unzip -d /opt typesafe-activator-1.2.12.zip. You can see in directory. The files of Typesafe Activator. Step two: Define permission. On Classe com r...
johnidouglas.com.br
Using TMongoWire to connect database in MongoLab.com | Johni Douglas
http://www.johnidouglas.com.br/using-tmongowire-to-connect-database-in-mongolab-com
February 23, 2015. Using TMongoWire to connect database in MongoLab.com. Recently I had that to do tests using database in mongolab.com. Is a Delphi driver developed by stijnsanders. To access a mongoDB server. More details see issue #23. It is easy, first you need create database, I created database. After you need create a collection, I created a collection. You need too create a username and password in MongoLab, I create username. Ready, your database is created and configured. While q.Next(d) do.
johnidouglas.com.br
Instalando Node.Js e npm no Linux – Projeto Owl Links. | Johni Douglas
http://www.johnidouglas.com.br/instalando-node-js-e-npm-no-linux-projeto-owl-links
March 24, 2015. Instalando Node.Js e npm no Linux – Projeto Owl Links. Esse semana eu iniciei o desenvolvimento do. Do projeto Owl Links. Eu vou usar a. JavaScript para desenvolver o. Desse projeto, o. Foi escrito em Go. Instalando o Node.js e npm. Para instalar o Node e o npm execute os comandos abaixo no terminal. Eu estou usando uma versão 64 bits do Linux. Wget -P ${HOME}/Downloads http:/ nodejs.org/dist/v0.12.0/node-v0.12.0-linux-x64.tar.gz. Crie um link simbólico para o Node e o npm. Django Admin &...
johnidouglas.com.br
How to pass many arguments to a PHP function | Johni Douglas
http://www.johnidouglas.com.br/how-to-pass-many-arguments-to-a-php-function
February 24, 2015. How to pass many arguments to a PHP function. I will demonstrate how to use many arguments in function PHP. The first form to use. Function execute jobs () {. Echo Number of parameters . func num args() . PHP EOL;. Execute jobs('argument1');. Execute jobs('argument1', 'argument2', 'argument3');. Also it is possible to define other parameters together in the function. Function execute jobs ($text) {. Execute jobs('Hello', 'argument1');. Other form is to use Variadic Functions. Django Ad...
johnidouglas.com.br
Installing the Android SDK in Linux – Ionic Framework | Johni Douglas
http://www.johnidouglas.com.br/installing-the-android-sdk-in-linux-ionic-framework
February 27, 2015. Installing the Android SDK in Linux – Ionic Framework. I am development Mobile App with Ionic Framework. I will to teach the install Android SDK to build Android App. Download Android SDK Tools Only. Wget -P ${HOME}/Download http:/ dl.google.com/android/android-sdk r24.0.2-linux.tgz. Unzip the archive to a location of your choosing. Tar -zxvf ${HOME}/Download/android-sdk r24.0.2-linux.tgz -C ${HOME}/Download. Move files to location of installation. Echo export ANDROID HOME /.bashc.
johnidouglas.com.br
Tip to configuring error reporting in the PHP Development Environment (just errors) | Johni Douglas
http://www.johnidouglas.com.br/tip-to-configuring-error-reporting-in-the-php-development-environment-just-errors
March 12, 2015. Tip to configuring error reporting in the PHP Development Environment (just errors). Error reporting = E COMPILE ERROR E RECOVERABLE ERROR E ERROR. If you want define log file in directive. Error log = $HOME/Projetos/php. Note: You need reload PHP environment. I use this configuration just in development, not in production. Share on Google Plus. Some interesting programming languages that you should know. →. Access untranslated string of Django. On Fontes projeto Sistema Salão de Beleza.
johnidouglas.com.br
Seed project WebService for Java | Johni Douglas
http://www.johnidouglas.com.br/seed-project-webservice-for-java
March 12, 2015. Seed project WebService for Java. I am doing small webservices projects in Java and create a bootstrap seed to save time. I will describe steps to write your skeleton project with basic HTTP methods and XML e JSON consume/produces media types. Important: You need send in Header HTTP the value to parameters. The values granted is. We go to use Jersey – RESTful Web Services in Java. The complete source code and more instructions for use here. Configure dependencies in the Maven. Consumes({ ...
johnidouglas.com.br
JavaScript | Johni Douglas
http://www.johnidouglas.com.br/category/programacao/javascript
March 24, 2015. Instalando Node.Js e npm no Linux – Projeto Owl Links. Esse semana eu iniciei o desenvolvimento do. Do projeto Owl Links. Eu vou usar a. JavaScript para desenvolver o. Desse projeto, o. Foi escrito em Go. Instalando o Node.js e npm. Para instalar o Node e o npm execute os comandos abaixo no terminal. Eu estou usando uma versão 64 bits do Linux. Wget -P ${HOME}/Downloads http:/ nodejs.org/dist/v0.12.0/node-v0.12.0-linux-x64.tar.gz. Crie um link simbólico para o Node e o npm. On Fontes proj...
SOCIAL ENGAGEMENT