- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.specs2.mutable._ | |
| import org.specs2.runner._ | |
| import org.junit.runner._ | |
| import play.api.libs.ws._ | |
| import play.api.test._ | |
| import play.api.test.Helpers._ | |
| import scala.concurrent.{ExecutionContext, Await} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Jogador { | |
| String nome; | |
| Integer idade; | |
| Bola bola; | |
| public Jogador(String nome, Integer idade) { | |
| this.nome = nome; | |
| this.idade = idade; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package entities; | |
| public class SubClass extends SuperClass { | |
| private int attribute; | |
| public int getAttribute() { | |
| return attribute; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import ma.glasnost.orika.MapperFactory | |
| import ma.glasnost.orika.impl.DefaultMapperFactory | |
| import org.specs2.mutable._ | |
| class MapperTest() extends Specification { | |
| var mapperFactory: MapperFactory = new DefaultMapperFactory.Builder().build() | |
| "Dado um mappeador " | |
| step { | |
| mapperFactory.classMap(classOf[UmAtributo], classOf[UmAtributoPublic]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Entity implements Objectfy { | |
| private String nome; | |
| private String sobrenome; | |
| private Integer idade; | |
| private List<Integer> contatos; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public interface EntityRepository<K, E> { | |
| /* | |
| * Para uma base de dados multi-clientes | |
| */ | |
| public List<E> todos(Integer id); | |
| public E busca(K key); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Error: The action index is not defined in controller FiscalsController | |
| Error: Create FiscalsController::index() in file: src\Controller\\FiscalsController.php. | |
| Stack Trace | |
| ROOT\plugins\Crud\src\Controller\ControllerTrait.php line 35 → Cake\Controller\Controller->invokeAction() | |
| */ | |
| public function invokeAction() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $('#formid').on('submit', function(event) { | |
| event.preventDefault(); | |
| var $form = $(this); | |
| var url = $form.attr('action'); | |
| $.post( url, $form.serialize()) | |
| .done( function(data) { | |
| //trata caso tenha voltado um codigo 200 | |
| }) | |
| .fail( function( ajx, sc) { | |
| alert("problemas durante a requisição.\n" + sc); }); |
- lxml - Pythonic binding for the C libraries libxml2 and libxslt.
- boto - Python interface to Amazon Web Services
- Django - Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
- Fabric - Library and command-line tool for streamlining the use of SSH for application deployment or systems administration task.
- PyMongo - Tools for working with MongoDB, and is the recommended way to work with MongoDB from Python.
- Celery - Task queue to distribute work across threads or machines.
- pytz - pytz brings the Olson tz database into Python. This library allows accurate and cross platform timezone calculations using Python 2.4 or higher.