Skip to content

Instantly share code, notes, and snippets.

View felansu's full-sized avatar
🎯
Focusing

Ferran Gonzalez Alonso felansu

🎯
Focusing
  • CloQ
  • Barcelona, Catalonia
View GitHub Profile
@felansu
felansu / WEB.XML
Last active August 29, 2015 13:57
[JSF] Standard configuration file
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<!--
Determinamos el estado de nuestro projecto, de esta forma los errores son mostrados de forma
mas detallada.
@felansu
felansu / gist:fa0ac2287845fc24f268
Created August 9, 2015 22:33
[GIT] Creating a remote repository by terminal
curl -u 'YOUR_USER' https://api.github.com/user/repos -d '{"name":"YOUR_NEW_REPOSITORY"}'
@felansu
felansu / gist:4c9c49c9002c4e42beb2
Created August 9, 2015 22:36
[Angular] Templates for create controllers, factories and modules for Intellij Idea
Download the https://github.com/johnpapa/angular-styleguide/blob/master/assets/webstorm-angular-file-template.settings.jar?raw=true
Open WebStorm / Idea and go to the File menu
Choose the Import Settings menu option
Select the file and click OK
In a JavaScript file type these commands followed by a TAB:
ng-c // creates an Angular controller
ng-f // creates an Angular factory
ng-m // creates an Angular module
@felansu
felansu / gist:02187e7d82dfdf62268f
Last active August 29, 2015 14:27
[AngularJS] - Testes com Karma
OBJETIVO DOS ESTUDOS
Saber aplicar testes unitários em projetos AngularJS para agregar valor ao produto e principalmente garantir que as funcionalidades estejam sendo executadas corretamente.
INTRO
O Karma possui um arquivo de configuração chamado karma.conf.js. Este arquivo permite ao Karma conhecer seu projeto, definir a ordem em que os testes são executados.
Aqui são especificadas as opções de configurações disponíveis no karma: LINK
EXEMPLOS Test Controller
Suponhamos que temos um controller de nome zgProgressPanelCtrl com este método:

Anatel Móvel | manager_anatelmovel.sh

  • CDR_DatamartAnatelMovel_Exec_V1
    • Trabalha com a tabela F_ANATELMOVEL_ERB_10
    • Muito semelhante com CDR_DatamartAnatelMovel_Exec_VM_V1
  • CDR_DatamartAnatelMovel_Exec_VM_V1
    • Trabalha com a tabela F_ANATELMOVEL_VM
    • Muito semelhante com CDR_DatamartAnatelMovel_Exec_V1
  • CDR_DatamartAnatelMovel_ExecERBDEST_V1
    • Utilizada em CDR_DatamartAnatelMovelERBDEST_V2.java

Telas SysOn

  • Login
  • Dashboard
  • Cadastro de pessoas
    • Nome
    • Nº SUS
    • Telefone
    • Endereço
  • Cadastro de departamento
  1. Padrão de commits Modulo - Descrição geral do commit

    • Descrição específica 1
    • Descrição específica 2
  2. Padronização de dependencias e verificação de conflitos Verificar suporte da comunidade

  3. Mockup de dados (Sempre acessados via service)

Regressão linear simples, múltipla e logística.

Regressão linear simples

Problema de estimação de salário

Tempo experiência Salário

X Y
@felansu
felansu / chapter-1.md
Last active June 2, 2017 01:40
Java OCA SE 8
  • The full declaration of a method is called a method signature.

      Example: public static void main
    
  • If you do have a public class, it needs to match the filename.

  • To compile Java code, the file must have the extension .java.

  • Bytecode consists of instructions that the JVM knows how to execute.