Skip to content

Instantly share code, notes, and snippets.

View danilobatistaqueiroz's full-sized avatar

Danilo Batista de Queiroz danilobatistaqueiroz

View GitHub Profile
@danilobatistaqueiroz
danilobatistaqueiroz / slim_framework.md
Last active November 24, 2017 01:22
Starting with slim micro framework

Starting with slim micro framework

A very simple example of a Slim application

there are many ways to start a new project using composer.

one simple way to begin with Slim using Composer is typing in a new folder:

composer require slim/slim

@danilobatistaqueiroz
danilobatistaqueiroz / xrdp_fedora_windows_remote.md
Last active November 27, 2017 01:05
accessing a fedora workstation from windows 7 with remote desktop

Accessing a Fedora Workstation using Xrdp from Windows 7 with Remote Desktop

I'm using a crossover cable between two computers.

You need to configure the ethernet for both computers.

remote_desktop0

remote_desktop1

@danilobatistaqueiroz
danilobatistaqueiroz / working_with_protractor.md
Last active November 29, 2017 14:22
working with protractor

Working With Protractor

installing protractor globally

npm install -g protractor

protractor --version

npm install webdriver-manager -g

@danilobatistaqueiroz
danilobatistaqueiroz / starting_with_mockery.md
Last active November 29, 2017 14:24
Starting with mockery

Configuring Mockery

create the file: composer.json

{
    "require-dev": {
 	"mockery/mockery": "dev-master",
	"phpunit/phpunit": "6.4"
    }
@danilobatistaqueiroz
danilobatistaqueiroz / angularjs_html5mode_without_deeplink.md
Created December 1, 2017 17:40
Angularjs Html5mode Without Deeplink
@danilobatistaqueiroz
danilobatistaqueiroz / first_spring_boot_controller.md
Last active December 10, 2017 23:58
First Spring Boot Controller

First Spring Boot Controller

configuring download_cli

starting_first starting_first2 starting_first_cmd home_page

@danilobatistaqueiroz
danilobatistaqueiroz / Quick_Start_Spring_Boot_Cli.md
Last active December 11, 2017 00:30
Quick Start Spring Boot Cli

Quick Start Spring Boot Cli

quick_start_cli

code_quick

setpath

starting_quick

TDD WITH PHP

Start with an error test

Try to start simple, making test about methods without implementation

Increase the implementation step by step (baby steps)

Always make an error test to avoid false positives

@danilobatistaqueiroz
danilobatistaqueiroz / weblogic12__ejb_tutorial.md
Last active February 3, 2018 20:43
weblogic 12 ejb tutorial

To Deploy an Ejb to a WebLogic 12c Application Server and invoke it from a stand alone java client:

you need the following jars in the standalone application:
wlfullclient.jar
javax.ejb-api-3.2.jar
weblogic.jar

Place the jars in ${project.home}/lib folder


@danilobatistaqueiroz
danilobatistaqueiroz / creating_a_jasper_report.md
Last active February 6, 2018 01:16
creating a jasper report